Keeping transcoded streams alive?

About encoding, codec settings, muxers and filter usage
XPilot
New Cone
New Cone
Posts: 1
Joined: 25 Sep 2009 22:27

Keeping transcoded streams alive?

Postby XPilot » 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?

nereikianieko
Blank Cone
Blank Cone
Posts: 27
Joined: 24 May 2008 17:51

Re: Keeping transcoded streams alive?

Postby nereikianieko » 01 Oct 2009 18:08

This interesting for me too.

cable007
Blank Cone
Blank Cone
Posts: 24
Joined: 25 Mar 2008 09:43

Re: Keeping transcoded streams alive?

Postby cable007 » 04 Oct 2009 09:19

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

isync
Blank Cone
Blank Cone
Posts: 23
Joined: 18 Oct 2009 14:22

Re: Keeping transcoded streams alive?

Postby isync » 18 Oct 2009 15:12

@cable007: could you please post example command? Your working command?

Time-off
New Cone
New Cone
Posts: 5
Joined: 18 Jan 2010 15:38

Re: Keeping transcoded streams alive?

Postby Time-off » 12 Feb 2010 15:34

--loop

John Ford
New Cone
New Cone
Posts: 5
Joined: 12 Feb 2010 21:22
Operating System: Ubuntu
Contact:

Re: Keeping transcoded streams alive?

Postby John Ford » 12 Feb 2010 22:55

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.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 11 guests