MPlayer + x264 + FFMpeg from snapshot¶
This is too much time consuming compilation with many faliure. following is the possible best way to succeed at once.
Prequisite :¶
x264¶
wget -O x264.bsd.patch http://lists.freebsd.org/pipermail/freebsd-multimedia/attachments/20090302/602f1b22/x264.bsd.obj
patch -p0 < x264.bsd.patch
cd x264
ln -s /usr/local/bin/bash /bin/bash
./configure --extra-cflags="-mmmx -msse -msse2 -msse3 -I/usr/local/include -fPIC -DBROKEN_RELOCATIONS" --extra-ldflags="-L/usr/local/lib" --enable-shared --disable-asm
mplayer¶
/configure --enable-jpeg --enable-png --extra-cflags="-I/usr/local/include -DBROKEN_RELOCATIONS" --extra-ldflags=-L/usr/local/lib --disable-v4l2
/configure --win32codecsdir=/usr/local/lib/win32 --enable-jpeg --enable-png --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib --disable-v4l2 -CC=gcc43
ERROR no .so¶
ERROR at pci.c¶
--- vidix/pci.c.orig 2007-10-07 15:49:27.000000000 -0400
+++ vidix/pci.c 2007-11-14 03:12:26.000000000 -0500
@@ -484,8 +484,6 @@
#include "sysdep/pci_arm32.c"
#elif defined(__powerpc__)
#include "sysdep/pci_powerpc.c"
-#elif defined(__x86_64__)
-/* Nothing here right now */
#else
#include "sysdep/pci_x86.c"
#endif