[MPlayer-users] Produce 422 format pixels with mencoder for mpeg4-encoding
James Board
jpboard2 at yahoo.com
Sun Dec 8 23:45:13 CET 2013
I'm trying to mpeg4-encode a file with mencoder using 2-pass encoding. The
input file is AVI container, and has yuv422p format. I want the output pixels
to also be yuv422p. If I don't specify the output pixel formats, then mencoder generates
yuv420p pixels. If I specify with 422P pixels then I get an error (see full
command and output below). Can I mpeg4-encode files with mencoder and produce
files with some kind of 422 pixels? What should I set 'format' to?
> mencoder IN.avi -vf eq=5:0 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=10000000:threads=1:keyint=15:format=422P:vpass=1
-passlogfile LOGFILE -oac copy -o /dev/null
MEncoder SVN-r36459-4.4.7 (C) 2000-2013 MPlayer Team
success: format: 0 data: 0x0 - 0xdc49b02
libavformat version 55.18.104 (internal)
AVI file format detected.
[aviheader] Video stream found, -vid 0
AVI: No audio stream found -> no sound.
VIDEO: [FFVH] 1920x1080 16bpp 29.970 fps 453932.7 kbps (55411.7 kbyte/s)
[V] filefmt:3 fourcc:0x48564646 size:1920x1080 fps:29.970 ftime:=0.0334
libavcodec version 55.33.101 (internal)
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [eq brightness=5 contrast=0]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffhuffyuv] vfm: ffmpeg (FFmpeg HuffYUV)
==========================================================================
Movie-Aspect is undefined - no prescaling applied.
videocodec: libavcodec (1920x1080 fourcc=34504d46 [FMP4])
[mpeg4 @ 0x7fb4127a87e0]Specified pixel format yuv422p is invalid or not supported
Could not open codec.
FATAL: Cannot initialize video driver.
Movie-Aspect is undefined - no prescaling applied.
videocodec: libavcodec (1920x1080 fourcc=34504d46 [FMP4])
[mpeg4 @ 0x7fb4127a87e0]Specified pixel format yuv422p is invalid or not supported
Could not open codec.
FATAL: Cannot initialize video driver.
Exiting...
More information about the MPlayer-users
mailing list