Bounty: 250
Is it possible to build ffmpeg
with decoding support for Raspberry Pi? I’ve read that mmal
can do hardware accelerated decoding on the Raspberry Pi.
I’ve tried on debian 10 x86_64:
./configure
--prefix=${BUILD_DIR}/desktop/${FFMPEG_ARCH_FLAG}
--disable-doc
--enable-cross-compile
--cross-prefix=${CROSS_PREFIX}
--target-os=linux
--arch=${FFMPEG_ARCH_FLAG}
--extra-cflags="-O3 -fPIC $EXTRA_CFLAGS"
--enable-mmal
--enable-omx
--enable-omx-rpi
--enable-shared
--disable-debug
--disable-runtime-cpudetect
--disable-programs
--disable-muxers
--disable-encoders
--disable-bsfs
--disable-pthreads
--disable-avdevice
--disable-network
--disable-postproc
where CROSS_PREFIX=aarch64-linux-gnu-
and FFMPEG_ARCH_FLAG=aarch64
but obviously I get ERROR: mmal not found
. I couldn’t find MMAL to compile and install.