Closed
Bug 847006
Opened 12 years ago
Closed 12 years ago
[Buri][Music] Format of AAC/Amr_nb do not support
Categories
(Firefox OS Graveyard :: Gaia::Music, defect, P1)
Tracking
(blocking-b2g:leo+, firefox21 wontfix, firefox22 wontfix, firefox23 fixed, b2g18 fixed, b2g18-v1.0.0 wontfix, b2g18-v1.0.1 wontfix)
RESOLVED
FIXED
blocking-b2g | leo+ |
People
(Reporter: sync-1, Assigned: mchen)
References
Details
(Whiteboard: triaged [mentoredbug mentor=dkuo@mozilla.com])
Attachments
(4 files, 1 obsolete file)
(deleted),
application/octet-stream
|
Details | |
(deleted),
application/octet-stream
|
Details | |
(deleted),
patch
|
mchen
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
mchen
:
review+
|
Details | Diff | Splinter Review |
Firefox v1.0.0, build identifier: 20130222145933
+++ This bug was initially created as a clone of Bug #410338 +++
DEFECT DESCRIPTION:
Format of AAC/Amr_nb do not support
REPRODUCING PROCEDURES:
Only support AAC+/OGG/MP3, but AAC/Amr_nb do not support.
EXPECTED BEHAVIOUR:
Per VPM's request,need support AAC+/OGG/MP3/AAC/Amr_nb.
ASSOCIATE SPECIFICATION:
TEST PLAN REFERENCE:
TOOLS AND PLATFORMS USED:
USER IMPACT:
REPRODUCING RATE:
For FT PR, Please list reference mobile's behavior:
++++++++++ end of initial bug #410338 description ++++++++++
CONTACT INFO (Name,Phone number):
DEFECT DESCRIPTION:
REPRODUCING PROCEDURES:
EXPECTED BEHAVIOUR:
ASSOCIATE SPECIFICATION:
TEST PLAN REFERENCE:
TOOLS AND PLATFORMS USED:
USER IMPACT:
REPRODUCING RATE:
For FT PR, Please list reference mobile's behavior:
Comment 1•12 years ago
|
||
Reference bug: bug 783212.
Comment 2•12 years ago
|
||
Test results: AAC+/eAAC/MP3/OGG are supported. 3GP/ AAC/amr_nb/amr_wb/ eAAC +/mmf/midi/WAV/WMA are not supported.
Comment 4•12 years ago
|
||
partner will provide more information
Comment 5•12 years ago
|
||
Comment 6•12 years ago
|
||
Comment 7•12 years ago
|
||
For amr nb case you can refer : Bug 847809
Joe, seems Bug847809 has patch already, can we have it on V1.0.1 branch?
And any update for AAC format?
Comment 9•12 years ago
|
||
Chris, it looks like we may have AAC issues on B2G.
Component: Gaia::Music → Video/Audio
Flags: needinfo?(chris.double)
Product: Boot2Gecko → Core
Comment 10•12 years ago
|
||
It's a bit hard for me to understand this bug report. What's the problem exactly? Do we not support an audio format that is required? Does bug 847809 not fix it? How was it tested? The browser won't support AMR with the patch in bug 847809. Only privileged apps do. Does the device have decoders for the requested format?
Can I have an STR?
Flags: needinfo?(chris.double)
Updated•12 years ago
|
Whiteboard: triaged
Comment 12•12 years ago
|
||
The PR means, the attachment music files are not recognized by music player. But, they should be supported.One is AMR-NB, another one is ACC.
Flags: needinfo?(sync-1)
Comment 13•12 years ago
|
||
Bug 847809 landed AMR support. Has this been tested since that landed? I can't test until tomorrow but can report back then. A similar patch would need to be done for AAC.
Updated•12 years ago
|
Attachment #720611 -
Attachment mime type: text/plain → application/octet-strem
Updated•12 years ago
|
Attachment #720611 -
Attachment mime type: application/octet-strem → application/octet-stream
Comment 14•12 years ago
|
||
(In reply to Chris Double (:doublec) from comment #13)
> Bug 847809 landed AMR support. Has this been tested since that landed? I
> can't test until tomorrow but can report back then. A similar patch would
> need to be done for AAC.
I can confirm that neither file plays in the music app. Looking at the Gaia music app source it doesn't seem to handle AMR or AAC files so it's not even getting to the Gecko playback code.
The list of MP4 types in the music app is:
'M4A '
'M4B '
'mp42'
The type in the AAC file is '3gp6'.
There is no code to handle the AMR file. It falls back to using the Gecko canPlayType implementation but this tries to use the media sniffer to determine the file type. Our media sniffer does not, afaik, handle AMR files - it needs the mime type. The Music player should probably look for '#!AMR' and parse the file like it does the other formats.
Comment 15•12 years ago
|
||
If I add '3gp6' to the MP4 type list in the music app then the AAC file plays.
Comment 16•12 years ago
|
||
Per comment #14, the change is in the Gaia Music app.
Leo+, as this was required in order to even basic inter-device testing of audio MMS.
blocking-b2g: --- → leo+
Component: Video/Audio → Gaia::Music
Product: Core → Boot2Gecko
Updated•12 years ago
|
Whiteboard: triaged → triaged [mentoredbug mentor=dkuo@mozilla.com]
Comment 17•12 years ago
|
||
Thanks Chris, the part you mentioned how music app handles *.aac is correct.
And for *.amr files, DeviceStorage properties will filter out the *.amr files so I don't think music app has a chance to get *.amr and parse them into the MediaDB, we have to add *.amr to the deviceStorage properties for music before we fix the parser in music app.
Assignee | ||
Comment 18•12 years ago
|
||
(In reply to Chris Double (:doublec) from comment #15)
> If I add '3gp6' to the MP4 type list in the music app then the AAC file
> plays.
I think this result is valid on m-c not on b2g18 or b2g18_v1.0.1. Because Gecko used nsMediaSniffer and nsExternalHelperAppService to filter known media type.
nsMediaSniffer can't recognize this AAC file (not .aac but .m4a) because there is no "mp4" signature.
nsExternalHelperAppService has a mapping between m4a and audio/mp4 but jus on m-c only not b2g branch.
This is also related to the Bug 859711.
Assignee | ||
Comment 19•12 years ago
|
||
Hi Doug,
1. According Bug 847809 already added support to *.amr file for privileged app, we need add it to filter type of amr too.
2. I found a patch removed *.m4v from music filter because it is not a music but don't it be put on video filter?
Hi Chris,
1. As I knew that we don't support *.aac (https://bugzilla.mozilla.org/show_bug.cgi?id=807361#c27) So I removed aac from filter type.
Thanks.
Attachment #745048 -
Flags: review?
Assignee | ||
Comment 20•12 years ago
|
||
Comment on attachment 745048 [details] [diff] [review]
Patch DeviceStorage.Propoerty v1
To type the correct reviewer mail and please refer to comment 19 for the purpose of this patch.
Thanks.
Attachment #745048 -
Flags: review?(doug.turner)
Attachment #745048 -
Flags: review?(chris.double)
Attachment #745048 -
Flags: review?
Comment 21•12 years ago
|
||
Comment on attachment 745048 [details] [diff] [review]
Patch DeviceStorage.Propoerty v1
Review of attachment 745048 [details] [diff] [review]:
-----------------------------------------------------------------
If this is okay with cdouble..
Attachment #745048 -
Flags: review?(doug.turner) → review+
Updated•12 years ago
|
Attachment #745048 -
Flags: review?(chris.double) → review+
Assignee | ||
Comment 22•12 years ago
|
||
Add reviewer and approval reason.
Attachment #745048 -
Attachment is obsolete: true
Attachment #746198 -
Flags: review+
Assignee | ||
Comment 23•12 years ago
|
||
The amr support is caused by bug 847809 for MMS spec so wait for that bug as leo+ too then asking for checkin.
Assignee | ||
Comment 24•12 years ago
|
||
Add a patch for checking in on b2g18 branch.
Attachment #748714 -
Flags: review+
Assignee | ||
Updated•12 years ago
|
Keywords: checkin-needed
Comment 25•12 years ago
|
||
Assignee: nobody → mchen
Keywords: checkin-needed
Comment 26•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 27•12 years ago
|
||
status-b2g18:
--- → fixed
status-b2g18-v1.0.0:
--- → wontfix
status-b2g18-v1.0.1:
--- → wontfix
status-firefox21:
--- → wontfix
status-firefox22:
--- → wontfix
status-firefox23:
--- → fixed
Updated•12 years ago
|
Flags: in-moztrap?
Comment 28•11 years ago
|
||
Created two test cases to check that if a user tries and listening to each of the files they play properly and are listed in the music app.
https://moztrap.mozilla.org/manage/cases/?filter-id=9413
https://moztrap.mozilla.org/manage/cases/?filter-id=9414
Flags: in-moztrap?(dwatson) → in-moztrap+
You need to log in
before you can comment on or make changes to this bug.
Description
•