============================= Build instructions for FFmpeg ============================= ----------------------------- Instructions for Mac OS X: Built using i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5488) In Finder, double click ffmpeg_source.zip In a terminal, type: cd /ffmpegsource ./configure --enable-shared --disable-static --prefix=. --shlibdir=. make make install This will output the built files to the current directory. To install, overwrite the application's copy of these files with the new ones. If building for debugging, add the following flags: --disable-stripping --disable-optimizations --disable-mmx ----------------------------- Instructions for Windows: Based on instructions found at http://ffmpeg.arrozcru.org/wiki/index.php?title=MSys_MinGW Download and perform a minimal install of MinGW 5.1.6: http://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/MinGW%205.1.6/MinGW-5.1.6.exe/download Download the following two files and extract them to the MinGW install directory: http://prdownloads.sourceforge.net/mingw/gcc-core-4.2.1-sjlj-2.tar.gz?download http://prdownloads.sourceforge.net/mingw/gcc-g%2B%2B-4.2.1-sjlj-2.tar.gz?download In [MinGW install dir]\bin\ rename the following files by removing '-sjlj' from c++-sjlj.exe, cpp-sjlj.exe, g++-sjlj.exe, and gcc-sjlj.exe, replacing any existing files. Download and install MSys: http://prdownloads.sourceforge.net/mingw/MSYS-1.0.11.exe?download Copy coreutils-5.97\bin\pr.exe to [MSys install dir]\bin\ from the following archive: http://prdownloads.sourceforge.net/mingw/coreutils-5.97-MSYS-1.0.11-snapshot.tar.bz2?download Built using: * Windows XP SP3 * bash version 3.1.0(1) * make version 3.8.1 * gcc version 4.2.1-sjlj * msys 1.0.11 * mingw runtime version 3.17 * w32api version 3.14 * binutils version 2.20-1 * pr from coreutils 5.97 Using Windows Explorer or an archive tool, unzip ffmpeg_source.zip In Msys type: cd /ffmpegsource ./configure --enable-shared --disable-static --enable-memalign-hack --extra-cflags="-fno-common" --enable-win-unicode --disable-ssse3 --disable-amd3dnow --disable-amd3dnowext make make install To install, overwrite the application's copy of these files with the new ones. ----------------------------- Source Code Information * The source code is from svn.ffmpeg.org, svn revision 20911, EXCEPT libswscale folder, which is revision 30100. * A patch to support UTF-8 file paths on Windows was applied. A modified version of the patch (http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20091021/64918c17/attachment.txt) from this mailing list post (http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2009-October/077423.html) was used. * A patch was applied to support urls with auth data containing % escaped characters. * A patch was applied to patch to prevent sending http authorization requests when no auth data is given.