Ugh so I guess everything requires mpp related packages right? Makes sense but we didn’t install those packages in Ubuntu is because some Rockchip prebuilt Debian packages have unmet dependencies under Ubuntu, and we want to avoid building everything by ourselves.
Installed the PPA, ran the updates and dist upgrades. Then ran in to the following when trying to install ffmpeg on Jammy Armbian 23.02.2:
rock-5b:~:% sudo apt install ffmpeg
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
ffmpeg : Depends: libavcodec58 (= 7:4.4.2-0ubuntu0.22.04.1+rkmpp20230207)
Depends: libavfilter7 (= 7:4.4.2-0ubuntu0.22.04.1+rkmpp20230207)
Depends: libavformat58 (= 7:4.4.2-0ubuntu0.22.04.1+rkmpp20230207)
libavdevice58 : Depends: libavcodec58 (= 7:4.4.2-0ubuntu0.22.04.1+rkmpp20230207)
Depends: libavfilter7 (= 7:4.4.2-0ubuntu0.22.04.1+rkmpp20230207)
Depends: libavformat58 (= 7:4.4.2-0ubuntu0.22.04.1+rkmpp20230207)
Depends: libdc1394-25 (>= 2.2.6) but it is not installable
Depends: libopenal1 (>= 1.14) but it is not installable
Depends: libsndio7.0 (>= 1.8.1) but it is not installable
libavutil56 : Depends: ocl-icd-libopencl1 but it is not installable or
libopencl1 but it is not installable
Depends: ocl-icd-libopencl1 (>= 1.0) but it is not installable or
libopencl-1.2-1 but it is not installable
Thanks. Btw gstreamer on rockchip is useless as videoconvert is extremely slow on the rockchip and drops a lot of frames… If anyone can do live encoding with videoconvert, please, let me know…
thank you for the PPA, I was able to get ffmpeg hardware decoding to work. Do you know what it would take to also make HW encoding of h264/h265 possible?
The ffmpeg package in my ppa doesn’t support mpp encoding. There is another version of ffmpeg supporting encoding: https://github.com/jjm2473/ffmpeg-rk.
You can also use gstreamer to encode.