View Full Version : Bash script for installing ffmpeg avisynthplus ffms2 yadifmod2 in Debian
maas3n
1st July 2026, 15:14
https://github.com/maas3n/autobuildffavs
The script builds and installs ffmpeg & avisynth+ with checkinstall. ffms2 & yadifmod2 gets build and installed without using checkinstall.
Be sure to add: contrib, non-free, and non-free-firmware to your APT sources before running the script.
I have also added a .avs template and some basic syntax examples for usage with ffmpeg
Wilbert
30th July 2026, 21:56
Thanks! I will try this very soon on my Debian Trixie. One question. ffmpeg is already installed on my system (but not with avisynth enabled). Does it update the existing version or install it alongside?
qyot27
31st July 2026, 02:47
Thanks! I will try this very soon on my Debian Trixie. One question. ffmpeg is already installed on my system (but not with avisynth enabled). Does it update the existing version or install it alongside?
It seems to install to /usr/local, so no, it doesn't update the system ffmpeg (although it would override the 'ffmpeg' name when you use it in the Terminal). It also doesn't reproduce the existing configuration of ffmpeg, so using it would require piping out to the main ffmpeg in /usr if you need to use anything beyond what FFmpeg has internally or the handful of external libs it enables. And if you have to pipe, avs2yuv (https://github.com/DJATOM/avs2yuv) would do it with way less overhead, unless you're piping video+audio.
Additionally, the version of FFmpeg the script goes with (7.1.3) is not the latest, not even the latest from its branch (7.1.5), and critically, it's actually older than the one provided in the actual trixie repo (also 7.1.5). This is a bit strange, even if accounting for the script being from last November (when 7.1.3 released) rather than from the beginning of July (7.1.5 was released in June). FFmpeg as an overarching project is generally pretty solid even from the upstream git, but version 8 has been branched off since last summer(?) and is itself into the 8.1.x versions.
Wilbert
2nd August 2026, 12:44
Ok thank you for explaining. I can change the ffmpeg version number to 7.1.5 in the script and give it a go right? Or do i need to update other settings too in the script?
qyot27
2nd August 2026, 22:42
7.1.3->7.1.5, probably no change is necessary.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.