[MPlayer-users] mencoder x264 encoding error

Matthew M. Austin maustin at otsys.com
Fri Jun 8 23:20:26 CEST 2007


Loren Merritt wrote:
> On Thu, 7 Jun 2007, Matthew M. Austin wrote:
> 
>> Joey Parrish wrote:
>>> On 6/7/07, Matthew M. Austin <maustin at otsys.com> wrote:
>>>> x264 [error]: invalid width x height (0x640)
>>> Figure out why it's a 0-wide source.
>> its a 640x480 video . . . you think the video is bad?
> 
> Usually that means your x264.h doesn't match your libx264.a,
> since I make no attempt to keep ABI compatibility between versions.
> I suppose I could implement some preprocessor trick to check for that.

ok - I had old livna rpm of x264 even though I had downloaded and 
compiled the x264 from svn and installed.  It failed to overwrite.  I 
removed the package and recompiled both x264 and mplayer.

I know get:

[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?


> 
> --Loren Merritt
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
> 
> 




More information about the MPlayer-users mailing list