Skip to content

Guide to build FFmpeg from source with Netflix's libvmaf on Ubuntu 18.04

Notifications You must be signed in to change notification settings

yash1994/Build-FFmpeg-with-libvmaf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

Build & Install FFmpeg with libvmaf on Ubuntu 20.04

FFmpeg is the leading multimedia framework, able to decode, encode, transcode, mux, demux, stream, filter and play pretty much anything that humans and machines have created. VMAF is a perceptual video quality assessment algorithm developed by Netflix. VMAF Development Kit (VDK) is a software package that contains the VMAF algorithm implementation, as well as a set of tools that allows a user to train and test a custom VMAF model.

Installation

  1. Install Meson and Ninja using following commands:

    sudo apt-get install ninja-build meson

  2. Get latest VMAF SDK release from here.

  3. Unzip VMAF SDK zip and install libvmaf with following commands:

    cd vmaf-1.5.3/libvmaf

    meson build --buildtype release

    ninja -vC build

    ninja -vC build install

  4. Get latest FFmpeg soruce from here.

  5. Build and install ffmpeg with libvamf using following commands:

    ./configure --enable-gpl --enable-libx264 --enable-libx265 --enable-nonfree --enable-libvmaf --enable-version3

    sudo make

    sudo make install

    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

  6. To build ffmpeg with Nvidia-Cuda support use following command:

    ./configure --enable-gpl --enable-gnutls --enable-demuxer=dash --enable-libxml2 --enable-librsvg --enable-libaom --enable-libass --enable-libfdk-aac --enable-libmp3lame --enable-libfreetype --enable-libvorbis --enable-libopus --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree --enable-libvmaf --enable-version3 --enable-cuda-nvcc --enable-cuvid --enable-nvenc --enable-nonfree --enable-libnpp --extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64 --nvccflags='-gencode arch=compute_61,code=sm_61'

About

Guide to build FFmpeg from source with Netflix's libvmaf on Ubuntu 18.04

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published