4 Three scripts to make a static build of ffmpeg with all the latest codecs (webm + h264).
6 Just follow the instructions below. Once you have the build dependencies,
7 just run ./build.sh, wait and you should get the ffmpeg binary in target/bin
13 $ apt-get install build-essential curl tar
16 # install XCode, it can be found at http://developer.apple.com/
17 # (apple login needed)
23 $ ./build.sh or build-ubuntu.sh
25 # binaries can be found in ./target/bin/
27 NOTE: If you're going to use the h264 presets, make sure to copy them along the binaries. For ease, you can put them in your home folder like this:
30 $ cp ./target/share/ffmpeg/*.ffpreset ~/.ffmpeg
35 On the top-level of the project, run:
39 You can then enter the source folders and make the compilation yourself
42 $ ./configure --prefix=$TARGET_DIR #...
48 I'm not sure it's a good idea to statically link those, but it probably
49 means the executable won't work across distributions or even across releases.
52 $ ldd ./target/bin/ffmpeg
53 not a dynamic executable
58 /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.0)
63 * Add some tests to check that video output is correctly generated
64 this would help upgrading the package without too much work
65 * OSX's xvidcore does not detect yasm correctly
66 * remove remaining libs