The ffmpeg binaries that are present in the official repository of Archlinux are not compiled with nonfree codecs. Some excellent ones like libfaac, libx264 and lib-nonfree are not included by default. However, with
AUR and its package building automation tool
yaourt, one can easily accomplish this. Here are the steps...
- Install yaourt using pacman -S yaourt, if you haven't already.
- Key in yaourt -Sb ffmpeg, and answer 'Yes' when asked for confirmation. Remember, you'd have to edit PKGBUILD when asked for. Add --enable-nonfree and --enable-libfaac and other needed configuration options to the build() function, exit the editor, and proceed.
- That's it, get yourself a cup of tea while the compilation process to finishes, and you're good to go.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4YL43Cu_849YqLIMupeAPtIiGaQLKxGMSTgund4WP-oLe9Ay3s7vFacYuk3eydvMOwvQOBZiGGEAEUS8bxZBgDzEj3dK6YoV3vRoJa7CLDeL0Oj_hlXVG6MEvff6lV8wpm-wQnbb3USw/s320/ffmpeg-yaourt.png) |
PKGBUILD in vim |
|
|
For a list of available configuration options, see
http://git.videolan.org/?p=ffmpeg.git;a=blob;f=configure;h=f30998b37c80ff83a81f4949ea8ab0cfb8043376;hb=HEAD
No comments:
Post a Comment