Keeping transcoded streams alive?
Posted: 25 Sep 2009 22:35
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?
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?