Black screen for some reason.

About encoding, codec settings, muxers and filter usage
PhilZockt
New Cone
New Cone
Posts: 1
Joined: 07 Jul 2021 18:44

Black screen for some reason.

Postby PhilZockt » 07 Jul 2021 18:48

So when I create a stream with those arguments ":sout=#transcode{vcodec=h264,vb=12000,scale=Automatisch,acodec=mp4a,ab=128,channels=2,samplerate=44100,scodec=none}:http{mux=mkv,dst=127.0.0.1:8080}" I get

Code: Select all

[00000289cf9c9480] http access out: Consider passing --http-host=IP on the command line instead. [00000289cfacca40] x264 encoder: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 [00000289cfacca40] x264 encoder: profile High, level 4.0 [00000289cfacca40] x264 encoder: final ratefactor: 10.39 [00000289cf997340] stream_out_transcode stream out error: cannot find spu encoder ((null)) [00000289cf997340] stream_out_transcode stream out error: cannot create subtitle chain [00000289cfa9a460] main decoder error: cannot create packetizer output (subt) [00000289cfa9ab80] avcodec generic: Using D3D11VA (NVIDIA GeForce GTX 980 Ti, vendor 10de(NVIDIA), device 17c8, revision a1) for hardware decoding [00000289cfa75710] main mux error: cannot add a new stream (unsupported while muxing to this format). You can try increasing sout-mux-caching value [00000289cfa9bd50] main decoder error: cannot continue streaming due to errors with codec a52 [00000289cfacca40] x264 encoder: using SAR=1/1 [00000289cfacca40] x264 encoder: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 [00000289cfacca40] x264 encoder: profile High, level 4.0 [00000289cfa75710] main mux error: cannot add a new stream (unsupported while muxing to this format). You can try increasing sout-mux-caching value [00000289cf997340] stream_out_transcode stream out error: cannot add this stream [00000289cfad4ed0] main decoder error: cannot continue streaming due to errors with codec h264 [00000289cf997340] stream_out_transcode stream out error: cannot find spu encoder ((null)) [00000289cf997340] stream_out_transcode stream out error: cannot create subtitle chain [00000289cfa9b630] main decoder error: cannot create packetizer output (subt)
Im really not sure what causes this I just get a black screen and can only hear sound. The only way I can get a pricture is to remove the vcodec argument or change mux to ts. I really hope someone can help me.

unidan
Developer
Developer
Posts: 1493
Joined: 25 Mar 2018 01:00

Re: Black screen for some reason.

Postby unidan » 28 Apr 2022 22:12

Hi, sorry for the late answer from the future. Instead of scodec=none, you might want --no-sout-spu as a global option. Which input file are you trying to convert?

As a general rule, media which supports dynamic track addition (like .ts) are not really well handled by VLC when transcoding, and you need to tweak --sout-mux-caching by hand.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 9 guests