Author Topic: avidemux 2.6.# Compiling Avidemux on Ubuntu 16.04.1 LTS  (Read 3473 times)

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 5023
avidemux 2.6.# Compiling Avidemux on Ubuntu 16.04.1 LTS
« on: April 22, 2016, 03:33:06 PM »
This is an extension to the Avidemux Wiki: Requirement list (debian/ubuntu)

Fast recompilation of C/C++ code:
Code: [Select]
sudo apt-get install ccache
For Qt 5
Code: [Select]
sudo apt-get install libqt5opengl5-dev qttools5-dev-tools qtbase5-devlibqt5script5 qtscript5-dev

For common plugins:
Code: [Select]
sudo apt-get install libaften-dev libfaac-dev libfaad-dev libmp3lame-dev libx264-dev x264
Additional (not mentioned in Wiki):
Code: [Select]
sudo apt-get install libasound2-dev libdca-dev libfontconfig1-dev libfribidi-dev libmad0-dev libogg-dev libopencore-amrnb-dev libopencore-amrwb-dev libopus-dev libpulse-dev libtwolame-dev libva-dev vainfo libvdpau-dev vdpauinfo libvorbis-dev libvpx-dev libx265-dev x265 libxv-dev libxvidcore-dev libzip-dev nvidia-cuda-toolkit
download from Video Codec SDK Archive: Video Codec SDK 6.0 (601)
updated:20160919: [nvenc] Re-enable nvenc. You *need* SDK v6.0 for it to work, not 5 nor 7

was SDK Updated (NVENC SDK 6.0):
The latest NVIDIA Video Codec SDK version available is 6.0, which requires NVIDIA GPU driver R358 or above for Windows and R358 or above for Linux.
Copy as root /nvidia_video_sdk_6.0.1/Samples/common/inc/nvEncodeAPI.h (all headers could be fine?) into /usr/include/x86_64-linux-gnu

# Getting source from github
# installing git fast, scalable, distributed revision control system
Code: [Select]
sudo apt-get update && sudo apt-get install git# get source
Code: [Select]
git clone
update & build:
# check for update:
Code: [Select]
cd ~/avidemux2 && git pull# Build avidemux debs for QT5:
Code: [Select]
cd ~/avidemux2 && bash bootStrap.bash --deb
install the build:
If you don't want the development packages installed, remove these 1st:
Code: [Select]
cd ~/avidemux2/debs && rm --interactive=never *-dev.debthen install
Code: [Select]
cd ~/avidemux2/debs && sudo dpkg -i *.deb
« Last Edit: February 22, 2017, 09:01:25 AM by Jan Gruuthuse »

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 5023
Library Info & Tools
« Reply #1 on: April 22, 2016, 03:53:11 PM »
build-essential:       Informational list of build-essential packages
cmake:                 cross-platform, open-source make system
fakeroot:              tool for simulating superuser privileges
g++:                   GNU C++ compiler
gcc:                   GNU C compiler
libaften-dev:          audio AC3 encoder - development files
libfaac-dev:           AAC audio encoder (development)
libfaad-dev:           freeware Advanced Audio Decoder - development files
libmp3lame-dev:        MP3 encoding library (development)
libpng12-dev:          PNG library - development
libsqlite3-dev:        SQLite 3 development files
libqt5opengl5-dev:     Qt 5 OpenGL library development files
libx264-dev:           development files for libx264
make:                  An utility for Directing compilation.
pkg-config:            manage compile and link flags for libraries
qtbase5-dev:           Qt 5 base development files
qttools5-dev-tools:    Qt 5 development tools
yasm:                  modular assembler with multiple syntaxes support

common plugins:
x264:                  video encoder for the H.264/MPEG-4 AVC standard

Additional: (not mentioned in Wiki):
libasound2-dev:        shared library for ALSA applications -- development files
libdca-dev:            decoding library for DTS Coherent Acoustics streams (development)
libfontconfig1-dev:    generic font configuration library - development
libfribidi-dev:        Development files for FreeBidi library (Hebrew and/or Arabic languages)
libmad0-dev:           MPEG audio decoder development library
libogg-dev:            Ogg bitstream library development files
libopencore-amrnb-dev: Adaptive Multi Rate speech codec - development files
libopencore-amrwb-dev: Adaptive Multi-Rate - Wideband speech codec - development files
libopus-dev:           Opus codec library development files
libpulse-dev:          PulseAudio client development headers and libraries
libtwolame-dev:        MPEG Audio Layer 2 encoder (development files)
libva-dev:             Video Acceleration (VA) API for Linux -- development files
libvdpau-dev:          Video Decode and Presentation API for Unix (development files)
libvorbis-dev:         The Vorbis General Audio Compression Codec (development files)
libvpx-dev:            VP8 and VP9 video codec (development files)
libx265-dev:           H.265/HEVC video stream encoder (development files)
libxv-dev:             X11 Video extension library (development headers)
libxvidcore-dev:       Open source MPEG-4 video codec (development)
libzip-dev:            library for reading, creating, and modifying zip archives (development)
nvidia-cuda-toolkit:   NVIDIA CUDA toolkit (NVIDIA graphics processing units (GPUs)
qtscript5-dev:         Qt 5 script development files
vainfo:                Video Acceleration (VA) API for Linux -- info program
vdpauinfo:             Video Decode and Presentation API for Unix (vdpauinfo utility)
x265:                  H.265/HEVC video stream encoder
« Last Edit: February 22, 2017, 08:43:49 AM by Jan Gruuthuse »

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 5023
update: avidemux 2.6.# Compiling Avidemux on Ubuntu 16.04.1 LTS
« Reply #2 on: February 22, 2017, 07:10:18 AM »
2017/02/22 1st posting
+: libqt5opengl5-dev
-: qtscript5-dev
« Last Edit: February 22, 2017, 08:43:25 AM by Jan Gruuthuse »


  • Hero Member
  • *****
  • Posts: 847
Re: avidemux 2.6.# Compiling Avidemux on Ubuntu 16.04.1 LTS
« Reply #3 on: February 22, 2017, 07:25:32 AM »
qtscript5-dev is not used anymore.