Page 1 of 1

How do you coop with a stream interruption ?

Posted: 12 Dec 2006 23:37
by ansher
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.

Posted: 19 Dec 2006 18:51
by puntloos
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>.

Posted: 30 Dec 2006 03:01
by ansher
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.