How to do hardware decoding of video?
#9
So finally had a chance to do some experimenting on this this weekend.  Followed the instructions in videoplayback notes when using ayufan's LXDE Bionic build, and when I attempt to play a file using rkmpv, I get a black screen, and this on the console:

Code:
Playing: test.mkv
(+) Video --vid=1 (*) (hevc 1920x1080 23.976fps)
(+) Audio --aid=1 --alang=eng (*) 'Surround' (aac 6ch 48000Hz)
    Audio --aid=2 --alang=eng 'Stereo' (aac 2ch 48000Hz)
    Audio --aid=3 --alang=fre 'Stereo' (aac 2ch 48000Hz)
    Audio --aid=4 --alang=spa 'Stereo' (aac 2ch 48000Hz)
    Subs  --sid=1 --slang=eng (hdmv_pgs_subtitle)
    Subs  --sid=2 --slang=fre (hdmv_pgs_subtitle)
    Subs  --sid=3 --slang=spa (hdmv_pgs_subtitle)
    Subs  --sid=4 --slang=spa (hdmv_pgs_subtitle)
    Subs  --sid=5 --slang=por (hdmv_pgs_subtitle)
    Subs  --sid=6 --slang=pol (hdmv_pgs_subtitle)
    Subs  --sid=7 --slang=dut (hdmv_pgs_subtitle)
    Subs  --sid=8 --slang=dan (hdmv_pgs_subtitle)
    Subs  --sid=9 --slang=fin (hdmv_pgs_subtitle)
    Subs  --sid=10 --slang=nor (hdmv_pgs_subtitle)
    Subs  --sid=11 --slang=swe (hdmv_pgs_subtitle)
(+) Subs  --sid=12 --slang=eng (*) (hdmv_pgs_subtitle)
[vo/gpu] VT_GETMODE failed: Inappropriate ioctl for device
[vo/gpu/opengl] Failed to set up VT switcher. Terminal switching will be unavailable.
[vo/gpu/opengl] Could not choose EGLConfig!
mpi: mpp version: Without VCS, under bleeding
AO: [pulse] 48000Hz 5.1 6ch float
H265D_PARSER: No start code is found.
Using hardware decoding (rkmpp).
VO: [gpu] 1920x1080 drm_prime
[vo/gpu] Using HW-overlay mode. No GL filtering is performed on the video!
[vo/gpu/drmprime-drm] Failed to create framebuffer on layer 0.
[vo/gpu/drmprime-drm] Failed to create framebuffer on layer 0.
AV: 00:00:00 / 01:01:37 (0%) A-V:  0.000
[vo/gpu/drmprime-drm] Failed to create framebuffer on layer 0.
AV: 00:00:00 / 01:01:37 (0%) A-V:  0.000
[vo/gpu/drmprime-drm] Failed to create framebuffer on layer 0.
AV: 00:00:00 / 01:01:37 (0%) A-V:  0.000
[vo/gpu/drmprime-drm] Failed to create framebuffer on layer 0.
AV: 00:00:00 / 01:01:37 (0%) A-V:  0.000
[vo/gpu/drmprime-drm] Failed to create framebuffer on layer 0.
AV: 00:00:00 / 01:01:37 (0%) A-V:  0.000
AV: 00:00:00 / 01:01:37 (0%) A-V:  0.000
[vo/gpu/drmprime-drm] Failed to create framebuffer on layer 0.
AV: 00:00:00 / 01:01:37 (0%) A-V:  0.000
AV: 00:00:00 / 01:01:37 (0%) A-V:  0.000
[vo/gpu/drmprime-drm] Failed to create framebuffer on layer 0.
AV: 00:00:00 / 01:01:37 (0%) A-V:  0.000
AV: 00:00:00 / 01:01:37 (0%) A-V:  0.000
[vo/gpu/drmprime-drm] Failed to create framebuffer on layer 0.
AV: 00:00:00 / 01:01:37 (0%) A-V:  0.000
AV: 00:00:00 / 01:01:37 (0%) A-V:  0.000
[vo/gpu/drmprime-drm] Failed to create framebuffer on layer 0.
AV: 00:00:00 / 01:01:37 (0%) A-V:  0.000
AV: 00:00:00 / 01:01:37 (0%) A-V:  0.000
[vo/gpu/drmprime-drm] Failed to create framebuffer on layer 0.
AV: 00:00:00 / 01:01:37 (0%) A-V:  0.000
AV: 00:00:00 / 01:01:37 (0%) A-V:  0.000
[vo/gpu/drmprime-drm] Failed to create framebuffer on layer 0.
AV: 00:00:00 / 01:01:37 (0%) A-V:  0.000
[vo/gpu/drmprime-drm] Failed to create framebuffer on layer 0.
AV: 00:00:00 / 01:01:37 (0%) A-V:  0.000
[vo/gpu/drmprime-drm] Failed to create framebuffer on layer 0.
AV: 00:00:00 / 01:01:37 (0%) A-V:  0.000
[vo/gpu/drmprime-drm] Failed to create framebuffer on layer 0.
AV: 00:00:00 / 01:01:37 (0%) A-V:  0.000
[vo/gpu/drmprime-drm] Failed to create framebuffer on layer 0.
AV: 00:00:00 / 01:01:37 (0%) A-V:  0.000
[vo/gpu/drmprime-drm] Failed to create framebuffer on layer 0.
AV: 00:00:00 / 01:01:37 (0%) A-V:  0.000
[vo/gpu/drmprime-drm] Failed to create framebuffer on layer 0.
AV: 00:00:00 / 01:01:37 (0%) A-V:  0.000
[vo/gpu/drmprime-drm] Failed to create framebuffer on layer 0.
AV: 00:00:00 / 01:01:37 (0%) A-V:  0.000

The failed framebuffer errors continue to print, with time indices gradually increasing, so the file appears to be "playing", only there is no video output.
  Reply


Messages In This Thread
RE: How to do hardware decoding of video? - by SuperSaiyanCaleb - 08-26-2018, 06:26 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: 1 Guest(s)