[MPlayer-dev-eng] [PATCH] adding yuv4mpeg output
Arpi
arpi at thot.banki.hu
Sat Feb 9 02:17:48 CET 2002
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...
A'rpi / Astral & ESP-team
--
"I don't RTFM? Wow. What's the meaning of this? It's new for me."
-- Martin Baum, a tipical MPlayer user...
More information about the MPlayer-dev-eng
mailing list