| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
In case of EOS or ERROR from source, correct the status flag and
clear the input index to continue to wait for output buffer from decoder.
This is to fix thumbnail generation failure for some clips with one frame.
CRs-Fixed: 951250
Change-Id: If9889dbcc32bf49368add408a317da026879fec8
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We override some h/w decoders in video configure
since we know some h/w decoder does not support
certain types of video. e.g. WMV7/8.
But we did not do that when application retrieving
video frame for thumbnail causing video frame retrieved
is corrupted.
Fix it by calling FFMPEGSoftCodec::overrideComponentName
when we retrieve a single video frame for thumbnail purpose.
Change-Id: I334698c331dfd3d49bb5d8b8e9c1fe381b304179
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Android 6.0.0 release 5
Conflicts:
media/libstagefright/OggExtractor.cpp
media/libstagefright/Utils.cpp
Change-Id: I2ea44836c5cc3da8ffa2092522293c433bf7538c
|
| |
| |
| |
| |
| |
| |
| | |
convertMetaDataToMessage().
Bug: 23680780
Change-Id: I09dbbf95b2c874b9760938646e48a7ed543f1577
|
| |
| |
| |
| |
| |
| |
| |
| | |
Modification done in StagefrightMetadataRetriver
to handle NULL return for meta data if codec is
unsupported by extractor.
Change-Id: I905cec5ee91b098d99e1935437b562d2d9206381
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add support for Codec extension features like
skype, vqzip, b-frame encoding, prefer adaptive playback etc.
Add extensions to support encode batching.
Also enable Werror for libavextensions.
Change-Id: Ia342d4abe4bb1e21b9ff2b8213fb96421485a333
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The stride and slice are better suited as dimension parameters to
ColorConvertor, as it considers the width to be be "line length".
This fixes thumbnail generation issues for clips with strange resolutions,
where the stride != width.
Change-Id: I84143956a113cf1976202bd9c4ddac988278a5c0
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Prefer hardware decoder over software for better performance
and more coverage of supported content.
Eg: Software decoder may not handle interlaced content properly
Change-Id: I045ab87cb6877f3318f38c50f06d32e19595d83b
CRs-Fixed: 899714
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
extractVideoFrame can be called multiple times with the same
MediaSource object. This fix will ensure that MediaSource state
is cleared for all failure cases.
CRs-Fixed: 894140
Change-Id: Iecfcae7c78d74a1aa7b5a218b9ba28b2ab1ed4a9
|
| |
| |
| |
| |
| |
| |
| | |
Add key "thumbnail-mode" in metadata to
signal thumbnail decoding.
Change-Id: I9d78f026989c48f62c403cbb88dc24c5f74771a4
|
| |
| |
| |
| |
| |
| |
| |
| | |
Only set timed text language if kKeyMediaLanguage is found.
Crs-Fixed: 641896
Change-Id: Ie471bc458e42f5728064e447ac5c33b07311d3fd
|
|/
|
|
|
|
|
|
|
|
|
| |
The HTTP connection created by StagefrightMetadataRetriever
is not closed explicitly, and tcp activity continues even
after metadata retriever is destroyed
Explicitly disconnect HTTP connection in StagefrightMetadataRetriever
Change-Id: I261d369e8dcff1bc0a3c7225243e865858b4fc7c
CRs-Fixed: 754684
|
|
|
|
| |
Change-Id: Iadf74ed8c5b3a3bdb799c6e926fb7bea02511071
|
|
|
|
|
|
|
| |
Use MediaCodec (in place of OMXCodec) to decode video
thumbnail
Change-Id: I05beaa3d67edff51aa17f58444fd34afb3933580
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This allows apps to implement MediaDataSource, which is modeled on
stagefright's DataSource, to supply media data to the framework. This
was already implemented for MediaExtractor, but it was renamed from
DataSource.
MediaExtractor, MediaPlayer and MediaMetadataRetriever each have a new
overload: #setDataSource(android.media.MediaDataSource)
Only NuPlayer supports this new data source.
The change introduces:
* IDataSource: The binder interface for DataSource.
* JMediaDataSource: The native counterpart to the java interface. It
implements IDataSource.
* CallbackDataSource: A stagefright DataSource that wraps an
IDataSource.
Change-Id: Ib3c944b49cc8a792c8eb9c85e5015c07f298ebc1
|
|/
|
|
|
| |
bug: 19460202
Change-Id: I20afded0b7eec45b2f25b51cf59d9f48eada74d8
|
|
|
|
|
|
|
|
|
|
|
| |
instead of media scanner. This way the java MediaMetadataRetriever API
will give the same result as the media scanner.
Also apply some tweaks to the encoding detector to improve handling of
ISO-8859-1 tags.
Bug: 16302581, 17205395
Change-Id: I1682a7a6a8bf04cffaa455044ba72dd7fd152d49
|
|
|
|
| |
Change-Id: I3d1146714fa23be3d4e696599b6f70cac1f9d28b
|
|\
| |
| |
| |
| | |
* commit '2a8270e6944fb3addfcba87f6885aaad196b8b88':
Offer a type-safe album art interface.
|
| |
| |
| |
| |
| | |
Bug: 15514223
Change-Id: Iddfc33a00e6cd3779ca09c01a55f62b151f6ec95
|
|\ \
| |/
| |
| | |
Change-Id: I7b1cc71057b2bd4f771e7bcf508a8c3abd6017ce
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Contains the necessary changes to make frameworks/av build and work
on a 64-bit machine.
Signed-off-by: Craig Barber <craig.barber@arm.com>
Signed-off-by: Kévin PETIT <kevin.petit@arm.com>
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
Signed-off-by: Marcus Oakland <marcus.oakland@arm.com>
Change-Id: I725feaae50ed8eee25ca2c947cf15aee1f395c43
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Don't duplicate strings when retrieveing metadata from media
files. As any requests for metadata strings would pass through
the binder, this would cause the reference to the duplicate string
to be lost, causing a memory leak as the duplicate would not be
freed.
Change-Id: I2593733472b1bb589bc502b2c11080f581015bb5
|
| |
| |
| |
| |
| |
| |
| |
| | |
The output color format is specified via the meta argument in OMXCodec::Create()
o related-to-bug: 7122195
Change-Id: Id3247686b893af25cc190685201e53ad34b0399c
|
| |
| |
| |
| |
| |
| | |
to media code
Change-Id: I9f74a86e70422187c9cf0ca1318a29019700192d
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Don't duplicate strings when retrieveing metadata from media
files. As any requests for metadata strings would pass through
the binder, this would cause the reference to the duplicate string
to be lost, causing a memory leak as the duplicate would not be
freed.
Change-Id: I2593733472b1bb589bc502b2c11080f581015bb5
|
|/
|
|
|
|
|
|
| |
The output color format is specified via the meta argument in OMXCodec::Create()
o related-to-bug: 7122195
Change-Id: Id3247686b893af25cc190685201e53ad34b0399c
|
|
|
|
|
|
| |
o related-to-bug: 6872687
Change-Id: I34e74b0756f8269edefdf3a25d8806c76fd1e2f8
|
|
|
|
|
|
|
| |
runtime error.
Change-Id: I0a1754ecaa2a6aac8b0b1bcc829aa873cf238b9b
related-to-bug: 6499326
|
|
|
|
|
|
|
|
| |
commandline tool to open the file to extract thumbnails from itself since
mediaserver may not have permission to open files.
Change-Id: Iabe16b3248e9bb0f266b0866a8d2ccba2ab7d2a8
related-to-bug: 6321237
|
|
|
|
| |
Change-Id: I963a3b6f79a7292891973cbeeaf3378b38629f08
|
|
|
|
|
|
|
| |
See https://android-git.corp.google.com/g/#/c/157220
Bug: 5449033
Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
|
|
|
|
|
|
|
| |
See https://android-git.corp.google.com/g/157065
Bug: 5449033
Change-Id: I00a4b904f9449e6f93b7fd35eac28640d7929e69
|
|\
| |
| |
| |
| |
| |
| | |
information in mp4/3gpp files" into ics-mr1
* commit '510180f162dee3ae5416a98caa07f58a754f4b3f':
Add support for retrieving location information in mp4/3gpp files
|
| |
| |
| |
| |
| | |
Change-Id: Ib8427704ef9ee5a4fa8fe1818c8a62d77b4ea687
related-to-bug: 5560253
|
|/
|
|
|
|
|
| |
See https://android-git.corp.google.com/g/#/c/143865
Bug: 5449033
Change-Id: I0122812ed6ff6f5b59fe4a43ab8bff0577adde0a
|
|
|
|
|
|
|
| |
the media extractor failed to initialize (malformed or unsupported content)
Change-Id: Icfad4e9eeb8d6713ad12eee7979ab30b696c06e0
related-to-bug: 5263840
|
|
|
|
|
|
|
|
|
| |
- Add one more column in MediaStore to indicate whether a
media file is drm-protected.
- Remove old DRM code from Ringtone
- Use the new DRM code in RingtoneManager
Change-Id: I1311fd1c04841c2cd47df6c901589966cf55a692
|
|
|
|
| |
Change-Id: Ic9421ee27b9aa3b27df00878b887de20f25d232b
|
|
|
|
|
|
|
|
| |
- Add support for MP4 timed text
- Add API for app to turn on/off a text track
- Add timed text metadata(language) in the MediaMetadataRetriever
Change-Id: I0055beba38ac761627dbcc6d581ae9582d68bb94
|
|
|
|
|
|
|
| |
first frame.
Change-Id: I96514fa661d26726b4562872a5ebe87be88db71e
related-to-bug: 3447147
|
|\ |
|
| |
| |
| |
| |
| | |
Change-Id: Ib1a5c08fc5034cac05034db27007a35c9b660b26
related-to-bug: 3506316
|
|/
|
|
|
|
|
|
| |
size
bug - 3379293
Change-Id: I31c08010c97387716433da99d648bd364847b6aa
|
|
|
|
|
|
|
|
|
| |
- presence of audio/video content
- video dimensions
- avg. bitrate
Change-Id: Ie6d478a3c2d0bb6bebaea99ac0a20a4c17808934
related-to-bug: 3506316
|
|
|
|
| |
Change-Id: I5b15cf6a15623cf73f007c59143ab5e3fa5a07e8
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Removed setMode() methods and related mode constants
o Removed some of the unused the metadata keys
o Updated the javadoc
o part of a multi-project change.
bug - 2433195
Change-Id: I5ed167f1fd6a53cb143b7dc385b149431d434438
|
|
|
|
|
|
|
|
|
| |
support for two common ways of specifying album artist in ogg files.
b/3311831
(cherry-picked from GB because of weird automerger failure)
Change-Id: Ibf12a3d6bc8bbc2ac5ea815de6b33414b8f53f0f
|
|
|
|
|
|
|
| |
Let it return an appropriate error code instead of asserting.
Change-Id: I7fe0dfa169e1cbdecb04c5fcbe8501e73362d05e
related-to-bug: 3328212
|