Closed Bug 1320652 Opened 8 years ago Closed 7 years ago

Web Audio: AAC decoding leaves gaps at beginning and end

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1321249

People

(Reporter: jaffathecake, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2933.0 Safari/537.36

Steps to reproduce:

https://jakearchibald.github.io/aac-decode-bug/


Actual results:

In the AAC decode, there's a large gap at the start and the end.


Expected results:

Gap should be the same as the wav. Safari gets this right, Chrome and Edge also get this wrong.
Component: Untriaged → Web Audio
Product: Firefox → Core
Thank you for the testcase.

ISTR something about AAC having a specified interval that should be subtracted from the start.  I may also recall something about different encoders not being consistent.  Not sure though, and not sure where in the pipeline this should be subtracted.

I'll move this to A/V Playback, as people who know about decoders will know more about this.  If you think WebAudio should modify what it gets from the decoders, then please advise and move back to WebAudio.
Component: Web Audio → Audio/Video: Playback
Summary: Web Audio: AAC decoding leaves gaps → Web Audio: AAC decoding leaves gaps at beginning and end
I've opened an issue with the spec https://bugzilla.mozilla.org/show_bug.cgi?id=1320652
Haha, yes I did. Whoops.
Jean-Yves - know anything about this?
Flags: needinfo?(jyavenard)
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Flags: needinfo?(jyavenard)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.