Avidemux is a simple cross-platform video editor for Linux, Windows and macOS.
Avidemux build directory must be located on a case-sensitive file system.
Out-of-tree build is supported. If build is conducted in-tree, the source directory has to be located on a case-sensitive file system either.
To get Avidemux source code from the main repository and the translations, run the following command:
git clone --recursive https://github.com/mean00/avidemux2.git && cd avidemux2
Install build dependencies:
Debian / Ubuntu and variants:
bash createDebFromSourceUbuntu.bash --deps-only
Fedora:
bash createRpmFromSourceFedora.bash --deps-only
Build Avidemux:
bash bootStrap.bash --with-system-libass
The compiled output will be in the install
subdirectory of the build directory.
Avidemux can be run without installation by means of a start script derived
from the template run_avidemux_template.sh
.
- Make a copy of this script file.
- If Avidemux has been built in a different location than
${HOME}/avidemux2
, edit the value of variableBUILDTOP
to point to the actual build directory. Adjust the value of variablePREFIX
if necessary. - Copy the script to a directory listed in
$PATH
and make it executable.
Install Homebrew
Install required build dependencies:
brew install cmake pkg-config nasm yasm qt xvid x264 x265 libvpx aom opus fdk-aac lame libass mp4v2 a52dec
Build Avidemux (Apple Silicon):
It may be necessary to install Xcode, not just Command Line Tools, else creation of app bundle fails.
bash bootStrapMacOS_Monterey.arm64.sh
Build Avidemux (Intel):
export MACOSX_DEPLOYMENT_TARGET=$(xcrun --sdk macosx --show-sdk-version)
bash bootStrapOsx_Catalina.bash --enable-qt6
On both Apple platforms, the disk image should be generated in the installer
subdirectory of avidemux2
.
Post-installation (Apple Silicon):
Only if Avidemux has been built on a different Apple Silicon system,
execute the following command to replace ad-hoc signatures of the binaries:
sh avidemux/osxInstaller/macos-adhoc-sign-installed-app.sh
When Avidemux app has been installed to a non-default location, adjust the value
of BUNDLE_CONTENT
variable in the aforementioned file accordingly.