How to do hardware decoding of video?
#6
(08-12-2018, 04:55 AM)mcerveny Wrote:
(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)
  • 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) ?
If not, you should use MPV/KODI/rkplayer instead of your "randomly" chosen video player (from hundreds of available video players).

I do not pretend to use some special player, but in the assemblies from Ayufan can not normally use even MPV or SM Player, only through some cunning manipulation.

You can immediately make the person started the video and it is not played immediately in full screen, where it is not clear how to manage it, and about working with the playlist, I'm silent at all
  Reply


Messages In This Thread
RE: How to do hardware decoding of video? - by zet_lab - 08-12-2018, 12:08 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to Change Video Memory Amount gazhow64 0 973 12-10-2022, 04:12 PM
Last Post: gazhow64
  The state of mainline hardware decoding CounterPillow 17 18,044 01-26-2022, 03:39 PM
Last Post: sigmaris
  Hardware acceleration using FFmpeg gusarg81 0 3,096 08-21-2020, 01:36 PM
Last Post: gusarg81
  Hardware Status Monitoring? Leapo 7 16,506 03-15-2020, 08:44 AM
Last Post: bendem
Information New Builds from ayufan (0.8.X) w Video/3D/Mate desktop Luke 37 58,704 09-09-2019, 04:01 AM
Last Post: ayufan
  Video : Media Script for the Rock64/4K video in Linux NicoD 1 4,599 03-30-2019, 02:17 AM
Last Post: zet_lab
  hardware-accelerated video transcoding (Plex) on Rock64 mdr 2 8,078 02-07-2019, 03:42 PM
Last Post: mdr
  Running debian testing, web video blows :( dougunder 2 4,139 04-22-2018, 03:24 PM
Last Post: dougunder
  Available video players with hw decoder support dlu 27 47,675 03-01-2018, 11:45 AM
Last Post: elik745i
Lightbulb MPP+DRM: low level API for video codecs and display (also 4k UHD+HDR+HLG) mcerveny 0 3,356 01-27-2018, 11:23 AM
Last Post: mcerveny

Forum Jump:


Users browsing this thread: 3 Guest(s)