-
Notifications
You must be signed in to change notification settings - Fork 7
Home
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