Building and Verifying
Rockchip Platform
Building and Verifying
Check the dependencies:
pkg-config --modversion libdrm
pkg-config --modversion rockchip_mpp
pkg-config --modversion librgaGet and build the source code:
git clone https://github.com/nyanmisaka/ffmpeg-rockchip.git
cd ffmpeg-rockchip
./configure \
--prefix=/usr/local \
--enable-version3 \
--enable-libdrm \
--enable-rkmpp \
--enable-rkrga \
--enable-shared \
--disable-static
make -j$(nproc)
sudo make install
sudo ldconfigConfirm that the expected FFmpeg binary is being used:
command -v ffmpeg
ffmpeg -versionCheck the Rockchip hardware features:
ffmpeg -hide_banner -hwaccels | grep -i rkmpp
ffmpeg -hide_banner -decoders | grep rkmpp
ffmpeg -hide_banner -encoders | grep rkmpp
ffmpeg -hide_banner -filters | grep rkrgaIf these entries are missing, the command may be using the distribution's standard FFmpeg binary, or MPP/RGA support may not have been enabled successfully during the build.

