Author: andre
Date: 2009-07-03 17:28:50 +0200 (Fri, 03 Jul 2009)
New Revision: 36543

Added:
   openimages/trunk/FFmpeg-recipe.txt
Log:
recipe for building FFmpeg, work in progress



Added: openimages/trunk/FFmpeg-recipe.txt
===================================================================
--- openimages/trunk/FFmpeg-recipe.txt                          (rev 0)
+++ openimages/trunk/FFmpeg-recipe.txt  2009-07-03 15:28:50 UTC (rev 36543)
@@ -0,0 +1,96 @@
+Recipe for building FFmpeg
+--------------------------
+I build FFmpeg to be able to create OGG audio from mp3 files, OGV video files 
from mpeg and H264 video from mpeg.
+Done on Mac OS X, but should apply to other Unix flavors as well. A lot of 
systems, like Ubuntu already have FFmpeg installed. A lot of information about 
building it I found in:
+
+http://juliensimon.blogspot.com/2008/12/howto-compiling-ffmpeg-x264-mp3-xvid.html
+http://howto-pages.org/ffmpeg/
+
+You can get information about the abilities of your version by typing 'ffmpeg 
-version'.
+
+The result of my build:
+  
+  ffmpeg -version
+  FFmpeg version SVN-r19314, Copyright (c) 2000-2009 Fabrice Bellard, et al.
+    configuration: --prefix=/usr/local --enable-gpl --enable-nonfree 
--enable-shared --enable-postproc --enable-avfilter --enable-avfilter-lavf 
--enable-pthreads --enable-x11grab --enable-bzlib --enable-libmp3lame 
--enable-libtheora --enable-libvorbis --enable-libx264 --enable-zlib 
--enable-libfaac --enable-libfaad
+    libavutil     50. 3. 0 / 50. 3. 0
+    libavcodec    52.32. 0 / 52.32. 0
+    libavformat   52.36. 0 / 52.36. 0
+    libavdevice   52. 2. 0 / 52. 2. 0
+    libavfilter    0. 5. 0 /  0. 5. 0
+    libswscale     0. 7. 1 /  0. 7. 1
+    libpostproc   51. 2. 0 / 51. 2. 0
+    built on Jul  1 2009 15:02:58, gcc: 4.0.1 (Apple Inc. build 5493)
+ 
+ Notice that this command reports on the second line the exact configuration 
with which FFmpeg was build. This is what we aim at. 
+ 
+   ./configure --prefix=/usr/local --enable-gpl --enable-nonfree 
--enable-shared --enable-postproc --enable-avfilter --enable-avfilter-lavf 
--enable-pthreads --enable-x11grab --enable-bzlib --enable-libmp3lame 
--enable-libtheora --enable-libvorbis --enable-libx264 --enable-zlib 
--enable-libfaac --enable-libfaad
+
+When your run that while missing one of the libraries you specifiy you get an 
error, something like:
+
+  FAAD test failed.
+  If you think configure made a mistake, make sure etc.
+
+
+When you have them all you can do the following commands tho install 
+
+   make
+   sudo make install
+   
+I download and installed several sources. Notice that several of them are 
non-free. You can query ffmpeg to check the status of yours.
+
+  ffmpeg -L
+  FFmpeg version SVN-r19314, Copyright (c) 2000-2009 Fabrice Bellard, et al.
+    configuration: --prefix=/usr/local --enable-gpl --enable-nonfree 
--enable-shared --enable-postproc --enable-avfilter --enable-avfilter-lavf 
--enable-pthreads --enable-x11grab --enable-bzlib --enable-libmp3lame 
--enable-libtheora --enable-libvorbis --enable-libx264 --enable-zlib 
--enable-libfaac --enable-libfaad
+    libavutil     50. 3. 0 / 50. 3. 0
+    libavcodec    52.32. 0 / 52.32. 0
+    libavformat   52.36. 0 / 52.36. 0
+    libavdevice   52. 2. 0 / 52. 2. 0
+    libavfilter    0. 5. 0 /  0. 5. 0
+    libswscale     0. 7. 1 /  0. 7. 1
+    libpostproc   51. 2. 0 / 51. 2. 0
+    built on Jul  1 2009 15:02:58, gcc: 4.0.1 (Apple Inc. build 5493)
+  This version of FFmpeg has nonfree parts compiled in.
+  Therefore it is not legally redistributable.
+
+
+Download libfaac en libfaad, you can find these via 
http://www.audiocoding.com/downloads.html
+
+Download libx24, the daily tarball at 
http://www.videolan.org/developers/x264.html
+
+Download libogg, libtheora, libvorbis from
+http://www.xiph.org/downloads/
+
+I installed each of them 
+./configure --prefix=/usr/local --enable-shared --disable-asm
+make 
+sudo make install
+
+libogg
+./configure
+make
+sudo make install
+
+libtheora
+./configure
+make
+sudo make install
+
+libvorbis
+./configure
+make 
+sudo make install
+
+4. download Lame
+http://lame.sourceforge.net/download.php
+./configure
+make
+sudo make install
+
+5. configure ffmpeg for build
+./configure --prefix=/usr/local --enable-gpl --enable-nonfree --enable-shared 
--enable-postproc --enable-avfilter --enable-avfilter-lavf --enable-pthreads 
--enable-x11grab --enable-bzlib --enable-libmp3lame --enable-libtheora 
--enable-libvorbis --enable-libx264 --enable-zlib --enable-libfaac 
--enable-libfaad
+
+make
+sudo make install
+
+

_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to