[MPlayer-users] mencoder x264 encoding error

Krzysztof Duchnowski amidk75 at gmail.com
Sat Jun 9 10:50:52 CEST 2007


Matthew M. Austin pisze:

> [maustin at zaftra ~]$ mencoder zip.avi -o zip2.avi -ovc x264 -oac copy
> MEncoder dev-SVN-r23519-4.1.1 (C) 2000-2007 MPlayer Team
> CPU: Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz (Family: 6, Model: 
> 15, Stepping: 6)
> CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
> Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

> success: format: 0  data: 0x0 - 0x10c71e8
> AVI file format detected.
> [aviheader] Video stream found, -vid 0
> [aviheader] Audio stream found, -aid 1
> VIDEO:  [M4S2]  640x480  24bpp  29.970 fps  3775.4 kbps (460.9 kbyte/s)
> [V] filefmt:3  fourcc:0x3253344D  size:640x480  fps:29.97  ftime:=0.0334
> Opening video filter: [expand osd=1]
> Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
> ==========================================================================
> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
> ==========================================================================
> audiocodec: framecopy (format=11 chans=1 rate=44100 bits=4 B/s=22125 
> sample-1024)
> VDec: vo config request - 640 x 480 (preferred colorspace: Planar YV12)
> VDec: using Planar I420 as output csp (no 1)
> Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
> x264 [error]: no ratecontrol method specified
> x264_encoder_open failed.
> FATAL: Cannot initialize video driver.

> Exiting...

> How do I specify the ratecontrol method?


man mencoder, x264enc section:
-x264encopts
bitrate - no defaults
qp_constant - 26 def
pass - no defaults

mencoder zip.avi -o zip2.avi -ovc x264 -x264encopts 
qp_constant=26:pass=1 -oac copy

-- 
Krzysztof 'DK75' Duchnowski
GetFirefox - http://www.mozilla.com/firefox/
Konfiguracja UTF-8 dla czytników - http://evil.pl/pip/utf/



More information about the MPlayer-users mailing list