Page 1 of 1

Keeping transcoded streams alive?

Posted: 25 Sep 2009 22:35
by XPilot
Hey guys,

I've been using VLC to transcode a few MMS streams into H264 format and rebroadcast them over RTP. This is done correctly and I didn't encounter any errors so far. Problem is when the MMS signal is lost. And here is where my problem starts:

Whenever something happens on a mms stream, for example the end of a video playing in Windows Media Services Encoder app, VLC tends to end the process as well, saying in the console: Nothing to play.

I am wondering if there is a way, to set VLC to listen in for new content while still having the transcoder loaded? Here is the command I use:

vlc -vvv -I rc mms://XX.XX.XX.XX/channel_name --sout "#transcode{venc=x264{keyint=30},vcodec=x264,vb=650,scale=1,acodec=mp4a,ab=96,channels=2,samplerate=44100}:rtp{dst=display,dst=***.**.**.**,sdp=file://C:\new_encoded_channel.sdp}"

Ips are no matter. I just want VLC to keep the encoding even if there is no source stream. Anyone having any ideeas?

Re: Keeping transcoded streams alive?

Posted: 01 Oct 2009 18:08
by nereikianieko
This interesting for me too.

Re: Keeping transcoded streams alive?

Posted: 04 Oct 2009 09:19
by cable007
hi

you have to use mosaic and put an image in second stream
result : when you video stream stop for any reason, client will get your image
if video restarts, client will get video because image is behind

works like a charm

problem : since vlc 0.9, it doesn't work well

NIko

Re: Keeping transcoded streams alive?

Posted: 18 Oct 2009 15:12
by isync
@cable007: could you please post example command? Your working command?

Re: Keeping transcoded streams alive?

Posted: 12 Feb 2010 15:34
by Time-off
--loop

Re: Keeping transcoded streams alive?

Posted: 12 Feb 2010 22:55
by John Ford
I had a similar problem when streaming audio. In using mp3 files the stream would stop at the end of each song. When I switched to the ogg format it just kept on playing.