[FFmpeg-user] How to decode an HEVC content with Hardware video decoder using FFmpeg

Mohammed Bey Ahmed Khernache mohbeyinfo at gmail.com
Mon Aug 20 19:38:44 EEST 2018


Hello,
I would like to decode an HEVC content with Hardware video decoder on a
board running on Android. I successfully cross-compiled FFmpeg to be run on
Android.

Now I want to enable Hardware acceleration of FFmpeg. I tried the option: "
*--enable-hwaccel=auto*" but it seems like it has no effect. I checked the
output of "./configure" command line, and there is no "hwaccel".

Could anyone point me to a solution how to enable HEVC Hardware video
decoding?

The full command line I used to configure what I explained above is:
-------------------------------------------------------------------------------------------------
./configure
--cross-prefix=/root/arm64-toolchains-r14b/bin/aarch64-linux-android-
--sysroot=/root/arm64-toolchains-r14b/sysroot/ --arch=arm64
--target-os=android --prefix="$HOME/ffmpeg_build"
--pkg-config-flags="--static" --extra-cflags="-I$HOME/ffmpeg_build/include
-pie" --extra-ldflags="-L$HOME/ffmpeg_build/lib -pie"  --bindir="$HOME/bin"
--enable-gpl --enable-hwaccel=auto  --enable-nonfree
-------------------------------------------------------------------------------------------------

Best regards


More information about the ffmpeg-user mailing list