| 89 | | == Optional Installation == |
| 90 | | === qt-faststart === |
| 91 | | This is a useful tool if you're showing your H.264 in MP4 videos on the web. It relocates some data in the video to allow playback to begin before the file is completely downloaded. Usage: `qt-faststart input.mp4 output.mp4`. When converting files with ffmpeg you can add `-movflags faststart` to have the same effect. |
| 92 | | {{{ |
| 93 | | cd ~/ffmpeg |
| 94 | | make tools/qt-faststart |
| 95 | | sudo checkinstall --pkgname=qt-faststart --pkgversion="$(date +%Y%m%d%H%M)-git" --backup=no \ |
| 96 | | --deldoc=yes --fstrans=no --default install -Dm755 tools/qt-faststart \ |
| 97 | | /usr/local/bin/qt-faststart |
| 98 | | }}} |
| 99 | | |
| 100 | | === Add `lavf` support to x264 === |
| 101 | | Re-compiling `x264` after `ffmpeg` allows it to accept just about any input that `ffmpeg` can handle. This is useful if you want to use `x264` directly. See a [http://ubuntuforums.org/showpost.php?p=11243462&postcount=1839 more detailed explanation] of what this means. |
| 102 | | {{{ |
| 103 | | cd ~/x264 |
| 104 | | make distclean |
| 105 | | ./configure --enable-static |
| 106 | | make |
| 107 | | sudo checkinstall --pkgname=x264 --pkgversion="3:$(./version.sh | \ |
| 108 | | awk -F'[" ]' '/POINT/{print $4"+git"$5}')" --backup=no --deldoc=yes \ |
| 109 | | --fstrans=no --default |
| 110 | | }}} |
| 111 | | |
| 112 | | ---- |
| 113 | | |