Home/News | About | Download | Documentation | Forum | Bug Reports | Contact | Donations | Consulting | Projects | Legal | Security | FATE

This forum has not been maintained for a long time and will probably get deleted in the near future.
For faster responses to your questions, please use StackOverflow instead and tag your questions with "FFmpeg".
If you need a backup of the posts from this forum, please contact me directly.

*How to quickly compile FFmpeg with libx264 (x264, H.264)

A collection of useful tutorials for some common tasks.

*How to quickly compile FFmpeg with libx264 (x264, H.264)

Postby burek » Mon Jun 20, 2011 7:35 am

Take a look here how to quickly compile/install libx264: viewtopic.php?f=25&t=36

Then, get the FFmpeg from GIT and compile it.
Code: Select all
# cd /my/path/where/i/keep/compiled/stuff
# git clone git://git.videolan.org/ffmpeg.git
# cd ffmpeg
# ./configure --enable-gpl --enable-libx264
# make
# make install
# ldconfig

Now, run your FFmpeg to see if it works:
Code: Select all
# ffmpeg -i testinput.avi -vcodec libx264 -crf 20 output.mp4

If everything went fine, you should see the encoding progress and your output file "output.mp4" after the encoding has finished.
Posts: 864
Joined: Mon May 09, 2011 10:16 pm
Location: Serbia

Return to Tutorials

Who is online

Users browsing this forum: No registered users and 1 guest