ffmeg with #HEVC support on the #raspberrypi

as root:
* add deb-multimedia repository “deb http://www.deb-multimedia.org/ testing main non-free
howto here
* apt-get install libsdl1.2-dev libfaac-dev libx264-dev (libs, codecs and stuff)
* apt-get install mercurial cmake cmake-curses-gui build-essential yasm (tools to retrieve & build ffmpeg)

as user:
* hg clone https://bitbucket.org/multicoreware/x265
* cd x265/build/linux


as root:

make install

git clone git://git.videolan.org/ffmpeg.git (you need to have git installed)
cd ffmpeg
./configure –enable-libfaac –enable-libx264 –enable-gpl –enable-nonfree –enable-libx265 –enable-ffplay –enable-pic
make install

3 thoughts on “ffmeg with #HEVC support on the #raspberrypi”

  1. Hi there!

    i am trying to install x265 on my raspberry pi,
    but it fails.
    Perhaps you have an idea / or ran into the same error,
    would be nice if you could help

    Linking CXX shared library libx265.so
    [ 82%] Built target x265-shared
    [ 82%] Building CXX object CMakeFiles/cli.dir/input/input.cpp.o
    [ 82%] Building CXX object CMakeFiles/cli.dir/input/yuv.cpp.o
    [ 82%] Building CXX object CMakeFiles/cli.dir/input/y4m.cpp.o
    [ 82%] Building CXX object CMakeFiles/cli.dir/output/output.cpp.o
    [ 82%] Building CXX object CMakeFiles/cli.dir/output/reconplay.cpp.o
    [ 82%] Building CXX object CMakeFiles/cli.dir/output/yuv.cpp.o
    [ 82%] Building CXX object CMakeFiles/cli.dir/output/y4m.cpp.o
    [ 82%] Building CXX object CMakeFiles/cli.dir/output/raw.cpp.o
    [ 82%] Building CXX object CMakeFiles/cli.dir/filters/filters.cpp.o
    [ 82%] Building CXX object CMakeFiles/cli.dir/x265.cpp.o
    Linking CXX executable x265
    libx265.so.56: undefined reference to `x265_cpu_neon_test’
    libx265.so.56: undefined reference to `x265_cpu_fast_neon_mrc_test’
    collect2: ld returned 1 exit status
    CMakeFiles/cli.dir/build.make:314: recipe for target ‘x265’ failed
    make[2]: *** [x265] Error 1
    CMakeFiles/Makefile2:94: recipe for target ‘CMakeFiles/cli.dir/all’ failed
    make[1]: *** [CMakeFiles/cli.dir/all] Error 2
    Makefile:116: recipe for target ‘all’ failed
    make: *** [all] Error 2

  2. Hello,

    Sorry for replying several months later. Been busy.
    This error is most probably due to missing dependencies.
    I work on the video field, there are chances I had all the dependecies already installed.

    Maybe some googling can help.


  3. I get an error to while trying “make” on my RPi3. I think the MakeList needs some configurations but I’m not sure.

Leave a Reply

Your email address will not be published. Required fields are marked *