I am running ffmpeg on ubuntu.

I tried to set the codec to libx264 but it was not recognised by ffmmpeg.

Is there a way too install that codec for use by ffmpeg?

2 Answers 2


If the codec lib isn't linked in your binary, you can get one which does from https://www.johnvansickle.com/ffmpeg/ (get a git build).


Compile x264 by yourself, then compile ffmpeg with option --enable-libx264

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.