Closed
Bug 778052
Opened 12 years ago
Closed 5 years ago
Support libstagefright metadata readers
Categories
(Core :: Audio/Video: Playback, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: rillian, Unassigned, Mentored)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
10.08 KB,
patch
|
Details | Diff | Splinter Review |
libstagefright contains tag metadata parsers for most of the formats it supports.
We should export this data through nsMediaPluginReader::ReadMetadata (or whatever platform decoder interface might replace it) so it's available to web content through media.mozGetMetadata().
Reporter | ||
Comment 1•12 years ago
|
||
Current work-in-progress. This is my patch from some weeks ago, rebased against the current tree.
Reporter | ||
Comment 2•12 years ago
|
||
I cannot reproduce the utf-16 issue I was having with the patch on my Samsung Android 4.0.4 tablet. Perhaps it was fixed in the stagefright code. mp3 playback doesn't work on my Google Android 2.3.7 (CM7) phone, so I can't check there. In the absence of a re-occurrence I'll go ahead with the code as is. The current upstream stagefright should always be returning utf-8 strings.
Todo:
- Query more tags. We don't have 'raw' access in the sense of file-level tag names, but we can expose the ones stagefright defines.
- Add tests. We already have an mp3 example with id3 tags, but it contains no i18n.
Assignee: nobody → giles
Comment 3•12 years ago
|
||
(In reply to Ralph Giles (:rillian) from comment #2)
> mp3 playback doesn't work on my Google Android 2.3.7 (CM7) phone, so I can't
> check there.
Patches in Bug 787228 should get this working for you.
Reporter | ||
Comment 4•12 years ago
|
||
Thanks, Chris.
BTW, is there something I can use the conditionalize the android version we're building against? Later releases defined more metadata keys than GB does.
Comment 5•12 years ago
|
||
In media/omx-plugin MOZ_ANDROID_GB and MOZ_ANDROID_HC for gingerbread and honeycomb. If neither are set it's JB+.
Reporter | ||
Comment 6•12 years ago
|
||
Updated patch conditionalizing kKeyLocation. Thanks Chris.
This works some of the time on my ICS tablet, returning metadata, including cover art mime-type, but sometimes I get nothing, and sometimes playback itself fails.
Attachment #685399 -
Attachment is obsolete: true
Reporter | ||
Comment 7•11 years ago
|
||
I don't expect to pick this up again any time soon. Putting it up for grabs.
Assignee: giles → nobody
Whiteboard: [mentor=rillian]
Assignee | ||
Updated•10 years ago
|
Mentor: giles
Whiteboard: [mentor=rillian]
Updated•9 years ago
|
Component: Audio/Video → Audio/Video: Playback
Closing this on the basis that we've removed libstagefright and thus no longer want to integrate parts of it.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•