
Here you compile x264 as a static library and then it gets included in FFmpeg.

After some research I’ve found the static compilation. This means, that FFmpeg needs x264 library on the system that runs it. The reason for this was, that x264 was compiled as a dynamic library. After copying then the binary to my other MacBook it was again not working. Now FFmpeg works also with the h264 encoding. So we need to compile x264 first and then FFmpeg. They are using x264, a project form the VideoLAN organization (known for VLC-Player).

Why? The reason is that FFmpeg has no own implementation of a h264 encoder. But then I got a big surprise: Encoding to h264 isn’t working!

So simply download the latest source code and compile it, right? Same thoughts had I on my first try. If you just want to run FFmpeg, go to and download the executable.Ĭompiling FFmpeg is not that hard. Since 2017 I provide a build script to compile FFmpeg on your own.
