Author: andre Date: 2009-07-03 17:49:13 +0200 (Fri, 03 Jul 2009) New Revision: 36544
Modified: openimages/trunk/FFmpeg-recipe.txt Log: this should be it like I build it a few days ago, of course future improvements van be included Modified: openimages/trunk/FFmpeg-recipe.txt =================================================================== --- openimages/trunk/FFmpeg-recipe.txt 2009-07-03 15:28:50 UTC (rev 36543) +++ openimages/trunk/FFmpeg-recipe.txt 2009-07-03 15:49:13 UTC (rev 36544) @@ -1,14 +1,12 @@ 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: +I build FFmpeg with the goal to be able to create OGG audio from mp3 files, OGV video files from mpeg and H264 video from mpeg. But of course it can do a lot more. I did this on Mac OS X, but I think it will apply to other Unix flavors as well. A lot of systems, like Ubuntu already have FFmpeg installed. I found a lot of information about doing this in: +http://www.ffmpeg.org/ 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: +You can get information about the abilities of your version by typing 'ffmpeg -version' or 'ffmpeg -formats' to get a complete list. The result of my current build for example: ffmpeg -version FFmpeg version SVN-r19314, Copyright (c) 2000-2009 Fabrice Bellard, et al. @@ -22,7 +20,7 @@ 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. +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 @@ -31,13 +29,12 @@ 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. +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. @@ -61,36 +58,28 @@ 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 +Download Lame http://lame.sourceforge.net/download.php -libogg -./configure -make -sudo make install +I installed libx24 with: + + ./configure --prefix=/usr/local --enable-shared --disable-asm + make + sudo make install -libtheora -./configure -make -sudo make install +And I installed each of the others with the following commands. Move to each of their directories and type: -libvorbis -./configure -make -sudo make install + ./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 +Configure FFmpeg to build it. -make -sudo make install + ./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 +And then: + + make + sudo make install +--André _______________________________________________ Cvs mailing list [email protected] http://lists.mmbase.org/mailman/listinfo/cvs
