New issue
Advanced search Search tips

Issue 602698 link

Starred by 2 users

Issue metadata

Status: Verified
Owner: ----
Closed: Apr 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Chrome , Mac
Pri: 3
Type: Bug



Sign in to add a comment

Chrome can't decode a short MP3 file

Project Member Reported by hongchan@chromium.org, Apr 12 2016

Issue description

<audio> tag or AudioContext.decodeAudioData() can't decode a short (10ms >) MP3 file. Please find attached file for the reproduction.

I am suspecting this is FFMpeg's issue.

The file info from afinfo:
---
File:           app/data/440hz-10ms.mp3
File type ID:   MPG3
Num Tracks:     1
Data format:     1 ch,  44100 Hz, '.mp3' (0x00000000) 0 bits/channel, 0 bytes/packet, 1152 frames/packet, 0 bytes/frame
                no channel layout.
estimated duration: 0.052245 sec
audio bytes: 1096
audio packets: 2
bit rate: 167000 bits per second
packet size upper bound: 1052
maximum packet size: 835
audio data file offset: 498
optimized
audio 441 valid frames + 576 priming + 1287 remainder = 2304
---
 
440hz-10ms.mp3
1.6 KB Download
Cc: rtoy@chromium.org

Comment 2 by rtoy@chromium.org, Apr 20 2016

FWIW, I traced through this a bit.  avformat_open is failing to open the file. I didn't investigate further than that, since that's in ffmpeg.  Curiously avplay shows something, but won't play any sound until I quit avplay.
Project Member

Comment 3 by sheriffbot@chromium.org, Apr 21 2017

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been available for more than 365 days, and should be re-evaluated. Please re-triage this issue.
The Hotlist-Recharge-Cold label is applied for tracking purposes, and should not be removed after re-triaging the issue.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 4 by rtoy@chromium.org, Apr 21 2017

Components: Blink>WebAudio
Status: Fixed (was: Untriaged)
Tested this with Chrome canary and decodeAudioData correctly decodes this into an AudioBuffer with a duration of 0.01 sec, as expected.

Audio tag appears to work too.

Closing as fixed.  If this is incorrect, please reopen or file a new bug.
Cc: vsu...@chromium.org avkodipelli@chromium.org
Status: Verified (was: Fixed)
Verified on 9578.0.0 / 60.0.3105.0

Sign in to add a comment