[Webkit-unassigned] [Bug 228215] New: MP3 decoder ignoring XIPH header related to encoder delay and padding information

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 22 19:57:02 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=228215

            Bug ID: 228215
           Summary: MP3 decoder ignoring XIPH header related to encoder
                    delay and padding information
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Audio
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jean-yves.avenard at apple.com
                CC: cdumez at apple.com

Consider the following case:

STR:

1- Open https://jyavenard.github.io/htmltests/tests/webaudio/decodeAudioData.html
2- Select half-a-second-48000.mp3 at the bottom of the list
3- Click on play

Safari will show 26496 frames 0.552s.

This file is exactly .5s long and made of 24000 frames.

It contains a XIPH header that provides the encoder delay and padding information.

Chrome and Firefox properly parse those MP3 which results in a continuous audio stream when looping. On Safari you can here the incorrectly generated blank frames.

The ability the produce frame-exact content is important for web audio applications. 

WebKit uses ExtAudioFileRead to demux and decode this file and it returns too many frames.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210723/401b5e6c/attachment.htm>


More information about the webkit-unassigned mailing list