02-07-2020, 03:20 PM
(This post was last modified: 02-07-2020, 04:11 PM by vfr400racer.
Edit Reason: Found a solution for part of the problem
)
Just installed mrfixit2001's image 2.0 and tried to find out if video playback is hardware accelerated.
It turned out, that I can't play videos.
$ zgrep RK_VCODEC /proc/config.gz
CONFIG_RK_VCODEC=y
$ file file.mp4
file.mp4: ISO Media, MP4 v2 [ISO 14496-14]
$ ffmpeg -benchmark -c:v h264_rkmpp -i file.mp4 -f null -
results in
Unknown decoder 'h264_rkmpp'
video player mpv fails with
$ mpv file.mp4
mpv: error while loading shared libraries: libavcodec.so.58: cannot open shared object file: No such file or directory
but
$ find /usr/lib |grep libavcodec
/usr/lib/arm-linux-gnueabihf/libavcodec.so.57
/usr/lib/arm-linux-gnueabihf/libavcodec.so.57.64.101
Any ideas what is wrong with my video playback?
[EDIT 1]
Solved the video playback issue: Although aptitude reported mpv as installed, and the executable was there, I was able to install it with 'apt-get install mpv'. So I guess there is something broken with my repository. After the installation process (which included some dependent packages) video playback worked with mpv as well as with smplayer.
It turned out, that I can't play videos.
$ zgrep RK_VCODEC /proc/config.gz
CONFIG_RK_VCODEC=y
$ file file.mp4
file.mp4: ISO Media, MP4 v2 [ISO 14496-14]
$ ffmpeg -benchmark -c:v h264_rkmpp -i file.mp4 -f null -
results in
Unknown decoder 'h264_rkmpp'
video player mpv fails with
$ mpv file.mp4
mpv: error while loading shared libraries: libavcodec.so.58: cannot open shared object file: No such file or directory
but
$ find /usr/lib |grep libavcodec
/usr/lib/arm-linux-gnueabihf/libavcodec.so.57
/usr/lib/arm-linux-gnueabihf/libavcodec.so.57.64.101
Any ideas what is wrong with my video playback?
[EDIT 1]
Solved the video playback issue: Although aptitude reported mpv as installed, and the executable was there, I was able to install it with 'apt-get install mpv'. So I guess there is something broken with my repository. After the installation process (which included some dependent packages) video playback worked with mpv as well as with smplayer.