Page 1 of 1

Problems with Looping|play/stop

Posted: 03 Jan 2012 00:09
by eNergizer
I can start the stream okay with:
vlc "Intermission.mkv" --sout "#transcode{vcodec=h264,scale=1.0,soverlay}:std{access=http{mime=video/x-flv},mux=ffmpeg{mux=flv},dst=:8080/stream.flv}" --sout-keep --loop --sub-track-id=0 --freetype-font=/usr/share/fonts/truetype/freefont/arial.ttf --sout-mux-caching=1000

but if the video ends, it doesn't loop. As well when I try stopping it and playing it, I get the same errors.

stop
> play
> x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
x264 [info]: profile High, level 3.0
[0xecf2af0] main mux error: cannot add a new stream (unsupported while muxing to this format). You can try increasing sout-mux-caching value
[0x138acac0] main decoder error: cannot create packetizer output (mpga)
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
x264 [info]: profile High, level 3.0
[0xecf2af0] main mux error: cannot add a new stream (unsupported while muxing to this format). You can try increasing sout-mux-caching value
[0xed1e140] stream_out_transcode stream out error: cannot add this stream

I tried changing --sout-mux-caching to 500, 5000, 50000 and 500000.
Why is this error occuring?

Re: Problems with Looping|play/stop

Posted: 03 Jan 2012 17:23
by RĂ©mi Denis-Courmont
Prepend "gather:" in front of transcode.

Re: Problems with Looping|play/stop

Posted: 04 Jan 2012 01:28
by eNergizer
Prepend "gather:" in front of transcode.
Thanks but I get main input error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 300 ms) now. How can I avoid this?

Re: Problems with Looping|play/stop

Posted: 04 Jan 2012 02:06
by eNergizer
Nevermind.