


FFmpeg supports hardware accelerated decoding and encoding via the h264_cuvid, hevc_cuvid and h264_nvenc, hevc_nvenc modules. After the build completes, you’ll end up with the binaries inside ffmpeg-install folder (provided to the prefix parameter in configure). Obviously you can modify the parameters above as it fits your needs. configure -enable-static -disable-shared -disable-debug -disable-doc -disable-x86asm -enable-gpl -enable-libx264 -prefix=/Users/someuser/ffmpeg-install The last think you need to do, is to configure and build it. Now, download FFmpeg source codes from the following link and extract them somewhere on your computer.


Here is what you need to run from Terminal: git clone Start by getting x264 source codes, configuring and then building them. This is why I thought I should gather them up into a single post for easier reference later on. I had to build FFmpeg with x264 support on macO statically, so I had to look around for a bunch of scattered commands.
