Hardware decoding in mpv player

Hi Lissanro

Fantastic news! mpv is one of the main apps I have been wanting to run properly (hw accelerated) on my Nano since I got it but there’s no way I would’ve been able to pull off what you’ve supposedly achieved here. There is no real competition for mpv when it comes to open source video players.

I have tried to install your packages using the suggested command under a fresh install of Jetpack 4.5.1 and they all installed successfully except libavcodec-extra57_3.4.8-0ubuntu0.2_arm64.deb which gives the error:

dependency problems prevent configuration of libavcodec-extra57:arm64:
 libavcodec-extra57:arm64 depends on libnvmpi; however:
  Package libnvmpi is not installed.

So I tried apt-file find libnvmpi but got no results. Do these packages need rebuilding for 4.5.1? I have tried mpv but h264 video playback isn’t hw accelerated so I presume that libavcodec package I can’t install is not optional.

Do you plan to try to upstream your patches to ffmpeg and mpv? If that’s not an option I’d like to see packages for an accelerated mpv added to the nvidia jetpack repo.

Do you think it would be possible to use nvmpi and this version of mpv and ffmpeg under a 3rd party Linux distro for the nano such as Armbian or does it rely on closed NV libs?

Thanks!

1 Like