site  contact  subhomenews

Ffmpeg recompiled for 003

January 03, 2010 — BarryK
Here is a record of what I have compiled, that will (probably) be in Quirky 003:

i had a problem, after compiling ffmpeg 20091229 and swfdec-mozilla, seamonkey crashes when try play any flash videos (using Swfdec 0.6.8-patched and Swfdec-mozilla) 0.6.0 -- see recent posts).

so, staying with the ffmpeg from t2 (as used in Quirky 001 and 002)...
i want to recompile it with 'ffplay' which requires SDL...

SDL 1.2.14
# ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=i486-t2-linux-gnu --disable-esd --disable-pulseaudio --disable-arts --disable-mintaudio --disable-video-cocoa --disable-video-directfb --disable-video-opengl --enable-nasm --disable-video-photon --disable-video-carbon --disable-video-ps2gs --disable-video-ps3 --disable-video-ggi --disable-video-vgl
# make
# new2dir make install

amrnb 7.0.0.2
# ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=i486-t2-linux-gnu --with-downloader=wget
# make
# new2dir make install

amrwb 7.0.0.3
# ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=i486-t2-linux-gnu --with-downloader=wget
# make
# new2dir make install

speex 1.2rc1
# ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --build=i486-t2-linux-gnu
# make
# new2dir make install

yasm 0.8.0
x264 needs this to compile. ffmpeg can also use it.
# ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --build=i486-t2-linux-gnu --disable-python --disable-debug
# make
# new2dir make install

x264 20091230
tricky, installs to /usr/local, have edited 'configure', changed prefix='/usr'
note, configure needs 'join' command, from coreutils pkg, not in quirky.
hmmm, it ignores the --host=i486 instruction, compiles for i686...
# ./configure --enable-shared --host=i486-t2-linux-gnu --enable-pthread
# make
# new2dir make install
...note, the executables got linked statically with the libx264 library, so have removed them from the PET package, just kept the shared lib as that is what ffmpeg needs.
...note, new2dir failed to grab the symlink /usr/lib/libx264.so
...crap, tried to use in ffmpeg, but configure ran a test and reported 'undefined reference to `x264_encoder_open''

x264 20090113
compiled as above. this time it is not compiling for i686!
now for the 64,000 dollar question, is ffmpeg happy? ... yes

ffmpeg 2009-02-01
removed --enable-libvorbis, cos libvorbisenc is 1MB. nah, back in...
# ./configure --prefix=/usr --cpu=i486 --arch=i486 --enable-libmp3lame --enable-libfaac --enable-libfaad --enable-pthreads --enable-small --enable-postproc --enable-swscale --enable-gpl --enable-shared --enable-nonfree --enable-x11grab --enable-bzlib --enable-libamr-nb --enable-libamr-wb --enable-libspeex --enable-zlib --disable-debug --enable-libvorbis --enable-libx264
# make
# new2dir make install

...works! swfdec flash player works in seamonkey. ffplay works.

Notes
The latest ffmpeg from svn almost plays RealMedia videos -- I got video, and although it does have the 'sipr' audio codec it doesn't work. On the other-hand, the ffmpeg version above cannot play my RM files at all.

I really need to look into getting the latest Swfdec working (0.6.8 is an old version) and I intend to communicate with the author about this.

Then I'll be able to upgrade to the latest ffmpeg.

My recent posts on Swfdec:
http://bkhome.org/archive/blog2/200912/swfdec-flash-player.html
http://bkhome.org/archive/blog2/200912/swfdec-mozilla-flash-plugin.html

Comments

Perfecting h264 conversion with ffmpeg
Username: ttuuxxx
hi Barry I came across this interesting site on converting video files without noticeable quality loss. Basically they start with a 94MB video and converted it and the end result is 24MB. very interesting reading http://flowplayer.org/forum/7/12671 ttuuxxx

Perfecting h264 conversion with ffmpeg
Username: ttuuxxx
"hi Barry I came across this interesting site on converting video files without noticeable quality loss. Basically they start with a 94MB video and converted it and the end result is 24MB. very interesting reading http://flowplayer.org/forum/7/12671 ttuuxxx


Tags: quirky