[PATCH] resolves compiling x264 > rev.65 and ffmpeg

alexander richter <[email protected]> Sun, 07 Dec 2008 17:03:17 +0100
Newsgroups gmane.comp.video.transcode.devel
Message-ID <[email protected]>
hey at all, my first Post on this List,

I announce here a quick and dirty Solution to compile transcode 1.1.0 
rc3 on Systems with x264 core 65

./configure --prefix=/usr --host=x86_64-pc-linux-gnu 
--mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share 
--sysconfdir=/etc --localstatedir=/var/lib --with-default-xvid=xvid4 
--enable-mmx --enable-3dnow --enable-sse --enable-sse2 --disable-altivec 
--enable-v4l --enable-alsa --enable-oss --enable-freetype2 --enable-lame 
--enable-x264 --enable-xvid --enable-ogg --enable-vorbis --enable-theora 
--enable-libdvdread --enable-libdv --enable-libquicktime 
--enable-imagemagick --enable-libpostproc --enable-lzo --enable-a52 
--enable-faac --enable-libxml2 --enable-mjpegtools --enable-sdl 
--enable-libjpeg --enable-iconv --with-x --enable-experimental 
--with-mod-path=/usr/lib64/transcode --libdir=/usr/lib64 
--build=x86_64-pc-linux-gnu

ffmpeg :
libavcodec  build              3407872
libavcodec  version            52.0.0
libavformat build              3413505
libavformat version            52.22.1

x264 :
checking x264 version... 65

compile error : x264 : core 65 :

encode_x264.c:215: Fehler: »struct <anonymous>« hat kein Element namens 
»b_bidir_me«
encode_x264.c:215: Fehler: »struct <anonymous>« hat kein Element namens 
»b_bidir_me«
encode_x264.c:219: Fehler: »struct <anonymous>« hat kein Element namens 
»b_bframe_rdo«
encode_x264.c:219: Fehler: »struct <anonymous>« hat kein Element namens 
»b_bframe_rdo«
make[2]: *** [encode_x264_la-encode_x264.lo] Fehler 1
make[2]: *** Warte auf noch nicht beendete Prozesse...

Solution :
rip out Parameters »b_bidir_me« »b_bframe_rdo«

to prevent follow errors :

[encode_x264.so] warning: ./x264.cfg:173: Unknown configuration variable 
`bidir_me'
[encode_x264.so] warning: ./x264.cfg:182: Unknown configuration variable 
`brdo'
[encode_x264.so] warning: ./x264.cfg:260: Unknown configuration variable 
`rc_eq'

I comment out this Settings in x264.cfg ( on my local Installation )

I know, thats only the half Way on x264 Implemantion, but i didnt found 
a Documantation about x264's API changes from Core 60 up to 65, and any 
new Futures there.

Hope this helps for further Dev.

Greetings Alex

patch :

http://pastebin.com/f33d7fca2