I've re-vampled the Wiki page for this information. Hopefully it's better and more accurate;
Wiki - Pinebook Pro - Kernel options
As usual, feel free to correct, improve or comment, (good or politely bad).
--
Arwen Evenstar
Princess of Rivendale
Thanks for the help.
Looks like we were just verifying the Wiki. ;-)
This worked for me:
zgrep RK_VCODEC /proc/config.gz
CONFIG_RK_VCODEC=y
Benchmarking Big Buck Bunny full HD 60 Hz reports around 3 times speed.
CPU running at 408 MHz.
So that looks good.
Now the challenge to make programs like VLC and Kazam (screen recorder) to make use of it.
When I play Big Buck Bunny with VLC, the CPU jumps to 2 GHz.
Kazam doesn't record video with h264.
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.
My FFMPEG is default Debian.