08-12-2018, 04:55 AM
(08-12-2018, 02:45 AM)SuperSaiyanCaleb Wrote: So is there no fleshed out procedure on how to use hardware decoding on this board in Linux yet?As I wrote hardware acceleration is fully supported on Rock64 (or many other Rockchip devices with MPP libraries).
The right questions:
- Is your video player aware of this ?
- Are you ready to configure your video player (ffmpeg based) to use hardware accelerated decoding ?
- ffmpeg must be compiled with "--enable-rkmpp" and "--enable-libdrm"
- video player must request "h264_rkmpp", "hevc_rkmpp", "vp8_rkmpp" or "vp9_rkmpp" decoder from ffmpeg
- video player must handle/display "AV_PIX_FMT_DRM_PRIME" (DRM DMA buffers) format to render output to DRM plane (best with DRM atomic)
- ffmpeg must be compiled with "--enable-rkmpp" and "--enable-libdrm"
- Are you ready to enhance/reprogram/redesign your video player to use hardware accelerated decoding chain ?
- Are you able to contact developers of your video player to make this setup for you (for fee, beer or free) ?
I left this community in Aug 2019 due to PINE64 refusal to produce/deliver ROCK64-1G version 3 after more than one year of changing statuses to "planning", "evaluating", "releasing", "availability", "estimated availability" and finally "no schedule" . ROCK64 is dead platform without any advantage. Buy Raspberry PI 4 !