Wednesday, October 21, 2015

how to install plugin for VLC 2.x to support decoding of HEVC/H.265 using libde265

HEVC is a successor to H.264/MPEG-4 AVC (Advanced Video Coding), it is said to double the data compression ratio compared to H.264/MPEG-4 AVC at the same level of video quality.

There are two ways to install the plugins: already compiled binary and compile from source


I- method one install the already compiled binary
$ sudo apt-add-repository ppa:strukturag/libde265
$ sudo apt-get update
$ sudo apt-get install vlc-plugin-libde265



II- method two compile from source code
   1- download and install libde265
    $ wget https://github.com/strukturag/libde265/archive/master.zip
    $ unzip  libde265-master.zip
    $ cd libde265-master
    $ ./libde265-master
    $ ./configure && make
    $ sudo make install
   2- - download and install libde265 vlc plugin
     -- install dependecy
    $ sudo apt-get install libvlccore-dev
    $ sudo apt-get install libvlc-dev


    -- download and compile vlc-libde265
    $ wget https://github.com/strukturag/vlc-libde265/archive/master.zip
    $ unzip vlc-libde265-master.zip
    $ cd vlc-libde265-master
    $  ./autogen.sh
    $ mkdir output
    $ ./configure --libdir=`pwd`/output && make && make install
  
   -- copy the newly compiled plugin to vlc codec directly that locate in /usr/lib/vlc/plugins/codec/
    $ sudo cp output/* /usr/lib/vlc/plugins/codec/

No comments:

Post a Comment