Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Orangepi PC HW Accelerated Decode

Featured Replies

Hi,

 

I tested my board with below armbian distro. Question is , there are lots of entry about H3 hw decode problems, are these fixed in this distro?

 

When i open 1080p mp4 Big Buck Bunny video still doesnt work is that any specific settings to work with hw accelerated decode. How can i be sure that hw decoding is running with VLC? or any specific ffmpeg command.

 

Linux orangepipc 5.10.60-sunxi #21.08.1 SMP Wed Aug 25 18:19:32 UTC 2021 armv7l armv7l armv7l GNU/Linux

 

I tested video with

- VLC using 55% cpu

- MPV using 40% cpu

 

Umit


 

I just review the patches needed for kernel hwdec, and Armbian already has it, and build it as module.

 

here is the way you able to use hwdec.

 

1, download server image for orangepipc. hwdec not support X ot wayland.

2, build ffmpeg and mpv yourself.

 

A, build ffmpeg.

 

download ffmpeg 5.1.2 source from git or from ffmpeg.org (recommend git for easy apply patches)

apply patches from https://github.com/jernejsk/FFmpeg

    drmprime: v4l2-drmprime-n5.1.2 branch

   v4l2-request: v4l2-request-n5.1.2 branch

 

total 23 patches.

 

build ffmpeg with `--enable-hwaccels --enable-v4l2_m2m --enable-libdrm --enable-libudev --enable-v4l2-request`, others keep default.

 

B, build mpv

 

download and build with no X, no Wayland support.

 

mpv.conf

ao=alsa

vo=gpu

hwdec=drm

 

 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.