Closed xaionaro closed 2 months ago
https://github.com/nyanmisaka/ffmpeg-rockchip#important
User MUST be granted permission to access these device files.
# DRM allocator /dev/dri
/dev/dma_heap
/dev/rga
/dev/mpp_service
/dev/iep /dev/mpp-service /dev/vpu_service /dev/vpu-service /dev/hevc_service /dev/hevc-service /dev/rkvdec /dev/rkvenc /dev/vepu /dev/h265e
ffmpeg was running under root and it had access to the devices.
Do not use the outdated MPP libs from Radxa.
https://github.com/nyanmisaka/ffmpeg-rockchip/issues/3#issuecomment-1875297620
Do not use the outdated MPP libs from Radxa.
Extremely humble opinion: it might make sense to put this requirement (which exactly version is required) somewhere. For example:
If somebody can tell which exactly minimum version is required then I can prepare a PR for README.md.
Sadly this doesn't prevent people from still trying to use outdated libraries because Rockchip never bumps version numbers in pkgconfig/rockchip_mpp.pc. The version checking during the configure
stage of FFmpeg could have fundamentally avoided this problem, but Rockchip's approach makes this impossible.
Since I am not an employee of Rockchip, please report such issues to upstream and urge them to resolve them. Thanks.
Sadly this doesn't prevent people from still trying to use outdated libraries because Rockchip never bumps version numbers in pkgconfig/rockchip_mpp.pc. The version checking during the
configure
stage of FFmpeg could have fundamentally avoided this problem, but Rockchip's approach makes this impossible.Since I am not an employee of Rockchip, please report such issues to upstream and urge them to resolve them. Thanks.
Done: https://github.com/rockchip-linux/mpp/commit/bcd3065dc9a8f915937efc17455f77b1e260ae3e
Sadly this doesn't prevent people from still trying to use outdated libraries because Rockchip never bumps version numbers in pkgconfig/rockchip_mpp.pc. The version checking during the
configure
stage of FFmpeg could have fundamentally avoided this problem, but Rockchip's approach makes this impossible. Since I am not an employee of Rockchip, please report such issues to upstream and urge them to resolve them. Thanks.
I will use that in a future FFmpeg version. But for now it's too new for most distros and people will complain about this;)
I'm running command:
And it segfaults:
gdb says: