[MPlayer-dev-eng] Delayed Packets
D Richard Felker III
dalias at aerifal.cx
Thu May 8 04:21:52 CEST 2003
On Wed, May 07, 2003 at 05:16:29PM -0700, Rohit Kapoor wrote:
> Thanks for the reply.
> > There is a cache - it will fill up a buffer to a preset level and than
> > playing, with the hope that there will always be packets to play in that
> > cache buffer. You can set the size of the cache with -cache 193284519873
> > and it will start playing when it is filled up to 20% (iirc).
> This is like a playout buffer, right? So, supposing that a number of packets
No, it's an input buffer.
> get delayed so that the buffer gets empty, and still packets keep getting
> delayed, what happens to these delayed packets? Do they get dropped if they
> dont reach in time for them to be played by the MPlayer?
MPlayer has no concept whatsoever of packets arriving 'in time'. If
they're late and out-of-order, they'll be dropped, but otherwise if
no packets come in for a while and the buffer drains to empty, mplayer
will just go silent until more packets arrive, and then start playing
them. The situation is exactly the same as reading from a cdrom drive
when the cd has to spin up the the playback pauses for a second,
except that you can also lose data.
More information about the MPlayer-dev-eng