Armbian can't use ffmpeg and mpp

I have download armbian sid for rockpi 4p+ in https://github.com/armbian/community
I have compile mpp, but mpp_platform_test print H.264 decoder: (null), and I can’t use mpp in ffmpeg
I also can’t find /dev/mpp_service

yswtrue@rockpi-4cplus:~/mpp$ ./osal/test/mpp_platform_test 
mpp[7385]: mpp_plat_test: chip name: radxa,rockpi4c-plus radxa,rockpi4 rockchip,rk3399
mpp[7385]: mpp_plat_test: 
mpp[7385]: mpp_plat_test: chip vcodec type 00000000
mpp[7385]: mpp_plat_test: 
mpp[7385]: mpp_plat_test: start probing decoder device name:
mpp[7385]: mpp_plat_test: H.264 decoder: (null)
mpp[7385]: mpp_plat_test: H.265 decoder: (null)
mpp[7385]: mpp_plat_test: MJPEG decoder: (null)
mpp[7385]: mpp_plat_test: VP9   decoder: (null)
mpp[7385]: mpp_plat_test: avs   decoder: (null)
mpp[7385]: mpp_plat_test: 
mpp[7385]: mpp_plat_test: start probing encoder device name:
mpp[7385]: mpp_plat_test: H.264 encoder: (null)
mpp[7385]: mpp_plat_test: H.265 encoder: (null)
mpp[7385]: mpp_plat_test: MJPEG encoder: (null)
mpp[7385]: mpp_plat_test: mpp platform test done

This is how I compile mpp.

 git clone -b release https://github.com/rockchip-linux/mpp.git 
 cmake -DRKPLATFORM=ON -DHAVE_DRM=ON && make -j5
 make install

Proprietary rockchip video platform will not work on mainline based kernel.

  • move to most recent kernel
  • check / switch to armbian forums
  • you are looking for Hantro video codecs support