[SOLVED] HTML5 audio in iceweasel (firefox) stutters

Everything about X, Gnome, KDE, ... and everything running on it

[SOLVED] HTML5 audio in iceweasel (firefox) stutters

Postby dsc » 2012-08-30 17:00

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.
dsc
 
Posts: 68
Joined: 2012-03-09 15:14

Re: HTML5 audio in iceweasel (firefox) stutters

Postby michapma » 2012-09-06 14:04

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/
User avatar
michapma
 
Posts: 444
Joined: 2008-05-04 20:49
Location: to the left of Zurich

Re: HTML5 audio in iceweasel (firefox) stutters

Postby dsc » 2012-09-07 08:58

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!
dsc
 
Posts: 68
Joined: 2012-03-09 15:14

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

Postby michapma » 2012-09-07 10:11

Very welcome, please mark the title of the first post solved.
Enjoy the new weasel.
User avatar
michapma
 
Posts: 444
Joined: 2008-05-04 20:49
Location: to the left of Zurich


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 24 guests

fashionable