[vlc] Re: Exact meaning and cause of error messages

Måns Rullgård mru at users.sourceforge.net
Fri Aug 8 18:36:13 CEST 2003


Gildas Bazin <gbazin at netcourrier.com> writes:

>> I'm writing a program for streaming MPEG-TS data over UDP.  It's
>> mostly working, but VLC doesn't always like my streams.  It plays fine
>> for a while, but at some places (always the same point in the stream),
>> it prints a load of error messages, drops a couple of seconds of the
>> stream, and goes on playing.  I'd like to know what is wrong with my
>> stream that triggers these errors.  If I increase the UDP cache size
>> to 3000 ms (from the default 300) the errors go away.
>> 
>
> IMHO this can mean 2 things. Either you don't send the udp packets at the 
> right time so VLC's input fifo underruns. Or the PCRs in your stream are 
> not correct, leading VLC to not schedule the input reading at the right 
> time which in turn will make the input fifo underrun.

I solved it.  It some issue with the timing, but it went away when I
gave the code an overhaul.

-- 
Måns Rullgård
mru at users.sf.net
-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc mailing list