[MPlayer-users] tv grabbing

Mick email_mick_groups at bigpond.com
Fri Jun 18 02:39:36 CEST 2004


On Fri, 2004-06-18 at 07:07, Ville Saari wrote:
> On Thu, Jun 17, 2004 at 03:40:01PM +0800, Mick wrote:
> 
> > > Is there something you thought you'd get from using a FIFO?
> > > 
> > Ignoring the fact my HD will probably not keep up, i thought the CPU
> > would have more 'time' to encode without dropping frames..
> 
> You appear to have misunderstood how fifo works. The speed of the
> hard disk is totally irrelevant, because the data is copied directly
> between the writing and reading processes. Fifo also doesn't buffer any
> significant amount of data, so it won't help in smoothing the cpu load.

Yes, that appears true, I thought fifo was this: packets written to a
fifo were removed when they were read.. So if mencoder wrote to a fifo,
it fill and fill and fill, and as the fifo was read by another process
it would empty..  So, if your writing faster than reading, i thought
their would be some sginificant buffering..

So if i'm wrong pleae correct me.. I thought I'd seen fifo being used
this way by the "myvcd" script which can be found on forums.gentoo.org..




More information about the MPlayer-users mailing list