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.

Firefox+HTML5+H.264+MP4+Orange PI+ 2+H3 Quad-core ARM Cortex-A7: Sound problem

Featured Replies

What do I have:
CPU: H3 Quad-core ARM Cortex-A7 https://en.wikipedia.org/wiki/ARM_Cortex-A7
OS: Armbian Ubuntu Xenial https://www.armbian.com/orange-pi-plus-2
Audio subsystem: PulseAudio

 

Problem:
Firefox: video is played fine, but audio – NOT: white noise only.
Youtube on Firefox: one part of clips is played fine, second part of clips: video is played fine, but audio – NOT: white noise only.
Naturally, second part of Youtube clips have format H.264/MP4.

 

However:
Chromium: ALL Youtube clips is played fine.
Downloading test video in format H.264/MP4 to local disk.
mpv: test video is played fine.
kodi: test video is played fine.
Therefore, the problem NOT in hardware, NOT in PulseAudio, but EXACTLY in Firefox or its plugins.

 

I’m trying install plugins and addons from OS and Firefox repositories, but the problem still is not solved.
Please help me.

The first, more or less, generic answer is: there is no video acceleration within any browser on Linux for those boards. It's a complex problem, which we don't have resources to deal with, a job for a small team and so far I haven't see much progress if any.


There might be some workarounds / plugins which pipe video to mpv (which knows to play accelerated video), but it's out of my interest zone. Don't know if that works.

On 21.4.2017 at 6:58 AM, Igor said:

The first, more or less, generic answer is: there is no video acceleration

 

Video decoding is done via vdpau am I right?

There seems to be an gstreamer vaapi plugin. This would enable hw accelerated video at least with midori. (and ofc. with any other gstreamer based application! This would even enable video streaming to the board via rygel!)

Have not tested it yet, but sounds promising.

 

https://packages.debian.org/jessie/gstreamer1.0-vaapi
 

10 minutes ago, giri@nwrk.biz said:

Video encoding is done via vdpau am I right?

Video decoding and video output is done via a VDPAU backend: https://github.com/linux-sunxi/libvdpau-sunxi

 

11 minutes ago, giri@nwrk.biz said:

There seems to be an gstreamer vaapi plugin.

VAAPI != VDPAU (even though there are ways to use one through anouther), and please keep in mind that libvdpau-sunxi implementation is minimal enough to get players like mpv, mplayer and vlc working.

On 29.6.2017 at 4:46 PM, zador.blood.stained said:

Video decoding

Jup, i always mix these two words up. Sorry for that.

 

 I meant using vdpau in gstreamer with gstreamer1.0-vaapi and vdpau-va-driver.

 

And it perfectly works, just tested it using parole (videoplayer using gstreamer). So the rygel thing should also work :). Playing youtube videos with midori/qupzilla/firefox does not work very well though.

Guest
This topic is now closed to further replies.

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.