Open Bug 1214521 Opened 11 years ago Updated 1 year ago

Cannot playback pcm-wav with 16bit, 2 channels, 192 kHz sample rate in audio-tag

Categories

(Core :: Audio/Video: Playback, defect, P5)

41 Branch
defect

Tracking

()

People

(Reporter: brootux, Unassigned, Mentored)

Details

(Keywords: html5, parity-chrome)

Attachments

(1 file)

Attached audio audiofile.wav —
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0 Build ID: 20151001175956 Steps to reproduce: Setting up a page with the following html5 audio tag: <html> <body> <audio style="width:640px;height:30px" controls> <source src="audiofile.wav" type="audio/wav" /> <em>Sorry, your browser does not support HTML5 audio.</em> </audio> </body> </html> The given wav-file (appended) is pcm-wav with 16 bit depth per chanel, 2 channels and a sample rate of 192 kHz. My operating system is ubuntu 14.04 (but this seems to be an os-independent bug, saw it on windows too). Actual results: Got the following error in dev-console, and no audio-player on the page (hidden player element): "Medien-Ressource file:///home/brootux/Downloads/audiofile.wav konnte nicht dekodiert werden. index.html" "Alle Kandidaten für die Ressource konnten nicht geladen werden. Medien-Laden pausiert." in english this means: "Could not decode file:///home/brootux/Downloads/audiofile.wav. index.html" "All candidates for the given resource could not be loaded. Loading of media paused." Expected results: In Chrome the playback works flawlessly. I think firefox cannot playback 192kHz sampled wav-files, but 44kHz and maybe 96kHz (haven't tested those).
Keywords: html5
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Status: UNCONFIRMED → NEW
Has STR: --- → yes
Component: Untriaged → Audio/Video: Playback
Ever confirmed: true
OS: Linux → All
Product: Firefox → Core
Hardware: x86_64 → All
Whiteboard: [parity-chrome]
Had the chance to test with safari: it works there too.
Mentor: giles
Priority: -- → P5
Works for me in nightly. Can you still reproduce the issue?
Flags: needinfo?(brootux)
Tested again with Firefox 45.0.1 under ubuntu 14.04. Test was not successful, same error as with FF41. @Anthony - was there some patch for audio in newer nightly versions? - What is the lowest version it should work for me? - What was your setup (OS, exact FF-version, ...)
Flags: needinfo?(brootux)
Should be fixed by bug 1231793 in Firefox 47. Otherwise you'll have to wait for bug 1262753 or bug 1247056.
Mass bug change to replace various 'parity' whiteboard flags with the new canonical keywords. (See bug 1443764 comment 13.)
Keywords: parity-chrome
Whiteboard: [parity-chrome]
Severity: normal → S3

This can be closed, the WAV file works now.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: