History log of /frameworks/av/media/libstagefright/matroska/MatroskaExtractor.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0644f95a8976470e84c6c0a6d96585ae6437ecd2 05-Nov-2014 Robert Shih <robertshih@google.com> MatroskaExtractor: use GetTrackByNumber instead of GetTrackByIndex

Bug: 18297854
Change-Id: I5e14a358576d9c7d25b7e421cd22428fb17a6e06
/frameworks/av/media/libstagefright/matroska/MatroskaExtractor.cpp
2f46e8152fb881d3a1d7afd223f1ed51f6e358b8 12-Jun-2014 Robert Shih <robertshih@google.com> MatroskaExtractor: track specific seeking

Divide cues based on tracks to support track specific seeking.

Bug: 15595215
Change-Id: Ibb853b0955c62af72243ed29253f939d07628ae4
/frameworks/av/media/libstagefright/matroska/MatroskaExtractor.cpp
c51db0a6bfb71ea9c934fb7971cb5ae1f1cf03a0 02-Apr-2014 Lajos Molnar <lajos@google.com> stagefright: handle corrupt matroska files gracefully

Bug: 13693438
Bug: 13744158
Change-Id: I557595b5b5d4a20934f79e00a622b06d13378223
/frameworks/av/media/libstagefright/matroska/MatroskaExtractor.cpp
b4a7a2df4c28c3f32b5d877b54831d2cc5d78f81 20-Mar-2014 Colin Cross <ccross@android.com> libstagefright: fix 64-bit warnings

%lld -> %" PRId64 " for int64_t
%d -> %zu for size_t
Also fixes some casts from void* to integer types, and some comparisons
between signed and unsigned.

Change-Id: I9c52f76240e39399da252c66459042a6fc626a90
/frameworks/av/media/libstagefright/matroska/MatroskaExtractor.cpp
bf927f8ec7979f2b64331c2b2f12a6a5dba05bca 29-Jan-2014 Vignesh Venkatasubramanian <vigneshv@google.com> Opus Matroska support in OpenMax

Adding Openmax component for libopus software decoder. This can
decode opus audio files embedded in matroska containers.

Change-Id: I7e0691cfc6d719c4e927b9efbd05a3143be49abc
Note: This CL is part of adding Opus support to Android.
/frameworks/av/media/libstagefright/matroska/MatroskaExtractor.cpp
84333e0475bc911adc16417f4ca327c975cf6c36 08-Feb-2014 Andreas Huber <andih@google.com> warnings be gone.

Change-Id: Ie3bae3f037730e316d7fca12e7a3527973f752ef
/frameworks/av/media/libstagefright/matroska/MatroskaExtractor.cpp
403484d6d76ede31fc71c88495b69108a4df8319 03-Feb-2014 Marco Nelissen <marcone@google.com> Allow for larger codec private data

This change adds support for multibyte sizes in the ESDS. Previously the
Matroska extractor only supported single byte sizes, so codec private data
had to be less than 108 bytes, and would crash if it was bigger.
b/12584090

Change-Id: I9edfc2f687187d1e98bcfd2fe56576312435df3e
/frameworks/av/media/libstagefright/matroska/MatroskaExtractor.cpp
94705aff3c9eef58cbb72ec6fe5d2dcfd9481646 24-Jun-2013 hkuang <hkuang@google.com> Adds VP9 decoding support for stagefright.

Also change the VP8 encoder role name from
video_encoder.vpx to video_encoder.vp8 for
future VP9 encoder support.


Requires the change in frameworks/native and media_codecs.xml
corresponding to the device.


VP9 decoding test will be added to cts repo later.
/frameworks/av/media/libstagefright/matroska/MatroskaExtractor.cpp
e467ef084b75b074d0081616080b54212a7024c8 28-Mar-2013 Lajos Molnar <lajos@google.com> stagefright: matroska: don't crash on parsing error

MatroskaExtractor crashed with an assertion if mkvparser::ParseNext()
returned a negative number. Now handle all error values the same
way as the EOF.

Change-Id: I173c4f878d692a0cbdb915ad1118d0686249d625
Signed-off-by: Lajos Molnar <lajos@google.com>
Bug: 8433794
/frameworks/av/media/libstagefright/matroska/MatroskaExtractor.cpp
5ce181568da90c78ba7fad3e084c8479041545df 15-Nov-2012 Andreas Huber <andih@google.com> The length information of the chunks making up vorbis codec specific info

are "Xiph-style-lacing encoded" instead of individual bytes.

Change-Id: Ic1274a5bd8f082197bae6831da04002762a920c5
related-to-bug: 7401329
/frameworks/av/media/libstagefright/matroska/MatroskaExtractor.cpp
cba4ed0039c8b8fac01b3193d19fc2364f934506 26-Jul-2012 Tareq A. Siraj <tareq.a.siraj@intel.com> Fixed redefinition of 'i' with a different type error

Renamed the redefinition of 'i' to 'k'.

Change-Id: I8ae8ed1dee42c896fa15e55be8d58b33b29254f4
Author: Tareq A. Siraj <tareq.a.siraj@intel.com>
Reviewed-by: Kevin P Schoedel <kevin.p.schoedel@intel.com>
/frameworks/av/media/libstagefright/matroska/MatroskaExtractor.cpp
4719fa8ae1259d6a94ba5b5ecdaa01e69f553996 29-Mar-2012 Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> libstagefright/matroska: Fix build with gcc 4.7

gcc 4.7 doesn't like the redefinition of i in the
same scope

Change-Id: Idf1b33af7041f0302f2f2562442a3e11ce9607d9
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
/frameworks/av/media/libstagefright/matroska/MatroskaExtractor.cpp
f02a7f5c42db707d20e59ff28f32d1eaebcc5429 05-Apr-2012 Johann <johannkoenig@google.com> Trust the Cues element

With the Cue based seeking we will get the closest previous key frame.
For audio, use the Cue file to find the Cluster with the video key frame
then incrementally look for the audio Block.

Change-Id: Idc934cca1286b1bb48ee7577b27903ca488a0610
/frameworks/av/media/libstagefright/matroska/MatroskaExtractor.cpp
be7ac3d682729048af27871311808a76c618abdb 03-Apr-2012 Johann <johannkoenig@google.com> fix crash with cues at the beginning of the file

previous implementation tried to be clever about economizing Cue loads.
however, files with the cues at the beginning missed the initial load in
the seek function and would crash with a null pointer.

Change-Id: I49c15d6688909cd13afabf33a54d9f5896aab7cd
/frameworks/av/media/libstagefright/matroska/MatroskaExtractor.cpp
10f0fe7bcd60bdb0eceb905e84ac11555e8c1b9d 30-Mar-2012 Johann <johannkoenig@google.com> Use Cues to seek Matroska files

On the first seek, load the Cues element. Parse it incrementally until
the desired seek point can be located.

This allows files to begin playing immediately. However, the Browser
still seeks to 0 before playing embedded YouTube files. Because YouTube
stores the cues at the end of the file, this causes it to seek, load the
cues, then begin playing. It is still better than the previous behavior
which blocked until the entire file was loaded.

BUG=5921311

Change-Id: Iad2abc64ded3b4e2c2d2c478a969f68450754282
/frameworks/av/media/libstagefright/matroska/MatroskaExtractor.cpp
5ec58d925520e6913fba3fc54413881af751c610 09-Feb-2012 Andreas Huber <andih@google.com> Experiment with seeking to closest frame instead of closest syncframe

Also supports SEEK_CLOSEST mode in the Matroska/Webm extractor.

Change-Id: I257771648dfe41392a4cf8932f625489dcb9f234
/frameworks/av/media/libstagefright/matroska/MatroskaExtractor.cpp
132e88ee86e4f11d1b649c336cd2d6eb5980c3fc 15-Jan-2012 Dongwon Kang <dwkang@google.com> MatroskaExtractor: to support MPEG4 and MP3 codec.

Change-Id: Ic7ffb3ed394b233336fbf2a7b2627ee27033a59e
/frameworks/av/media/libstagefright/matroska/MatroskaExtractor.cpp
29357bc2c0dd7c43ad3bd0c8e3efa4e6fd9bfd47 06-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/157220

Bug: 5449033
Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
/frameworks/av/media/libstagefright/matroska/MatroskaExtractor.cpp
df64d15042bbd5e0e4933ac49bf3c177dd94752c 04-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/156801

Bug: 5449033
Change-Id: Ib08fe86d23db91ee153e9f91a99a35c42b9208ea
/frameworks/av/media/libstagefright/matroska/MatroskaExtractor.cpp
3856b090cd04ba5dd4a59a12430ed724d5995909 20-Oct-2011 Steve Block <steveblock@google.com> Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/143865

Bug: 5449033
Change-Id: I0122812ed6ff6f5b59fe4a43ab8bff0577adde0a
/frameworks/av/media/libstagefright/matroska/MatroskaExtractor.cpp
792e33fd19e57e0d615d401a54ab567d04f16251 29-Sep-2011 Andreas Huber <andih@google.com> Support multiple NAL fragments per .mkv payload

Apparently the payload for an h.264 track in an .mkv file can contain multiple
NAL fragments, we used to discard everything after the first one before, now
we preserve them all.

Change-Id: Ic7187365309f3880a3256982879a45df50db697d
related-to-bug: 5337218
/frameworks/av/media/libstagefright/matroska/MatroskaExtractor.cpp
74a0a0d7f766d63330a00c3fa8f133c44c1d5be6 07-Sep-2011 Andreas Huber <andih@google.com> Apparently keyframe status in audio tracks of .webm/.mkv files is unreliable

fortunately in all our supported audio encodings we can treat every frame as
a keyframe.

Change-Id: I32f21d0077bbae7ef9efe725dd351baf531179e2
related-to-bug: 5263837
/frameworks/av/media/libstagefright/matroska/MatroskaExtractor.cpp
8c32b164d00d3e4d73764d06956331f09693ef43 22-Aug-2011 Andreas Huber <andih@google.com> The MatroskaExtractor will now publish a different mime-type "video/webm" if

the doctype of the matroska file indicates that it is a webm file.

Change-Id: I467f597690a841043ecd11d2a2cae93351820f1b
related-to-bug: 5042137
/frameworks/av/media/libstagefright/matroska/MatroskaExtractor.cpp
82ac8bf2da940c4439786c346f739f4a496864ad 04-May-2011 Andreas Huber <andih@google.com> Properly construct the ESDS metadata even if sizeof(codec-specific-data) != 2

Change-Id: I3dc50e6e447668ac8b8c2956329352635750a2cd
related-to-bug: 4381047
/frameworks/av/media/libstagefright/matroska/MatroskaExtractor.cpp
2ba7ce928b0fa8917ee202836b0963ca58613453 01-Apr-2011 Andreas Huber <andih@google.com> Fix a webm-seek issue introduced when adding support for streaming webm

Change-Id: I52ec841832077603ee035f7a648316349513e978
related-to-bug: 4199894
/frameworks/av/media/libstagefright/matroska/MatroskaExtractor.cpp
d42573cace9db2b5948e540c32beaef80f04153c 18-Mar-2011 Andreas Huber <andih@google.com> Squashed commit of the following:

commit ed615e2803839ef28e0eab50d17844c207083ad6
Author: Andreas Huber <andih@google.com>
Date: Fri Mar 18 12:38:30 2011 -0700

Support for live streaming of webm content over http.

Change-Id: Ie9ebd23d2c44d192d348b9fa3f3a0f3f28ac9e4c

commit 9c50b1392471a3d652b4a875c823bee854f8855b
Author: Andreas Huber <andih@google.com>
Date: Thu Mar 17 13:33:22 2011 -0700

Upgrade to the latest version of libwebm.

Change-Id: Ic7965dda84131a38f9d3c72b6acd2025ace939ce

Change-Id: I3c993a89f749f05741594ef0ea47864e17ee783b
/frameworks/av/media/libstagefright/matroska/MatroskaExtractor.cpp
30ae68bccd8de6f0ab2acd22a6d661ace514343e 24-Jan-2011 Andreas Huber <andih@google.com> The .mkv parser lib leaves some tracks NULL if it doesn't support them.

But it still counts them as valid tracks...

Change-Id: I77e8fd24cce91a586e8e418759db55b6eba449c0
related-to-bug: 3377186
/frameworks/av/media/libstagefright/matroska/MatroskaExtractor.cpp
50c8bea8fba2fcafb14696399028bdbc094dc995 11-Jan-2011 Andreas Huber <andih@google.com> Properly parse Matroska lacing flags and extract all frames contained in a block.

Change-Id: I1aca46b2e28b9cad88bf4a296f675e81e66ee095
related-to-bug: 3331623
/frameworks/av/media/libstagefright/matroska/MatroskaExtractor.cpp
c7fc37a3dab9bd1f96713649f351b5990e6316ff 16-Nov-2010 James Dong <jdong@google.com> 64-bit file size/offset support for media framework

Change-Id: I3452bc2c0f1d990cc67285df2fce1f9f86ff8e10
/frameworks/av/media/libstagefright/matroska/MatroskaExtractor.cpp
b10f3669a9b73cd024662c2b70f5155bc0c2cd21 16-Nov-2010 Andreas Huber <andih@google.com> Proper support for variable NALsize lengths of AVC content in .mkv files.

Change-Id: If60cc80998b3231b6aaedc39fc3f5a94f84a5929
related-to-bug: 3197442
/frameworks/av/media/libstagefright/matroska/MatroskaExtractor.cpp
ff1df9951d09f1a1a8ae2dbc42b82b0f9c164e5e 28-Oct-2010 Andreas Huber <andih@google.com> Upgrade to the latest version of libwebm to fix YouTube webm playback.

Change-Id: I6a0f5e1aa07d3af428c314d36f69b119fa8d2d3a
related-to-bug: 3141937
/frameworks/av/media/libstagefright/matroska/MatroskaExtractor.cpp
5a1c3529e4fa2f8a11054181294e0ce79fff8dd3 25-Aug-2010 Andreas Huber <andih@google.com> Allow sniffers to return a packet of opaque data that the corresponding extractor can take advantage of to not duplicate work already done sniffing. The mp3 extractor takes advantage of this now.

Change-Id: Icb77ae3ee95a69c7da25b4d3b8696c0a2d33028a
related-to-bug: 2948754
/frameworks/av/media/libstagefright/matroska/MatroskaExtractor.cpp
8bf59e735760af0b6a85747fd90bf8cf1e5388d7 06-Aug-2010 Andreas Huber <andih@google.com> Support for communicating if a buffer read from the _extractor_ is a sync sample or not.

Change-Id: Ie71506224d937cfff1fa1273bfac31c47db8845f
related-to-bug: 2900534
/frameworks/av/media/libstagefright/matroska/MatroskaExtractor.cpp
abd1f4f870925d6776dbe4b930b759a1ab6595ca 21-Jul-2010 Andreas Huber <andih@google.com> Support finer seek control on MediaSources.

related-to-bug: 2858448

Change-Id: Ifb4b13b990fd5889113e47e2c62249ac43391fa1
/frameworks/av/media/libstagefright/matroska/MatroskaExtractor.cpp
5279d1d8c19e5fdbb177805db0da8e8aadac3079 25-May-2010 Andreas Huber <andih@google.com> Support for thumbnail extraction in the Matroska extractor.

Change-Id: I56f13fc4868baffe0bb8c2484d2753c766a73960
related-to-bug: 2483739
/frameworks/av/media/libstagefright/matroska/MatroskaExtractor.cpp
093437c388e5dff6903a3d43f2ca9f8a1ba4744a 20-May-2010 Andreas Huber <andih@google.com> Support for media extraction from .mkv/.mka Matroska files in stagefright.

Change-Id: I4c26579828ad575523ccf58b0b5cb144046c04ca
related-to-bug: 2483739
/frameworks/av/media/libstagefright/matroska/MatroskaExtractor.cpp