Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.
Hüseyin BIYIK edited this page Jul 19, 2023 · 17 revisions

COMPILATION

FFmpeg has various compilation options, i will only talk about how to enable RKMPP decoders and encoders here.

To enable rkmpp decoder and encoder you need below extra libraries:

Please prefer latest versions of those libraries.

To compile the rkmpp you need to configure the ffmpeg with the flag --enable-rkmpp and this will lead the below command with its dependencies

./configure --enable-rkmpp --enable-version3 --enable-libdrm
make

Please note that, for fast memory transfers, mpp library uses /dev/dma_heap/system-uncached-dma32 device. And on default rockchip vendor kernel those devices are restricted to video user group.

This means that if you want to use rkmpp based decoders make sure your user acccount is a member of video

You can check which group membership that the logged in user has with

groups

command, and if the video group is not there, you can add with

sudo usermod -a -G video accountusername
Clone this wiki locally