[MPlayer-users] Generate image file output with mencoder

Mike Castle dalgoda+mplayer at gmail.com
Tue Sep 3 06:09:25 CEST 2013


I think this may be a case of premature optimization.

The size of individual frames (even if they are compressed as say jpeg
or something) is going to dwarf the size of the intermediate file.

So I think you would be better off just writing the intermediate file
then using a tool like mplayer to write out the individual frames.

Depending on your system you could try using like filenames that
represent stdin/stdout.  If on a unix-like system, shells like bash
provide things like /dev/stdout.  Linux has something like
/proc/self/fd/1.  Of course, you need to be careful to turn off ALL
output to stdout in mencoder.  And depending on the libraries in use,
that may not be possible (no controls tied in).

mrc


More information about the MPlayer-users mailing list