You are not logged in.

#1 2015-09-29 21:48:57

expat2be
Member
From: Las Vegas
Registered: 2015-09-29
Posts: 28
Website

[SOLVED] RC1's IceWeasel fails HTML5 audio tests (MP3 and M4A)

Reference test sites:

r_Qyxz_JfNFAgg1dPdbm16WMENR5bLZ7qyelx-hphz-qS5sIHMFn65w6x_LBefqqiOVxySVq2HKwLg=w120-h120

(1) http://hpr.dogphilosophy.net/test/
(2) https://html5test.com/

You can also see a "real world" streaming MP3 failure on one of my (radio jukebox) web sites:

http://www.gooplusplus.com/jukebox

Most radio streams from stations A1-Y7 are in MP3 format while stations Z2-ZY are in OGG format. In Bunsen Labs RC1 and many other Linux distros running Firefox-compatible browsers, all OGG stations work while all MP3 stations fail.

The MP3 radio streams work in most major Windows browsers except Opera. The MP3 streams work in all Linux versions of Chrome and Chromium. The MP3 streams work in Firefox in Xubuntu and other distros but fail with Firefox in other distros.

In Linux Firefox (and compatible browsers), the failure seems to be related to Gstreamer. Ubuntu Mate was fixed by simply adding gstreamer1.0-libav but this did not always work with other distros. Other distros could be fixed by adding gstreamer0.10-plugins-ugly or gstreamer1.0-plugins-ugly. I tried both fixes using BL RC1 USB "live session" Synaptic but neither worked.

Last edited by expat2be (2015-10-02 21:34:54)


Radio Jukebox | USB Multiboot Collections | HomeNet Wi-Fi Media Server | Compact Linux Directory | Mobile Web Sites

-- One of those curious distrohopping crunchbangers since the good ole early days back in 2008 --

Offline

#2 2015-09-29 22:09:09

twoion
ほやほや
Registered: 2015-08-10
Posts: 2,553

Re: [SOLVED] RC1's IceWeasel fails HTML5 audio tests (MP3 and M4A)

Check out the 'media.peerconnection.video.h264_enabled' and 'media.gstreamer.enabled' in about:config. Set them to 'true'. Set 'media.gstreamer.enable-blacklist' to 'false'. Make sure that all of the gstreamer stuff is installed. Does mp3 playback work now?

I think resolving this issue in general is impossible due to the intercertainties of Linux multimedia configurations and random blacklists. Moreover, it's probably required to tune Iceweasel profiles and since users due create new ones all the time. I gather that it is possible to plant some preference files that override individual profile configurations, but a) there is (probably) a reason for the blacklist being there and b) users might not want to use unfree software.


At the end of the river the sundown beams

Offline

#3 2015-09-30 00:13:05

expat2be
Member
From: Las Vegas
Registered: 2015-09-29
Posts: 28
Website

Re: [SOLVED] RC1's IceWeasel fails HTML5 audio tests (MP3 and M4A)

twoion wrote:

I think resolving this issue in general is impossible due to the intercertainties of Linux multimedia configurations and random blacklists.

And yet there are many Linux examples like Xubuntu, Linux Mint and Zorin OS that have no problem playing MP3 files in Firefox and compatible browsers and other distros such as Ubuntu Mate where a fix is trivial .

Last edited by expat2be (2015-09-30 08:56:24)


Radio Jukebox | USB Multiboot Collections | HomeNet Wi-Fi Media Server | Compact Linux Directory | Mobile Web Sites

-- One of those curious distrohopping crunchbangers since the good ole early days back in 2008 --

Offline

#4 2015-10-01 10:12:48

expat2be
Member
From: Las Vegas
Registered: 2015-09-29
Posts: 28
Website

Re: [SOLVED] RC1's IceWeasel fails HTML5 audio tests (MP3 and M4A)

UPDATE:

I never install Beta and RC distros to hard disk and for some reason my VMware installation of Bunsen Labs RC1 had no audio. So, it is possible that the HTML5 audio MP3 test failure is limited to USB "live session" use. Two users seem to indicate that it might be. Perhaps something in the Welcome update scripts fixed the problem. I will check when Hydrogen goes final.

BTW, Xubuntu, Linux Mint and Zorin OS all passed the HTML5 audio MP3 test in both USB "live session" and when installed.

Last edited by expat2be (2015-10-01 11:53:06)


Radio Jukebox | USB Multiboot Collections | HomeNet Wi-Fi Media Server | Compact Linux Directory | Mobile Web Sites

-- One of those curious distrohopping crunchbangers since the good ole early days back in 2008 --

Offline

#5 2015-10-01 10:19:29

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: [SOLVED] RC1's IceWeasel fails HTML5 audio tests (MP3 and M4A)

expat2be wrote:

Perhaps something in the Welcome update scripts fixed the problem.

deb-multimedia, perhaps?


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#6 2015-10-01 11:32:57

Unia
Octo-portal-pussy
From: Stockholm, Sweden
Registered: 2015-09-17
Posts: 355
Website

Re: [SOLVED] RC1's IceWeasel fails HTML5 audio tests (MP3 and M4A)

expat2be wrote:

I will check when Hydrogen goes final.

Now this is just worthless. You've been mentioning this all over the place (both here and at the #! forums) but when there is a sensible lead to track down the issue is apparantly not important enough anymore. Sheesh.


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#7 2015-10-01 12:06:57

expat2be
Member
From: Las Vegas
Registered: 2015-09-29
Posts: 28
Website

Re: [SOLVED] RC1's IceWeasel fails HTML5 audio tests (MP3 and M4A)

Two users have suggested that the hard disk install implementation fixed the problem.

So, it is or will be either fixed or it won't. I don't install Betas and RCs to hard disk.

For those who did install to hard disk, checking is easy: http://hpr.dogphilosophy.net/test/


Radio Jukebox | USB Multiboot Collections | HomeNet Wi-Fi Media Server | Compact Linux Directory | Mobile Web Sites

-- One of those curious distrohopping crunchbangers since the good ole early days back in 2008 --

Offline

#8 2015-10-01 21:46:35

redcollective
Member
From: The Wilds
Registered: 2015-09-29
Posts: 111

Re: [SOLVED] RC1's IceWeasel fails HTML5 audio tests (MP3 and M4A)

OP please see my post in your other thread, let me know how you get on.

red


Knowledge Ferret

Offline

#9 2015-10-02 00:01:29

expat2be
Member
From: Las Vegas
Registered: 2015-09-29
Posts: 28
Website

Re: [SOLVED] RC1's IceWeasel fails HTML5 audio tests (MP3 and M4A)

redcollective wrote:

OP please see my post in your other thread, let me know how you get on.

red

gstreamer1.0-libav seems to be what is used in Xubuntu successfully. In Ubuntu Mate, a working fix was also adding gstreamer1.0-libav.

Even though my audio is not working in my VMware installation of BL RC1, I may look again at the HTML5 test anyway to see what it says when trying to play the MP3 link. I also may try creating a second BL RC1 VM and installing from inside a BL VM "live session" instead of from the BL VM boot menu.

Thanks for your own VM testing. Did you perform the HTML5 test from within a VM "live session" or within a VM "installed" session?

Last edited by expat2be (2015-10-03 10:03:37)


Radio Jukebox | USB Multiboot Collections | HomeNet Wi-Fi Media Server | Compact Linux Directory | Mobile Web Sites

-- One of those curious distrohopping crunchbangers since the good ole early days back in 2008 --

Offline

#10 2015-10-02 00:03:42

tknomanzr
BL Die Hard
From: Around the Bend
Registered: 2015-09-29
Posts: 1,029

Re: [SOLVED] RC1's IceWeasel fails HTML5 audio tests (MP3 and M4A)

^ Note my post as well. It is the fix and I am fairly certain Iceweasel is being installed with no-recommends which is creating the trip-up. It is a common enough package, it should prolly be included, imo. A quick peek at handbrake, for instance, also lists it as a recommend.

Offline

#11 2015-10-02 01:37:11

hhh
Meep!
Registered: 2015-09-17
Posts: 8,719
Website

Re: [SOLVED] RC1's IceWeasel fails HTML5 audio tests (MP3 and M4A)

Gents, please post here specifically which package(s) you're requesting for inclusion so there is no ambiguity. Thanks.

Online

#12 2015-10-02 01:43:55

tknomanzr
BL Die Hard
From: Around the Bend
Registered: 2015-09-29
Posts: 1,029

Re: [SOLVED] RC1's IceWeasel fails HTML5 audio tests (MP3 and M4A)

gstreamer1.0-plugins-libav for sure and possibly gstreamer1.0-plugins-good.
gstreamer1.0-plugins-libav fixes the issue in question. It would probably not hurt to add the second as well though I haven't check where it is used. Both recommends for iceweasel.

Offline

#13 2015-10-02 01:52:34

hhh
Meep!
Registered: 2015-09-17
Posts: 8,719
Website

Re: [SOLVED] RC1's IceWeasel fails HTML5 audio tests (MP3 and M4A)

Got it. I'll probably include all the gstreamer plugins available in jessie in the next ISO.

Online

#14 2015-10-02 01:56:55

tknomanzr
BL Die Hard
From: Around the Bend
Registered: 2015-09-29
Posts: 1,029

Re: [SOLVED] RC1's IceWeasel fails HTML5 audio tests (MP3 and M4A)

No worries. I know how tough it can be to sort it all out. You are doing an awesome job, btw.

Offline

#15 2015-10-02 02:10:45

hhh
Meep!
Registered: 2015-09-17
Posts: 8,719
Website

Re: [SOLVED] RC1's IceWeasel fails HTML5 audio tests (MP3 and M4A)

Thanks! Thanks for your help and support as well.  smile

Online

#16 2015-10-02 02:51:04

Bearded_Blunder
Dodging A Bullet
From: Seat: seat0; vc7
Registered: 2015-09-29
Posts: 730

Re: [SOLVED] RC1's IceWeasel fails HTML5 audio tests (MP3 and M4A)

FWIW mp3 works in VMplayer using vanilla debian Jessie (LXDE) .flac does not, in terms of browser support using the suggested test site. so perhaps it is a recommends issue.

In terms of sound support, it would appear vanilla debian LXDE needs troubleshooting OOTB if installed to VMplayer 6.0.7 so Bunsen is one up there, at least for me smile

[edit]Stupidest "fix" for that one btw.. apt-get install vlc, use it once.. suddenly the sound is miraculously "fixed" systemwide, though it didn't work before![/edit]

[edit2]sudo apt-get remove iceweasel  followed by sudo apt-get install iceweasel fixes mp3 when it pulls the recommends in[/edit2]

Last edited by Bearded_Blunder (2015-10-02 03:04:50)


Blessed is he who expecteth nothing, for he shall not be disappointed...
If there's an obscure or silly way to break it, but you don't know what.. Just ask me

Offline

#17 2015-10-02 07:04:49

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: [SOLVED] RC1's IceWeasel fails HTML5 audio tests (MP3 and M4A)

hhh wrote:

Gents, please post here specifically which package(s) you're requesting for inclusion so there is no ambiguity. Thanks.

https://packages.debian.org/jessie/libavcodec56
https://packages.debian.org/jessie/libavcodec-extra

That would cover pretty much everything.


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#18 2015-10-02 09:30:35

pvsage
Internal Affairs
Registered: 2015-09-29
Posts: 1,433

Re: [SOLVED] RC1's IceWeasel fails HTML5 audio tests (MP3 and M4A)

Looks like FLAC support comes with libflac8, which is listed as automatically installed on my somewhat modified LXDE Jessie box.  Not sure which package I installed pulled it in, but since it's a dependency of gstreamer1.0-plugins-good, which has already been suggested, it looks like it will be covered.


Be excellent to each other, and...party on, dudes!
BunsenLabs Forum Rules
Tending and defending the Flame since 2009

Offline

#19 2015-10-02 12:19:39

expat2be
Member
From: Las Vegas
Registered: 2015-09-29
Posts: 28
Website

Re: [SOLVED] RC1's IceWeasel fails HTML5 audio tests (MP3 and M4A)

Re: http://hpr.dogphilosophy.net/test/

Even though the audio in my VMware BL RC1 "installed" session does not work, there is visual evidence when clicking on the HTML5 test MP3 link that it fails. This suggests to me that  the HTML5 MP3 test failure is not limited to USB "live session".

Using Synaptic to add gstreamer1.0-libav and gstreamer1.0-plugins-good seems to fix the HTML5 MP3 problem, at least visually, i.e., the MP3 file appears to be playing where it did not without these gstreamer additions.

I would note that many Ubuntu-based distros also fail the HTML5 MP3 test but Xubuntu passes this test. Xubuntu does NOT show gstreamer1.0-plugins-libav in their list of packages but it does include gstreamer1.0-libav and gstreamer1.0-plugins-good.

Last edited by expat2be (2015-10-02 12:39:06)


Radio Jukebox | USB Multiboot Collections | HomeNet Wi-Fi Media Server | Compact Linux Directory | Mobile Web Sites

-- One of those curious distrohopping crunchbangers since the good ole early days back in 2008 --

Offline

#20 2015-10-02 13:12:05

tknomanzr
BL Die Hard
From: Around the Bend
Registered: 2015-09-29
Posts: 1,029

Re: [SOLVED] RC1's IceWeasel fails HTML5 audio tests (MP3 and M4A)

The reason I was able to guess this is because I am running off the BunsenLabs netinstall script as opposed to the  Live ISO. The difference is that it is much easier to specify installed recommends in a running bash script on a per app basis  than it is in Debian Live. Debian Live you either go whole hog with the recommends, which can pull in a bunch of stuff you might not want or fudge around with custom apartment pinning. I support hhh's decision to go with no-recommends and sort out what might be missing, which is how this discussion came about. There will be a few things that might get missed via this strategy, but given time we will figure out what and where.

Offline

#21 2015-10-02 18:31:27

hhh
Meep!
Registered: 2015-09-17
Posts: 8,719
Website

Re: [SOLVED] RC1's IceWeasel fails HTML5 audio tests (MP3 and M4A)

expat2be wrote:

Re: http://hpr.dogphilosophy.net/test/
... clicking on the HTML5 test MP3 link... fails.

Confirmed in an RC1 64 bit Live session. Thanks for reporting this, when I said it WFM I must have already installed audacious (one of the first things I do on a Debian system).

I'll try installing the packages posted here and report back.

Online

#22 2015-10-02 19:24:47

hhh
Meep!
Registered: 2015-09-17
Posts: 8,719
Website

Re: [SOLVED] RC1's IceWeasel fails HTML5 audio tests (MP3 and M4A)

sudo apt-get install --no-install-recommends gstreamer1.0-libav gstreamer1.0-plugins-good

That gets the mp3 test at dogphilosophy to play for me. I needed both packages to get it to work, for whatever reason.

libavcodec56 is already present on the ISO and so is libflac8. I've installed libavcodec-extra but no joy on the flac test, so if anyone has any suggestions...

Online

#23 2015-10-02 19:34:48

tknomanzr
BL Die Hard
From: Around the Bend
Registered: 2015-09-29
Posts: 1,029

Re: [SOLVED] RC1's IceWeasel fails HTML5 audio tests (MP3 and M4A)

You could try Flac.
A cursory search suggests that flac is not commonly used in-browser, which makes sense, since it is a lossless protocol.

Offline

#24 2015-10-02 21:13:13

expat2be
Member
From: Las Vegas
Registered: 2015-09-29
Posts: 28
Website

Re: [SOLVED] RC1's IceWeasel fails HTML5 audio tests (MP3 and M4A)

tknomanzr wrote:

A cursory search suggests that flac is not commonly used in-browsel.

FLAC is not part of HTML5.

The HTML5 audio browser compatibility https://html5test.com/ tests for these audio types:

OGG
OPUS
MP3
AAC (M4A)
PCM
WebM (OGG or OPUS)

Assuming that VLC is installed, you can play almost any audio or video format file or stream in a Firefox-compatible browser. Just add VideoLan's browser-plugin-vlc and go to about:addons > plugins to change that plugin setting to ALWAYS ACTIVATE or ASK TO ACTIVATE.

sudo apt-get install vlc browser-plugin-vlc

Last edited by expat2be (2015-10-02 21:26:58)


Radio Jukebox | USB Multiboot Collections | HomeNet Wi-Fi Media Server | Compact Linux Directory | Mobile Web Sites

-- One of those curious distrohopping crunchbangers since the good ole early days back in 2008 --

Offline

#25 2015-10-02 21:21:05

hhh
Meep!
Registered: 2015-09-17
Posts: 8,719
Website

Re: [SOLVED] RC1's IceWeasel fails HTML5 audio tests (MP3 and M4A)

I'll include gstreamer1.0-libav gstreamer0.10-plugins-good gstreamer0.10-plugins-ugly in the next ISO release. I'm not planning to include the vlc plugin as I've never felt I missed it, but if people think it's a good idea we'll certainly discuss it.

Otherwise, feel free to close this.

Online

Board footer

Powered by FluxBB