[MEncoder-users] x264 encoder broken?

Fredrik Eriksson feffese at yahoo.se
Thu Sep 21 22:31:47 CEST 2006


On 21-09-2006, at 15:46, Guillaume POIRIER wrote:

> Hi,

Hello.

>
> On 9/20/06, Xi Chen <xichen71 at 163.com> wrote:
>> Fredrik Eriksson wrote:
>> > Hello.
>> >
>> > For the last few days I havn't been able to encode to x264. Even  
>> the
>> > simpliest command fails:
>> >
>> > $ mencoder-cvs -of rawvideo -v dvd://1 -ovc x264 -oac copy -o / 
>> dev/null
>> > MEncoder dev-SVN-r19918-4.1.1 (C) 2000-2006 MPlayer Team
>> > CPU: AMD Athlon(tm) 64 Processor 3500+ (Family: 15, Model: 31,
>> > Stepping: 0)
>> > CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
>> > Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE  
>> SSE2
>> >
>> Snip.
>> >  
>> ===================================================================== 
>> =====
>> >
>> > Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
>> > [libaf] Adding filter dummy
>> > [dummy] Was reinitialized: 48000Hz/2ch/s16le
>> > [dummy] Was reinitialized: 48000Hz/2ch/s16le
>> > audiocodec: framecopy (format=2000 chans=2 rate=48000 bits=16
>> > B/s=48000 sample-1)
>> > VDec: vo config request - 720 x 480 (preferred colorspace:  
>> Planar YV12)
>> > Trying filter chain: expand x264
>> > Could not find matching colorspace - retrying with -vf scale...
>> > Opening video filter: [scale]
>> > SwScale params: -1 x -1 (-1=no scaling)
>> > Trying filter chain: scale expand x264
>> > VDec: using Planar YV12 as output csp (no 0)
>> > Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
>> > VO Config (720x480->720x540,flags=0,'MPlayer',0x32315659)
>> > Unsupported format Planar I420
>> > swScaler: Unknown format is not supported as output format
>> > Couldn't init SwScaler for this setup
>> > FATAL: Cannot initialize video driver.
>> >
>> > Exiting...
>> >
>> > I have revision 564 of x264. Known problem, or just my problem?
>> >
>> > Fredrik Eriksson
>> >
>> >
>> Same here. The recent CVS broke x264 encoding. I reverted it to an  
>> older
>> version and it was fixed.
>
> Could one of you identify what caused the breakage?
> If you follow these directions, you should find the offending commit
> quite quickly:
> http://www.mplayerhq.hu/DOCS/HTML/en/bugreports_regression_test.html
>
> Guillaume

r19875 is the last working version, the next revision that I'm able  
to compile is r19878, and it's broken.

Author: lucabe
Date: Sun Sep 17 17:02:13 2006
New Revision: 19876

Modified:
    trunk/libmpcodecs/vf_sab.c
    trunk/libmpcodecs/vf_scale.c
    trunk/libmpcodecs/vf_smartblur.c
    trunk/spudec.c

Log:
Use PIX_FMT_* instead of IMGFMT_* when calling sws_getContext()


Hope that helps.

Fredrik Eriksson



More information about the MEncoder-users mailing list