How to do hardware decoding of video?
#7
(08-12-2018, 04:55 AM)mcerveny Wrote: As I wrote hardware acceleration is fully supported on Rock64 (or many other Rockchip devices with MPP libraries).

So I can just slap Armbian on a microSD along with an HEVC-encoded MKV file and it will play as soon as I double-click the file or command mpv to play it? That's a rhetorical question, as I already know the answer is no. That's not a complaint, but apparently our definitions of "fully supported" differ. Since your post here was the first mention I've ever seen of MPP, I did some Googling on that and figured out how to hardware decode an HEVC file using ffmpeg and a null video output! (Currently am on ayufan's LXDE image.) But the same trick would not work with ffplay, and MPV would not play the file even if I specified the mpp decoder on the command line.

So tonight if I have time maybe I will see about switching back over to Armbian and see if I have any more luck with it. Some specific instructions on how to play a file with a given OS image would be awesome though...

Quote:If not, you should use MPV/KODI/rkplayer instead of your "randomly" chosen video player (from hundreds of available video players).

As I said, I'd be delighted to get videos playing on any media player you suggest. Also as I said before, and as continues to be the case so far, MPV hasn't worked. Or maybe I don't know what command to issue... Or what to install... Or what OS image works best... (All those things I was asking about in the first post...) Once I have playback working using the 'fully supported' method, I can see about working out my specific use cases after that. I just want to know what the elusive 'fully supported' method is... Undecided
  Reply


Messages In This Thread
RE: How to do hardware decoding of video? - by SuperSaiyanCaleb - 08-14-2018, 07:23 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to Change Video Memory Amount gazhow64 0 735 12-10-2022, 04:12 PM
Last Post: gazhow64
  The state of mainline hardware decoding CounterPillow 17 15,291 01-26-2022, 03:39 PM
Last Post: sigmaris
  Hardware acceleration using FFmpeg gusarg81 0 2,875 08-21-2020, 01:36 PM
Last Post: gusarg81
  Hardware Status Monitoring? Leapo 7 15,171 03-15-2020, 08:44 AM
Last Post: bendem
Information New Builds from ayufan (0.8.X) w Video/3D/Mate desktop Luke 37 53,284 09-09-2019, 04:01 AM
Last Post: ayufan
  Video : Media Script for the Rock64/4K video in Linux NicoD 1 4,233 03-30-2019, 02:17 AM
Last Post: zet_lab
  hardware-accelerated video transcoding (Plex) on Rock64 mdr 2 7,363 02-07-2019, 03:42 PM
Last Post: mdr
  Running debian testing, web video blows :( dougunder 2 3,673 04-22-2018, 03:24 PM
Last Post: dougunder
  Available video players with hw decoder support dlu 27 42,918 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,035 01-27-2018, 11:23 AM
Last Post: mcerveny

Forum Jump:


Users browsing this thread: 1 Guest(s)