Closed
Bug 839830
Opened 12 years ago
Closed 9 years ago
<audio> plays ogg for a second and stops
Categories
(Core :: Audio/Video: Playback, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: marcin2006, Unassigned)
References
()
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0
Build ID: 20130206201250
Steps to reproduce:
I created an ogg file:
[mk@linux blogplay]$ oggenc -q10 test.wav
Skipping chunk of type "LIST", length 40
Opening with wav module: WAV file reader
Encoding "test.wav" to
"test.ogg"
at quality 10.00
[ 99.5%] [ 0m00s remaining] -
Done encoding file "test.ogg"
File length: 0m 59.0s
Elapsed time: 0m 02.2s
Rate: 27.6922
Average bitrate: 396.8 kb/s
(pure oggenc wav.test doesn't work as well)
Then I created a test site: http://koci.net.pl/inne/test.html
<audio src="test.ogg" controls type="audio/ogg"></audio>
and a .htaccess file:
AddType audio/ogg .oga
AddType video/ogg .ogv
AddType application/ogg .ogg
It can be prooved that it actually works:
[mk@linux blogplay]$ wget http://koci.net.pl/inne/test.ogg
--2013-02-10 00:33:03-- http://koci.net.pl/inne/test.ogg
Resolving koci.net.pl (koci.net.pl)... 91.231.140.73
Connecting to koci.net.pl (koci.net.pl)|91.231.140.73|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2975429 (2.8M) [application/ogg]
Actual results:
When I open this site with Firefox on Linux (Archlinux 64-bit) and click play button I can hear first second of the record. It stops on the first second. Then, after approximately 13 seconds the progressbar starts to move like the record was actually played but there is no sound.
Additional info: it behaves identically when I provide a local file to firefox: file:///home/mk/Documents/blogplay/test.ogg but sometimes it plays up to 3 seconds and stops.
Works on chrome, opera...
Expected results:
I expect that when I click play, I hear the whole record without any stops.
Component: Untriaged → General
Updated•12 years ago
|
Component: General → Video/Audio
Product: Firefox → Core
Comment 1•12 years ago
|
||
I do not see this issue with Firefox 18.0 on fedora 18 64-bit.
Comment 3•12 years ago
|
||
Does any HTML 5 media with audio work? For example, http://flim.org/~kinetik/sync_a.webm?
If you visit about:prefs and create a boolean pref name "media.use_cubeb" and set it to false, can you still reproduce the problem?
Can you please attach the output of the alsa-info.sh script to the bug? You can find a current copy at http://git.alsa-project.org/?p=alsa-driver.git;a=history;f=utils/alsa-info.sh
> Does any HTML 5 media with audio work?
I was using html5 mode on youtube successfully
> For example, http://flim.org/~kinetik/sync_a.webm?
Plays 1-4 seconds, then stops, after some time progress bar indicates that it resumed playing but there is no sound. Just like my case above.
> "media.use_cubeb" and set it to false
That fixes the problem with both records.
> Can you please attach the output of the alsa-info.sh script to the bug?
http://wklej.org/id/952462/
Yeah, maybe it's worth mentioning that I'm using not very common soundcard and have a dmix workaround for multiple sound sources at the same time. I'm fighting with it right now but I guess it's because of dmix.
Nah, I give up. Can't convince firefox to play any sound without dmix.
Comment 6•12 years ago
|
||
Thanks. Since you've confirmed that the old audio backend worked, it should be possible to modify the new backend to work on your system. I'll investigate further when I have time.
Updated•10 years ago
|
Component: Audio/Video → Audio/Video: Playback
Is this still an issue that affects the Pulse Audio backend?
Ok, 3 years after bug report I don't have media.use_cubeb value in my about:config and I'm a pulseaudio user. No problems whatsoever.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•