How do you coop with a stream interruption ?

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
ansher
New Cone
New Cone
Posts: 2
Joined: 12 Dec 2006 23:22

How do you coop with a stream interruption ?

Postby ansher » 12 Dec 2006 23:37

I am building a reliable stream server . My setup is:
VLC gets MMS (WMV9) stream, converts it to MPEG4 and re-streams via http . It must me non interrupted http stream. However it is not the case, anytime when my parent mms stream interrupts - outbound http stream interrupts as well even with '--loop' command .

There is noothing we can do to prevent incoming streams from interruption but there is something we can do to fill the moments when it interrupted (for example play local video file) . How do I do that ? Is there any function in VLC supporting this feature ? If no, can this be built-in ? And one more thing: in the http stream properties there is option "keep stream open" . It does not really work. It closes down. Anything wrong ?

Thanks,

Andriy.

puntloos
Blank Cone
Blank Cone
Posts: 11
Joined: 03 Jul 2006 23:03

Postby puntloos » 19 Dec 2006 18:51

Nope, there is no such functionality, you will have to build it yourself.

Also 'keep stream open' will probably not work, VLC currently has no features that detect that it is actually 'doing nothing'. (check viewtopic.php?t=23896 for a related problem)

You would need to build an core addon that indeed somehow determines the input stream breaks, and then <do some action>.
Give a man a fire and he'll be warm for a day. Set a man on fire and he'll be warm for the rest of his life.

ansher
New Cone
New Cone
Posts: 2
Joined: 12 Dec 2006 23:22

Postby ansher » 30 Dec 2006 03:01

Nope, there is no such functionality, you will have to build it yourself.

Also 'keep stream open' will probably not work, VLC currently has no features that detect that it is actually 'doing nothing'. (check viewtopic.php?t=23896 for a related problem)

You would need to build an core addon that indeed somehow determines the input stream breaks, and then <do some action>.
Thanks puntloos, I will look into source of 0.8.6 and see what we can do. Have you ever done any research where to program this 'feature' ? VLC source contains more that 100 files.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 11 guests