[vlc] x264.c:744 error :(

PardoX PardoX pardox2006 at hotmail.com
Mon Oct 30 23:05:24 CET 2006


hi
i couldnt able to compile vlc 0.8.5 with x264 version 0.54.596 under my 
linux system.
and i also did the x264 newapi patch to vlc(x264.c).

x264newapi.patch
*****************************************
--- modules/codec/x264.c        2006-05-06 18:52:19.000000000 +0300
+++ x264-new.c 2006-09-17 00:45:52.000000000 +0300
@@ -545,9 +545,13 @@
     /* 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;
+#else
+    if( p_sys->param.rc.i_bitrate > 0 ) p_sys->param.rc.i_rc_method = 
X264_RC_ABR;
+#endif

     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 = 
val.i_int;
*****************************************


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
*****************************************

Any help would be Greatly appreciated.

_________________________________________________________________
Get FREE company branded e-mail accounts and business Web site from 
Microsoft Office Live 
http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/

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



More information about the vlc mailing list