ffx264 & ffhevc for Linux

ffx264 and ffhevc are small yet quite capable Bash shell scripts written for Linux that make it easy to encode video files to H.264/AVC and H.265/HEVC video using the FFmpeg encoder and the libx264 and libx265 libraries. Both scripts succeed my slightly famous h264enc script which is now in maintenance mode and is no longer actively developed due to various reasons. Both ffx264 and ffhevc are released under the terms of the GNU GPLv2+ license.

If you like my past and current work, you can show your support by donating to my PayPal.
Official Doom9.org development thread: ffx264 & ffhevc for Linux

What the scripts can do

The scripts are primarily targeted at encoding full-length feature films and film series but can be used for other content as well. Both scripts are developed simultaneously and they offer virtually the same features. Below is an up-to-date list.

- Video stuff

- Audio stuff

- Subtitles stuff

- Other stuff


The only requirements of ffx264 and ffhevc are FFmpeg compiled with libx264 and libx265 support, ffprobe (part of FFmpeg), the 'bc' utility and an up-to-date coreutils package. If you want to use the FDK-AAC audio encoder, obviously you need FFmpeg to be compiled with libfdk-aac support. The same goes for Opus audio if you choose libopus instead of the internal Opus encoder, MP3 which needs libmp3lame support and Vorbis which needs libvorbis support in FFmpeg.