Thursday, September 11, 2008

HOWTO: Compile the latest ffmpeg and x264 from source - Ubuntu Forums

HOWTO: Compile the latest ffmpeg and x264 from source - Ubuntu Forums
ffmpeg is a versatile video tool used to encode and convert a multitude of video and audio formats. x264 is a library used to encode H264 video and creates excellent looking video usually superior to xvid and other popular codecs. x264 is used by Avidemux, GordianKnot, VLC Player, MEncoder, and Handbrake.

Although ffmpeg and x264 are available in the Ubuntu repositories, you may need to compile from source. For example, the ffmpeg-user mailing list requires that you use the latest ffmpeg svn before asking for help. Since ffmpeg and x264 are updated frequently, you may also like to have the bleeding-edge for encoding videos. Also, ffmpeg in the Ubuntu repository may not support all of the codecs and formats that you may need.

This tutorial was tested on a command-line install of Ubuntu Hardy Heron (8.04) on a Pentium 4 3.0 GHz with 2 GB RAM using ffmpeg and x264 source files retrieved on May 7, 08. It was also tested in a standard Hardy Heron installation in VirtualBox.

No comments: