[vlc-devel] x264 errors?

PardoX PardoX pardox2006 at hotmail.com
Wed Nov 1 01:29:33 CET 2006


Im having trouble compiling vlc 0.8.5 with x264 version 0.54.596 under my 
linux system. And i think x264newapi (below) patch is no longer working.So i 
need for this new version x264 a new patch or patches? Are there any?

this is the file i have downloaded.( please dont recommend me to use svn 
files :-( )

--- modules/codec/x264.c        2006-05-06 18:52:19.000000000 +0300
+++ x264-new.c 2006-09-17 00:45:52.000000000 +0300
(at)  (at)  -545,9 +545,13  (at)  (at)
    /* average bitrate specified by transcode vb */
    p_sys->param.rc.i_bitrate = p_enc->fmt_out.i_bitrate / 1000;

+#if X264_BUILD < 48
    /* cbr = 1 overrides qp or crf and sets an average bitrate
       but maxrate = average bitrate is needed for "real" CBR */
    if( p_sys->param.rc.i_bitrate > 0 ) p_sys->param.rc.b_cbr = 1;

+ if( p_sys->param.rc.i_bitrate > 0 ) p_sys->param.rc.i_rc_method = 


    var_Get( p_enc, SOUT_CFG_PREFIX "qpstep", &val );

if( val.i_int >= 0 && val.i_int <= 51 ) p_sys->param.rc.i_qp_step = 


this the error message:

i686-pc-linux-gnu-gcc -Wsign-compare -Wall -mtune=i686 -O2 -pipe 
-fomit-frame-pointer -pipe -o libfaad_plugin.so -g -shared -fpic -fPIC -u 
vlc_entry__0_8_5 libfaad_plugin.a -L/usr/lib -lpthread /usr/lib/libfaad.so 
-lm if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DSYS_LINUX 
-I../../include `top_builddir="../.." ../../vlc-config --cflags plugin 
dvbsub` -Wsign-compare -Wall -mtune=i686 -O2 -pipe -fomit-frame-pointer 
-pipe -MT libdvbsub_plugin_a-dvbsub.o -MD -MP -MF 
".deps/libdvbsub_plugin_a-dvbsub.Tpo" -c -o libdvbsub_plugin_a-dvbsub.o 
`test -f 'dvbsub.c' || echo './'`dvbsub.c; \ then mv -f 
".deps/libdvbsub_plugin_a-dvbsub.Tpo" ".deps/libdvbsub_plugin_a-dvbsub.Po"; 
else rm -f ".deps/libdvbsub_plugin_a-dvbsub.Tpo"; exit 1; fi

rm -f libdvbsub_plugin.a
i686-pc-linux-gnu-ar cru libdvbsub_plugin.a libdvbsub_plugin_a-dvbsub.o
i686-pc-linux-gnu-ranlib libdvbsub_plugin.a

/bin/sh ../../libtool --mode=link i686-pc-linux-gnu-gcc -Wsign-compare -Wall 
-mtune=i686 -O2 -pipe -fomit-frame-pointer -pipe -o libdvbsub_plugin.so 
libdvbsub_plugin.a -L/usr/lib -g -shared -lpthread -fpic -fPIC -u 
vlc_entry__0_8_5 i686-pc-linux-gnu-gcc -Wsign-compare -Wall -mtune=i686 -O2 
-pipe -fomit-frame-pointer -pipe -o libdvbsub_plugin.so -g -shared -fpic 
-fPIC -u vlc_entry__0_8_5 libdvbsub_plugin.a -L/usr/lib -lpthread if 
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DSYS_LINUX 
-I../../include `top_builddir="../.." ../../vlc-config --cflags plugin x264` 
-Wsign-compare -Wall -mtune=i686 -O2 -pipe -fomit-frame-pointer -pipe -MT 
libx264_plugin_a-x264.o -MD -MP -MF ".deps/libx264_plugin_a-x264.Tpo" -c -o 
libx264_plugin_a-x264.o `test -f 'x264.c' || echo './'`x264.c; \ then mv -f 
".deps/libx264_plugin_a-x264.Tpo" ".deps/libx264_plugin_a-x264.Po"; else rm 
-f ".deps/libx264_plugin_a-x264.Tpo"; exit 1; fi

x264.c: In function `Open':
x264.c:744: error: structure has no member named `i_rf_constant'
make[4]: *** [libx264_plugin_a-x264.o] Error 1

i686 Intel(R) Pentium(R) 4 CPU 2.80GHz GNU/Linux

Any help would be Greatly appreciated.
Thanks a lot.

Get FREE company branded e-mail accounts and business Web site from 
Microsoft Office Live 

This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html

More information about the vlc-devel mailing list