ffxvid for Linux

ffxvid is a small yet quite capable Bash shell script written for Linux that makes it easy to encode video files to MPEG-4 Part 2/Xvid video using the FFmpeg encoder and the libxvid library. The script succeeds my slightly famous xvidenc script which is now in maintenance mode and is no longer actively developed due to various reasons. ffxvid is 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: ffxvid for Linux

What the script can do

The script is primarily targeted at encoding of full-length feature films and film series but can be used for other content as well. Below is an up-to-date list.

- Video stuff

- Audio stuff

- Subtitles stuff

- Other stuff


The only requirements of ffxvid are FFmpeg compiled with libxvid 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.