Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED] HTML5 audio in iceweasel (firefox) stutters

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
dsc
Posts: 68
Joined: 2012-03-09 15:14

[SOLVED] HTML5 audio in iceweasel (firefox) stutters

#1 Post by dsc »

When playing HTML5 audio in iceweasel 3.6.26, the sound stutters. Look at this video to know what I mean: http://www.youtube.com/watch?v=qwNTJZVBb3g

The HTML code is the following:

Code: Select all

<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>test</title>
</head>
<body>
<div style="margin: 50px; padding: 20px; text-align: center; background:yellow;">
<audio src="/usr/lib/libreoffice/share/gallery/sounds/applause.wav" controls></audio>
</div>
</body>
</html>
This happens on a fully updated Debian Squeeze 64-bit box. Here's some additional information:

Code: Select all

$ uname -a
Linux myhostname 2.6.32-5-amd64 #1 SMP Sun May 6 04:00:17 UTC 2012 x86_64 GNU/Linux

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 3: ATI HDMI [ATI HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

$ lspci -v | grep -A 6 'Audio'
00:1b.0 Audio device: Intel Corporation Cougar Point High Definition Audio Controller (rev 04)
	Subsystem: Hewlett-Packard Company Device 1494
	Flags: bus master, fast devsel, latency 0, IRQ 22
	Memory at fe720000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: HDA Intel

--
01:00.1 Audio device: ATI Technologies Inc Device aa90
	Subsystem: PC Partner Limited Device aa90
	Flags: bus master, fast devsel, latency 0, IRQ 17
	Memory at fe640000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: HDA Intel
Any help would be appreciated. I'd gladly provide additional information.
Last edited by dsc on 2012-09-07 08:58, edited 1 time in total.

User avatar
michapma
Posts: 544
Joined: 2008-05-04 20:49
Location: Prague

Re: HTML5 audio in iceweasel (firefox) stutters

#2 Post by michapma »

This may not be the answer you're looking for, but I recreated your test file and can confirm that it works properly in iceweasel 10.0.7 on wheezy. Firefox 3.6 was the first release to support html5, so I don't find it too surprising. Does it really make sense to struggle with an aging browser? You should consider backporting Iceweasel anyway, if only for security reasons -- as recommended by the Debian security team.

http://mozilla.debian.net/

dsc
Posts: 68
Joined: 2012-03-09 15:14

Re: HTML5 audio in iceweasel (firefox) stutters

#3 Post by dsc »

Ah, thank you for pointing that out to me. It's working correctly in both 10.0.6esr-1~bpo60+1 (from backports.debian.org) and 15.0-1~bpo60+1 (from mozilla.debian.net).

Solved for me. Thanks, michapma!

User avatar
michapma
Posts: 544
Joined: 2008-05-04 20:49
Location: Prague

Re: [SOLVED] HTML5 audio in iceweasel (firefox) stutters

#4 Post by michapma »

Very welcome, please mark the title of the first post solved.
Enjoy the new weasel.

Post Reply