You are not logged in.
Hi
I was trying to get the x264 codec from videolan.org http://www.videolan.org/x264.html
but I can´t get even the download.
So if anyone could make a PKGBUILD for it, it would be much appreciated.
tia
mic
Offline
Why dont you just check it out of the subversion repository, like it mentions on the page?
svn co svn://svn.videolan.org/x264/trunk x264
It looks like the only way they provide it for *nix at the moment.
mov ah, 0
int 16h
Offline
Hi
I did that, but somehow after installing x264 something is still messed up.
I tried to recompile mplayer to make use of it with the --enable-x264 option, but I get this.
ve_x264.c: In function `config':
ve_x264.c:219: error: structure has no member named `i_rc_buffer_size'
ve_x264.c:221: error: structure has no member named `i_rc_init_buffer'
ve_x264.c:223: error: structure has no member named `i_rc_init_buffer'
ve_x264.c:224: error: structure has no member named `i_rc_sens'
make[1]: *** [ve_x264.o] Error 1
make[1]: Leaving directory `/var/abs/multimedia/mplayer/src/MPlayer-1.0pre7/libmpcodecs'
make: *** [libmpcodecs/libmpcodecs.a] Fehler 2
==> ERROR: Build Failed. Aborting...
mic
Offline
Hi
I did that, but somehow after installing x264 something is still messed up.
I tried to recompile mplayer to make use of it with the --enable-x264 option, but I get this.
ve_x264.c: In function `config':
ve_x264.c:219: error: structure has no member named `i_rc_buffer_size'
ve_x264.c:221: error: structure has no member named `i_rc_init_buffer'
ve_x264.c:223: error: structure has no member named `i_rc_init_buffer'
ve_x264.c:224: error: structure has no member named `i_rc_sens'
make[1]: *** [ve_x264.o] Error 1
make[1]: Leaving directory `/var/abs/multimedia/mplayer/src/MPlayer-1.0pre7/libmpcodecs'
make: *** [libmpcodecs/libmpcodecs.a] Fehler 2
==> ERROR: Build Failed. Aborting...
Hmm, actually it didnt even build for me out of svn, if I get time I'll see if I can find out why.
mov ah, 0
int 16h
Offline
I make patch to file MPlayer-1.0pre7/libmpcodecs/ve_x264.c
--- libmpcodecs/ve_x264.c 2005-04-13 21:10:29.000000000 +0200
+++ /var/abs/multimedia/mplayer/src/MPlayer-1.0pre7/libmpcodecs/ve_x264.c 2005-06-07 01:13:57.000000000 +0200
@@ -216,12 +216,12 @@
rc_buffer_size = bitrate;
mod->param.rc.b_cbr = 1;
mod->param.rc.i_bitrate = bitrate;
- mod->param.rc.i_rc_buffer_size = rc_buffer_size;
+ mod->param.rc.i_vbv_buffer_size = rc_buffer_size;
if(rc_init_buffer > 1)
- mod->param.rc.i_rc_init_buffer = rc_init_buffer;
+ mod->param.rc.i_vbv_buffer_init = rc_init_buffer;
else
- mod->param.rc.i_rc_init_buffer = rc_buffer_size * rc_init_buffer;
- mod->param.rc.i_rc_sens = rc_sens;
+ mod->param.rc.i_vbv_buffer_init = rc_buffer_size * rc_init_buffer;
+// mod->param.rc.i_rc_sens = rc_sens;
}
mod->param.rc.f_ip_factor = ip_factor;
mod->param.rc.f_pb_factor = pb_factor;
but I get some other error while building mplayer:
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -march=i686 -O2 -pipe -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I. -I.. -I../osdep -I/usr/include/freetype2 -I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DMPG12PLAY -o vo_gl.o vo_gl.c
In file included from /usr/X11R6/include/GL/glx.h:336,
from gl_common.h:16,
from vo_gl.c:17:
/usr/X11R6/include/GL/glxext.h:267: error: redefinition of typedef 'GLXFBConfigSGIX'
/usr/X11R6/include/GL/glx.h:156: error: previous declaration of 'GLXFBConfigSGIX' was here
make[1]: *** [vo_gl.o] Error 1
make[1]: Leaving directory `/var/abs/multimedia/mplayer/src/MPlayer-1.0pre7/libvo'
make: *** [libvo/libvo.a] Error 2
I get this error even without x264.
Greetings
Krzysiek Wojszko
Offline