[MPlayer-users] mencoder x264 encoding error

Matthew M. Austin maustin at otsys.com
Fri Jun 8 20:05:25 CEST 2007


Matthew M. Austin wrote:
> Saurabh Singhvi wrote:
>> On 6/8/07, Joey Parrish <joey.parrish at gmail.com> wrote:
>>> On 6/7/07, Matthew M. Austin <maustin at otsys.com> 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?
>>> Dunno.  I don't have the video.  Send somebody a sample and we'll try it.
>>>
>>> --Joey
>>> _______________________________________________
>>> MPlayer-users mailing list
>>> MPlayer-users at mplayerhq.hu
>>> http://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>>>
>> does the encoding work with xvid ? from the initial log, it doesn't seem
>> like the video has missing width.
> 
> Right - the following line produces divx encoded video without any errors.
> 
> mencoder zip.avi -o zip2.avi -ovc lavc -oac copy
> 
> Unfortunately the author of the video doesn't want me circulating it. 
> Is there some other standardized video source I can try?

I'm getting the same type of error from leadcodecs sample video.  This 
is using todays recompiled svn version (23519) also.

http://www.leadcodecs.com/Download/mpeg/WhatBox_MPEG2_720x480_q5.mpg

[maustin at zaftra ~]$ mencoder WhatBox_MPEG2_720x480_q5.mpg -ovc x264 -oac 
mp3lame -o test.mpg
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


WARNING: OUTPUT FILE FORMAT IS _AVI_. See -of help.
success: format: 0  data: 0x0 - 0xd631e6
MPEG-PS file format detected.
VIDEO:  MPEG2  720x480  (aspect 2)  29.970 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x480  fps:29.97  ftime:=0.0334
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
MP3 audio selected.
VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
[swscaler @ 0x8752df8]SwScaler: using unscaled yuv420p -> yuv420p 
special converter
x264 [error]: invalid width x height (0x720)
x264_encoder_open failed.
FATAL: Cannot initialize video driver.

Exiting...

> 
>> _______________________________________________
>> MPlayer-users mailing list
>> MPlayer-users at mplayerhq.hu
>> http://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>>
>>
> 
> _______________________________________________
> 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