[MPlayer-users] mencoder x264 encoding error

Matthew M. Austin maustin at otsys.com
Mon Jun 11 06:47:52 CEST 2007


Krzysztof Duchnowski wrote:
> Matthew M. Austin pisze:
> 
>> [maustin at zaftra ~]$ mencoder zip.avi -o zip2.avi -ovc x264 -oac copy

. . .

>> 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
> 
alright I had my syntax wrong I was trying something like:

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

to no avail.  On to new error.

[maustin at zaftra ~]$ mencoder zip.avi -o zip2.avi -ovc x264 -x264encopts 
qp_const 
                                  ant=26:pass=1 -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, Step 
                                  ping: 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

Option x264encopts: Unknown suboption qp_constant
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.
FATAL: Cannot initialize video driver.

Exiting...






More information about the MPlayer-users mailing list