ffmpeg supports webM

I have compiled libvpx, x264 and ffmpeg in Quirky. Details:

libvpx 0.9.1
http://code.google.com/p/webm/downloads/list
# ./configure --log=no --cpu=i686 --target=x86-linux-gcc --disable-debug --disable-install-docs --disable-install-srcs --disable-examples --enable-vp8 --enable-postproc --enable-runtime-cpu-detect --enable-shared

x264 2010-06-19
ftp://ftp.videolan.org/pub/videolan/x264/snapshots/
installs to /usr/local, have edited 'configure', changed prefix='/usr'
note, configure needs 'join' command, from coreutils pkg, not in quirky.
# ./configure --enable-shared --host=i486-t2-linux-gnu

ffmpeg 2010-06-20
http://ffmpeg.org/releases/ffmpeg-export-snapshot.tar.bz2
# ./configure --prefix=/usr --cpu=i686 --enable-libmp3lame --enable-libx264 --enable-libfaac --enable-libfaad --enable-pthreads --enable-small --enable-postproc --enable-libvorbis --enable-gpl --enable-shared --enable-nonfree --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-debug --enable-bzlib --enable-zlib --enable-libspeex --enable-version3 --enable-runtime-cpudetect --enable-x11grab --enable-libdc1394 --enable-libschroedinger --enable-libtheora --enable-libxvid --enable-swscale --enable-mmx --enable-libvpx


Posted on 20 Jun 2010, 22:52


Comments:

Posted on 21 Jun 2010, 8:23 by BarryK
ffmpeg, supporting mplayer
The mplayer developers don't really support linking with the external ffmpeg libraries. It can be done, but there are many issues.

I have just been through the exercise, and there were missing symbols. I hunted through the mplayer mail-list and found out how to fix it. Ffmpeg has to be patched, so I had to recompile it.

I modified file libswscale/libswscale.v to export the symbols (rgb*):

LIBSWSCALE_$MAJOR {

global: swscale_*; sws_*; ff_*; rgb32tobgr32; rgb32to24; rgb32tobgr24; rgb32to16; rgb32tobgr16; rgb32to15; rgb32tobgr15;
local: *;
};