Closed Bug 877571 Opened 11 years ago Closed 11 years ago

Music player does not recognize audio/mp4a-latm mime type

Categories

(Firefox OS Graveyard :: Gaia::Music, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mayayo, Unassigned)

References

Details

Attachments

(1 file)

115.88 KB, application/octet-stream
Details
Attached file 1369670138847.m4a
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20130527 Firefox/24.0 (Nightly/Aurora) Build ID: 20130527031027 Steps to reproduce: Mime type for audio files is audio/mp4a-latm. Trying to play audio file from Music app directly and through open activity. Audio sample file attached. Actual results: When trying to play file from Music app, error received is: MediaDB: error parsing metadata for 1369670138847.m4a : Unknown MP4 file type Seems the following check fails: if (magic.substring(8, 12) in MP4Types) { https://github.com/mozilla-b2g/gaia/blob/master/apps/music/js/metadata.js#L126 Expected results: Music player should support MP4 files. Filing bug as per Sotaro Ikeda's advice.
The major brand in this file is "isom" and compatible is isom & 3gp4. Currently Gaia didn't recognize one of them as MP4. Hi Dominic, Maybe you can help this issue or know someone can help. Thanks.
Flags: needinfo?(dkuo)
Marco, I can give a patch on this, and do you know all the MP4 types we currenly supported? probably we can fix all MP4 type issues together in one bug.
Flags: needinfo?(dkuo) → needinfo?(mchen)
Please refer to the link as below for all possible format http://www.ftyps.com/ And there is a bug 868333 for finding out the right way to filter mp4. But it seems to be pending there. I think at least gaia can sync the signatures with Gecko then wait for bug 868333. You can refer to the patch from bug 859711 for current signatures used by Gecko which covered issue here.
Flags: needinfo?(mchen)
Depends on: 882099
Fixed by bug 882099.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: