[MPlayer-users] Possible to stream/pipe -vo pgmyuv?

Ivo ivop at euronet.nl
Wed Jan 19 13:08:49 CET 2005


On Wednesday 19 January 2005 10:30, RC wrote:
> On Mon, 17 Jan 2005 13:26:42 -0800 (PST)
>
> "Steven M. Schultz" <sms at 2BSD.COM> wrote:
> > 	Is there a way that I have overlooked to have the output of
> > 	'-vo pnm:pgmyuv' (or for that matter -vo pnm:<any>) written as a
> > 	stream rather than individual files?
>
> It's obviously not available as an option.  However, it looks trivial to
> modify vo_pnm.c to do so.
>
> Perhaps just remove/comment-out "framenum++;" on line 532 and
> "fclose(outfile)" on line 550, to output a stream to 00000000.ppm.

Although I could add a suboption for that (say, 'stream'), why not use 
yuv4mpeg for streaming to a fifo? You might want to look at mplmult.sh in 
the TOOLS directory for an example of its usage.

--Ivo




More information about the MPlayer-users mailing list