Participate > Avidemux Wiki

avidemux 2.6.# Compiling Avidemux on Ubuntu 16.04.1 LTS

(1/3) > >>

Jan Gruuthuse:
This is an extension to the Avidemux Wiki: Requirement list (debian/ubuntu)

Fast recompilation of C/C++ code:
--- Code: ---sudo apt-get install ccache
--- End code ---

For Qt 5

--- Code: ---sudo apt-get install libqt5opengl5-dev qttools5-dev-tools qtbase5-dev
--- End code ---
libqt5script5 qtscript5-dev


For common plugins:
--- Code: ---sudo apt-get install libaften-dev libfaac-dev libfaad-dev libmp3lame-dev libx264-dev x264
--- End code ---

Additional (not mentioned in Wiki):
--- Code: ---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
--- End code ---

nvenc
====
use either option A) or B)
-----
A)
--- Quote from: eumagga0x2a on December 03, 2017, 10:45:34 PM ---nvEncodeAPI.h can be obtained e.g. from https://raw.githubusercontent.com/FFmpeg/FFmpeg/master/compat/nvenc/nvEncodeAPI.h). SDL is not needed.
--- End quote ---
-----
B) 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): https://developer.nvidia.com/nvidia-video-codec-sdk
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.
Unpack
/nvidia_video_sdk_6.0.1/Samples/common/inc/nvEncodeAPI.h
-----

Copy nvEncodeAPI.h as root  into /usr/include/x86_64-linux-gnu

=-=-=-=-=-=
# Getting source from github
# installing git fast, scalable, distributed revision control system

--- Code: ---sudo apt-get update && sudo apt-get install git
--- End code ---
# get source

--- Code: ---git clone https://github.com/mean00/avidemux2.git
--- End code ---

update & build:
----------------
# check for update:
--- Code: ---cd ~/avidemux2 && git pull
--- End code ---
# Build avidemux debs for QT5:
--- Code: ---cd ~/avidemux2 && bash bootStrap.bash --deb
--- End code ---

install the build:
-----------------
If you don't want the development packages installed, remove these 1st:

--- Code: ---cd ~/avidemux2/debs && rm --interactive=never *-dev.deb
--- End code ---
then install

--- Code: ---cd ~/avidemux2/debs && sudo dpkg -i *.deb
--- End code ---

Jan Gruuthuse:
wiki:
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
libass-dev:            development files for libass
libfdk-aac-dev:        Fraunhofer FDK AAC Codec Library - 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
libsamplerate0-dev:    Development files for audio sample rate conversion
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

Jan Gruuthuse:
2017/02/22 1st posting
+: libqt5opengl5-dev
-: qtscript5-dev
2017/08/07
+: libass-dev
+: libfdk-aac-dev
+: libsamplerate0-dev

eumagga0x2a:
qtscript5-dev is not used anymore.

Jan Gruuthuse:

--- Code: ---dpkg -l build-essential cmake fakeroot g++ gcc libaften-dev libfaac-dev libfaad-dev libmp3lame-dev libpng12-dev libsqlite3-dev libqt5opengl5-dev libx264-dev make pkg-config qtbase5-dev qttools5-dev-tools yasm libasound2-dev x264 libdca-dev libfontconfig1-dev libfribidi-dev libmad0-dev libogg-dev libopencore-amrnb-dev libopencore-amrwb-dev libopus-dev libpulse-dev libtwolame-dev libva-dev libvdpau-dev libvorbis-dev libvpx-dev libx265-dev libxv-dev libxvidcore-dev libzip-dev nvidia-cuda-toolkit vainfo vdpauinfo x265 | grep '^.i'
--- End code ---

--- Code: ---ii  build-essential             12.1ubuntu2                amd64        Informational list of build-essential packages
ii  cmake                       3.5.1-1ubuntu3             amd64        cross-platform, open-source make system
ii  fakeroot                    1.20.2-1ubuntu1            amd64        tool for simulating superuser privileges
ii  g++                         4:5.3.1-1ubuntu1           amd64        GNU C++ compiler
ii  gcc                         4:5.3.1-1ubuntu1           amd64        GNU C compiler
ii  libaften-dev                0.0.8+git20100105-0ubuntu2 amd64        audio AC3 encoder - development files
ii  libasound2-dev:amd64        1.1.0-0ubuntu1             amd64        shared library for ALSA applications -- development files
ii  libdca-dev:amd64            0.0.5-7build1              amd64        decoding library for DTS Coherent Acoustics streams (development)
ii  libfaac-dev:amd64           1.28+cvs20151130-1         amd64        AAC audio encoder (development)
ii  libfaad-dev:amd64           2.8.0~cvs20150510-1        amd64        freeware Advanced Audio Decoder - development files
ii  libfontconfig1-dev:amd64    2.11.94-0ubuntu1.1         amd64        generic font configuration library - development
ii  libfribidi-dev              0.19.7-1                   amd64        Development files for FreeBidi library
ii  libmad0-dev                 0.15.1b-8ubuntu1           amd64        MPEG audio decoder development library
ii  libmp3lame-dev:amd64        3.99.5+repack1-9build1     amd64        MP3 encoding library (development)
ii  libogg-dev:amd64            1.3.2-1                    amd64        Ogg bitstream library development files
ii  libopencore-amrnb-dev:amd64 0.1.3-2.1                  amd64        Adaptive Multi Rate speech codec - development files
ii  libopencore-amrwb-dev:amd64 0.1.3-2.1                  amd64        Adaptive Multi-Rate - Wideband speech codec - development files
ii  libopus-dev:amd64           1.1.2-1ubuntu1             amd64        Opus codec library development files
ii  libpng12-dev:amd64          1.2.54-1ubuntu1            amd64        PNG library - development
ii  libpulse-dev:amd64          1:8.0-0ubuntu3.2           amd64        PulseAudio client development headers and libraries
ii  libqt5opengl5-dev:amd64     5.5.1+dfsg-16ubuntu7.2     amd64        Qt 5 OpenGL library development files
ii  libsqlite3-dev:amd64        3.11.0-1ubuntu1            amd64        SQLite 3 development files
ii  libtwolame-dev:amd64        0.3.13-1.2                 amd64        MPEG Audio Layer 2 encoder (development files)
ii  libva-dev:amd64             1.7.0-1                    amd64        Video Acceleration (VA) API for Linux -- development files
ii  libvdpau-dev:amd64          1.1.1-3ubuntu1             amd64        Video Decode and Presentation API for Unix (development files)
ii  libvorbis-dev:amd64         1.3.5-3                    amd64        development files for Vorbis General Audio Compression Codec
ii  libvpx-dev:amd64            1.5.0-2ubuntu1             amd64        VP8 and VP9 video codec (development files)
ii  libx264-dev:amd64           2:0.148.2643+git5c65704-1  amd64        development files for libx264
ii  libx265-dev:amd64           1.9-3                      amd64        H.265/HEVC video stream encoder (development files)
ii  libxv-dev:amd64             2:1.0.10-1                 amd64        X11 Video extension library (development headers)
ii  libxvidcore-dev:amd64       2:1.3.4-1                  amd64        Open source MPEG-4 video codec (development)
ii  libzip-dev:amd64            1.0.1-0ubuntu1             amd64        library for reading, creating, and modifying zip archives (development)
ii  make                        4.1-6                      amd64        utility for directing compilation
ii  nvidia-cuda-toolkit         7.5.18-0ubuntu1            amd64        NVIDIA CUDA development toolkit
ii  pkg-config                  0.29.1-0ubuntu1            amd64        manage compile and link flags for libraries
ii  qtbase5-dev:amd64           5.5.1+dfsg-16ubuntu7.2     amd64        Qt 5 base development files
ii  qttools5-dev-tools          5.5.1-3build1              amd64        Qt 5 development tools
ii  vainfo                      1.7.0-1                    amd64        Video Acceleration (VA) API for Linux -- info program
ii  vdpauinfo                   1.0-1                      amd64        Video Decode and Presentation API for Unix (vdpauinfo utility)
ii  x264                        2:0.148.2643+git5c65704-1  amd64        video encoder for the H.264/MPEG-4 AVC standard
ii  x265                        1.9-3                      amd64        H.265/HEVC video stream encoder
ii  yasm                        1.3.0-2                    amd64        modular assembler with multiple syntaxes support
--- End code ---

Navigation

[0] Message Index

[#] Next page

Go to full version