Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

how to fix mp3 playback in Iceweasel ?

Problems with your sound card are to be posted here, as well as tutorials to share with others.
Message
Author
User avatar
dolphin_oracle
Forum Veteran
Forum Veteran
Posts: 9274
Joined: Sun Dec 16, 2007 1:17 pm

Re: how to fix mp3 playback in Iceweasel ?

#11 Post by dolphin_oracle » Thu Jun 11, 2015 1:51 pm

Stevo wrote:Update: It seems the linked thread says it was the gstreamer1.0-plugins-bad package from wheezy-backports that seemed to provide the fix, not the 0.10 stock Wheezy version.

gstreamer1.0-plugins-bad worked for mp3 files in iceweasel 31.7 on MX (which might be using the wheezy-backport version). FLAC does not. FWIW, chrome on windows doesn't support flac either.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad T530 - MX-17
lenovo s21e & 100s - antiX-17, MX17(live-usb)
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
eemaestro
Forum Guide
Forum Guide
Posts: 1010
Joined: Wed Aug 02, 2006 12:12 pm

Re: how to fix mp3 playback in Iceweasel ?

#12 Post by eemaestro » Thu Jun 11, 2015 2:19 pm

Stevo wrote:Update: It seems the linked thread says it was the gstreamer1.0-plugins-bad package from wheezy-backports that seemed to provide the fix, not the 0.10 stock Wheezy version.
Oh, how do I go with that one then? Or should I just install Firefox?
BTW, I was able to play an mp3 file I found in Dolphin w/ Audacity and heard it in stereo.

User avatar
dolphin_oracle
Forum Veteran
Forum Veteran
Posts: 9274
Joined: Sun Dec 16, 2007 1:17 pm

Re: how to fix mp3 playback in Iceweasel ?

#13 Post by dolphin_oracle » Thu Jun 11, 2015 3:29 pm

eemaestro wrote:
Stevo wrote:Update: It seems the linked thread says it was the gstreamer1.0-plugins-bad package from wheezy-backports that seemed to provide the fix, not the 0.10 stock Wheezy version.
Oh, how do I go with that one then? Or should I just install Firefox?
BTW, I was able to play an mp3 file I found in Dolphin w/ Audacity and heard it in stereo.
you'll want to enable this repo:

Code: Select all

deb http://ftp.us.debian.org/debian/ wheezy-backports main contrib non-free
refresh your sources

Code: Select all

apt-get update
and install the package with the -t command to specify the repo.

Code: Select all

apt-get install -t wheezy-backports gstreamer1.0-plugins-bad
It will bring in some other depends, but the -t switch will make sure the base package and the depends will download from wheezy-backports.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad T530 - MX-17
lenovo s21e & 100s - antiX-17, MX17(live-usb)
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
eemaestro
Forum Guide
Forum Guide
Posts: 1010
Joined: Wed Aug 02, 2006 12:12 pm

Re: how to fix mp3 playback in Iceweasel ?

#14 Post by eemaestro » Thu Jun 11, 2015 4:31 pm

Dolphin_oracle,
I appended that line to /etc/apt/sources.list. I did the other two things you suggested.

Code: Select all

.
.
.
Hit http://main.mepis-deb.org mepis12cr/non-free Translation-en
Reading package lists... Done
W: Duplicate sources.list entry http://ftp.us.debian.org/debian/ wheezy-backports/main amd64 Packages (/var/lib/apt/lists/ftp.us.debian.org_debian_dists_wheezy-backports_main_binary-amd64_Packages)
W: Duplicate sources.list entry http://ftp.us.debian.org/debian/ wheezy-backports/contrib amd64 Packages (/var/lib/apt/lists/ftp.us.debian.org_debian_dists_wheezy-backports_contrib_binary-amd64_Packages)
W: Duplicate sources.list entry http://ftp.us.debian.org/debian/ wheezy-backports/non-free amd64 Packages (/var/lib/apt/lists/ftp.us.debian.org_debian_dists_wheezy-backports_non-free_binary-amd64_Packages)
W: Duplicate sources.list entry http://ftp.us.debian.org/debian/ wheezy-backports/main i386 Packages (/var/lib/apt/lists/ftp.us.debian.org_debian_dists_wheezy-backports_main_binary-i386_Packages)
W: Duplicate sources.list entry http://ftp.us.debian.org/debian/ wheezy-backports/contrib i386 Packages (/var/lib/apt/lists/ftp.us.debian.org_debian_dists_wheezy-backports_contrib_binary-i386_Packages)
W: Duplicate sources.list entry http://ftp.us.debian.org/debian/ wheezy-backports/non-free i386 Packages (/var/lib/apt/lists/ftp.us.debian.org_debian_dists_wheezy-backports_non-free_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
Then I restarted my computer.
Am getting the same results on the media webpage http://hpr.dogphilosophy.net/test/index.php
Everything works but the MP3 and the FLAC files, which give error messages.

User avatar
dolphin_oracle
Forum Veteran
Forum Veteran
Posts: 9274
Joined: Sun Dec 16, 2007 1:17 pm

Re: how to fix mp3 playback in Iceweasel ?

#15 Post by dolphin_oracle » Thu Jun 11, 2015 4:36 pm

looks like you might have already had the wheezy-backports repo enabled.


all is working fine here, although I am using MX and not MEPIS. I'm at a loss. Installing the gstreamer0.10-plugins-bad was enough for me to play the mp3 (and I see you have that installed already).

the only other thing I can think to try would be to a later version of iceweasel, but I'm starting to wonder if you have something else going on.

this repo will get you the latest iceweasel.

Code: Select all

deb http://mozilla.debian.net/ wheezy-backports iceweasel-release
you won't need the -t option with this repo. you can enable, refresh, and install/upgrade iceweasel as normal.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad T530 - MX-17
lenovo s21e & 100s - antiX-17, MX17(live-usb)
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 16155
Joined: Fri Dec 15, 2006 8:07 pm

Re: how to fix mp3 playback in Iceweasel ?

#16 Post by Stevo » Thu Jun 11, 2015 5:06 pm

The backports repository was enabled by default in the M12 beta, eemaestro did not check first to see if it was enabled in Synaptic and if the 1.0 gstreamer packages were available (they were), so now there's a duplicate entry in the sources. Firefox would also need the gstreamer 1.0 package for playback.

Since wheezy-backports is the only source of the 1.0 gstreamer packages, we actually don't have to specify where they come from with the "-t", either.

M12 did not ship with gstreamer playback set up correctly for all users, for that the "gnome-media" package needs to be installed, then run in a terminal

Code: Select all

gstreamer-properties
to test and configure gstreamer. But pulseaudio 5 from the M12 test CR might just get everything working automagically, too. It does on my laptop.

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 16155
Joined: Fri Dec 15, 2006 8:07 pm

Re: how to fix mp3 playback in Iceweasel ?

#17 Post by Stevo » Thu Jun 11, 2015 6:30 pm

Hmmm--it also looks like what gstreamer version you need depends on what it was built against. Our Pale Moon versions are built against 0.10, so I assume that is what is they need--and I think our Firefox Mozilla binaries also built against the older versions on CentOS 6, so that would work with M11's gstreamer-0.10 packages.

However, even though I have both 1.0 and 0.10 packages installed, Palemoon can't play mp3 and flac files in that test. Everything else works. Hopefully in the future, everything will be in the opus format.

Image

User avatar
eemaestro
Forum Guide
Forum Guide
Posts: 1010
Joined: Wed Aug 02, 2006 12:12 pm

Re: how to fix mp3 playback in Iceweasel ?

#18 Post by eemaestro » Thu Jun 11, 2015 7:10 pm

Yes, Stevo, you were right--there was a duplicate deb line in my /etc/apt/sources.list
I removed it. Thank you for pointing that out. Also noticed I have a line

Code: Select all

# deb http://main.mepis-deb.org/mepiscr/testrepo/ mepis12cr test
which am guessing is commented out. Should I remove the pound character in this file before installing pulseaudio w/ apt-get?

BTW I'm getting the same results at the webpage http://hpr.dogphilosophy.net/test/index.php
--everything works but the MP3 and the FLAC files, which give error messages ---using Opera.

User avatar
asqwerth
Forum Veteran
Forum Veteran
Posts: 3253
Joined: Sun May 27, 2007 5:37 am

Re: how to fix mp3 playback in Iceweasel ?

#19 Post by asqwerth » Thu Jun 11, 2015 10:06 pm

dolphin_oracle wrote:looks like you might have already had the wheezy-backports repo enabled.


all is working fine here, although I am using MX and not MEPIS. I'm at a loss. Installing the gstreamer0.10-plugins-bad was enough for me to play the mp3 (and I see you have that installed already).

the only other thing I can think to try would be to a later version of iceweasel, but I'm starting to wonder if you have something else going on.

this repo will get you the latest iceweasel.....
I'm on MX14, my iceweasel is version 31.7.0

I don't have gstreamer0.10-plugins-bad installed.

I can play all the sound files in http://hpr.dogphilosophy.net/test/index.php except flac.

So it's not the gstreamer-bad stuff that enables the playing of mp3, nor is iceweasel 31.7.0's html limited in that respect.
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 16155
Joined: Fri Dec 15, 2006 8:07 pm

Re: how to fix mp3 playback in Iceweasel ?

#20 Post by Stevo » Thu Jun 11, 2015 11:03 pm

Currently pulseaudio is in the main M12 CR, so you don't have to use the test repo. That one you should use the

Code: Select all

apt-get install -t mepis pulseaudio
since there are several versions available. But I'm starting to think that it's something a bit weird with your setup.

Post Reply

Return to “Sound”