[MPlayer-dev-eng] [PATCH] adding yuv4mpeg output

Michael Niedermayer michaelni at gmx.at
Sat Feb 9 02:41:50 CET 2002


Hi

On Saturday 09 February 2002 02:17, Arpi wrote:
> Hi,
>
> > Converting videos to VCD using mjpegtools requires getting the video into
> > yuv4mpeg format.  This adds support for that format via a new "-vo
> > yuv4mpeg" command option.  The output is written to "stream.yuv".  This
> > makes it easy to have mplayer pump frames into an encoder by making a
> > fifo on stream.yuv, having mplayer pump frames into it, and having
> > mpeg2enc pull frames back out of it for encoding.  (Use the "-benchmark"
> > option to mplayer for maximum speed if your CPU is quick at encoding.)
> >
> > Add the vo_yuv4mpeg.c file to mplayer's libvo directory, apply the patch,
> > and rebuild.  (Patch is against current mplayer CVS as of 1/31/02).
>
> patch applied.
> btw, you should use the mmx optimized rgb->yv12 converter from postproc/
> instead of rewritting it in slow C...
hmm...
afaik there is no mmx optimized rgb->yv12 converter there yet :(

[...]

Michael



More information about the MPlayer-dev-eng mailing list