Oliver Woodman
ea29c71d94
Temporarily revert bounded live seeking. It's causing issues in its current form.
2015-05-28 17:11:28 +01:00
Oliver Woodman
5c9c15ae6e
Add support for extracting H.265/HEVC data in MP4 files.
2015-05-28 17:06:26 +01:00
Oliver Woodman
ac54b4f696
Cleanup/Sync with internal tree
2015-05-22 21:45:13 +01:00
Oliver Woodman
67d0154960
Use Java7 <> syntax
2015-05-22 21:40:22 +01:00
Oliver Woodman
658a7ffba5
Step towards enhanced Webvtt parser to support HTML-rich captions and positioning.
2015-05-19 15:19:59 +01:00
Oliver Woodman
709fc7735b
First steps toward implementing bounded live seek.
2015-05-19 15:16:29 +01:00
Oliver Woodman
64cc380fe1
Avoid loading first chunk when preparing HLS for non-zero position.
...
This also fixes a technical mistake where HlsChunkSource is fed
seekPositionUs=-1 when obtaining the first chunk. This is wrong,
but the usage of this variable within HlsChunkSource enforces that
the seek must stay within bounds, so we get away with it.
Issue: #385
2015-05-11 21:10:20 +01:00
Oliver Woodman
b405d3d9b7
Have Representation, TrackElement and Variant consistently expose Format.
...
And delete things that we're parsing but don't use from TrackElement.
2015-05-01 20:33:52 +01:00
Oliver Woodman
053e5b9f1c
Fix javadoc warning.
2015-05-01 20:22:31 +01:00
Oliver Woodman
7ad55dbf2c
webm_extractor: Add support for parsing BlockGroup element
...
This CL adds support for parsing BlockGroup elements for all
codecs (not just opus). It also adds a test to verify the new
behavior.
2015-05-01 20:20:47 +01:00
Oliver Woodman
9b6c30525e
webm_extractor_tests: Add tests for multi track Webm Extractor Support
...
Refactor the extractor tests to enable testing of multi track Webm support.
Github Issue: #363
2015-05-01 20:13:53 +01:00
Oliver Woodman
c807c69a93
webm_extractor: Support for multiple tracks
...
Github Issue: #363
2015-04-22 16:18:23 +01:00
Oliver Woodman
1a9bf018a4
Add frame rate to Format for use in format selection (when known).
2015-04-22 16:16:42 +01:00
Oliver Woodman
508e13e0bd
Clean up + optimize ParsableByteArray.
2015-04-17 20:03:24 +01:00
Oliver Woodman
e21f7801b5
Major surgery to move all playback modes to the new Extractor model.
2015-04-13 18:57:31 +01:00
Oliver Woodman
a17ffa66f2
Delete test for the removed source package.
2015-04-11 02:05:53 +01:00
Oliver Woodman
587edf8e2b
Add new style mp4/fmp4 extractors.
2015-04-11 01:58:34 +01:00
Oliver Woodman
f002e6a76e
Add test for DefaultExtractorInput + trivial Extractor sanity checks.
2015-04-11 01:42:48 +01:00
Oliver Woodman
7d8141e419
Add new style mp3 extractor.
2015-04-11 01:42:03 +01:00
Oliver Woodman
4a1fed9e86
Add new style WebM extractor.
2015-04-11 01:30:11 +01:00
Oliver Woodman
61443b2f12
Relocate content of Mp4Util to more sensible locations.
...
- Atom related stuff in Mp4Util is moved to Atom.
- Remainder of Mp4Util is renamed to H264Util.
2015-04-10 23:31:03 +01:00
Oliver Woodman
608d685b2c
Add missing header.
2015-04-10 22:56:13 +01:00
Oliver Woodman
d745384d99
Change decodeOnly to be a sample flag.
2015-04-10 22:55:12 +01:00
Andrew Lewis
5e4a35fa7e
Add Mp4SampleExtractor, for reading unfragmented MP4 files.
2015-03-13 18:10:37 +00:00
Oliver Woodman
12807a7d4b
Simplify encryption handling in HLS.
2015-03-12 19:44:06 +00:00
Oliver Woodman
5d0457152d
Remove need for InlinedApi with a few more C constants.
2015-03-11 15:48:12 +00:00
Oliver Woodman
8c1088559e
Generalize getPsshInfo to properly accomodate WebM.
...
- Rather than returning a map, return a DrmInitData object,
with mapped and non-mapped implementations.
- Include a suitable mimeType to pass to the MediaDrm. Previously
we were incorrectly passing the mimeType of the samples,
where-as MediaDrm expects the container mimeType. Note that
it doesn't matter whether the mimeType starts with "video" or
"audio", hence using video mimeTypes everywhere.
2015-03-10 19:42:48 +00:00
Oliver Woodman
4192ac56af
WebM Extractor support for Encrypted content.
2015-03-10 19:36:37 +00:00
Oliver Woodman
489e99158f
Remove getDurationUs from the SampleExtractor interface.
...
Set the duration on the MediaFormat instead.
2015-03-10 19:04:38 +00:00
Oliver Woodman
f3f9c845cd
Add test for DefaultSampleSource.
2015-03-10 19:02:24 +00:00
Oliver Woodman
fbd0a57e5c
Push tests.
2015-03-06 16:39:00 +00:00