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)
Firefox OS Graveyard
Gaia::Music
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mayayo, Unassigned)
References
Details
Attachments
(1 file)
115.88 KB,
application/octet-stream
|
Details |
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.
Comment 1•11 years ago
|
||
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)
Comment 2•11 years ago
|
||
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)
Comment 3•11 years ago
|
||
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)
Comment 4•11 years ago
|
||
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.
Description
•