[MPlayer-users] Default buffer/cache sizes?

Rich Felker dalias at aerifal.cx
Tue Jun 21 23:35:12 CEST 2005


On Tue, Jun 21, 2005 at 04:18:48PM -0500, Eddie Pettis wrote:
> I'm currently doing research using data buffers to facilitate dynamic 
> power management for mobile computers.  I'm using MPlayer for a lot of 
> my studies and have a couple of questions.
> 
> 1.  What is the default video buffer size for playing a video from a 
> local storage device?  It looks like MPlayer is grabbing data one frame 
> at a time, putting it into a buffer, decoding it, and displaying it, but 
> I could use some verification.

This is dependent upon the demuxer and the interleaving of the file
being playes, but in general MPlayer (without -cache) will not read
any more data than it needs to for decoding.

> 2.  What is the default video cache size for streaming video over the 
> internet?  Is it dependent on data type?

Don't know, check the source.. It's more than 64k but less than 1meg,
iirc.

Rich




More information about the MPlayer-users mailing list