Oliver Woodman
79db618ba6
Add support for header stripping in Matroska streams.
...
Issue: #589
2015-07-15 18:53:32 +01:00
Oliver Woodman
72d42fbc9f
Fix an issue where retrying WebM extraction failed.
...
The ID_SEGMENT can only be read once, as seeing the element a second time is
assumed to indicate that the file contains multiple segment elements (which is
not supported).
This change allows the element to be read twice if it is at the same position,
so that retrying loading from the start can succeed.
2015-07-15 11:15:21 +01:00
Oliver Woodman
a175ecbff3
Update WebVTT test to check we handle comment in header.
2015-06-26 14:27:45 +01:00
Andrew Lewis
e328546607
Make reusable fakes for extractor+track outputs.
...
Improve Mp4Extractor test.
Add support for Xiph lacing in Matroska files.
Add support for EBML lacing in Matroska files.
Handle the initial sticky intent for HDMI audio plug.
2015-06-23 17:57:41 +01:00
Oliver Woodman
773a69ddf9
Remove redundant types
2015-06-18 14:29:28 +01:00
Oliver Woodman
160a88baf9
Steps toward enabling seeking in DASH live
2015-06-18 14:28:54 +01:00
Oliver Woodman
8c98c588e8
Add support for fixed-size lacing in Matroska streams.
2015-06-18 14:17:32 +01:00
Oliver Woodman
eea57d0d76
Enhance WebM extractor tests
2015-06-15 18:02:53 +01:00
Oliver Woodman
164d8b4242
Rework application of Mpd.Location + fix test.
2015-06-15 17:38:51 +01:00
Oliver Woodman
a70c1f1a4b
Remove requirement to specify downstream renderer count.
...
This makes it so that it's no longer necessary to specify the number
of downstream renderers to HlsSampleSource, FrameworkSampleSource and
ExtractorSampleSource, by forcing the downstream renderers to register
with the SampleSource instances in their constructors. This eliminates
a common source of subtle client bugs where the passed value is incorrect.
2015-06-12 17:52:56 +01:00
Oliver Woodman
02c978e16c
Further cleanup subtitle implementations.
2015-06-12 17:44:01 +01:00
Oliver Woodman
87dfaff74b
Fix SRT test
2015-06-10 18:19:05 +01:00
ojw28
71252784e9
Merge pull request #498 from ened/subtitle/srt
...
Subrip (SRT) support
2015-06-10 17:46:53 +01:00
Sebastian Roth
2fb2e5a509
Subrip (SRT) support.
2015-06-09 09:49:20 +08:00
Oliver Woodman
24e897d39f
Further H264/H265 code deduping + fix NAL unescaping.
2015-06-05 20:05:28 +01:00
Oliver Woodman
cb1e6ad418
Tweak project configuration
2015-05-28 17:19:30 +01:00
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
efd0b1e3cf
Updated all ExoPlayer Eclipse projects to use Java 1.7.
2015-05-22 21:34:51 +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
12d05a0917
Bump target API level to 22.
2015-05-11 21:04:51 +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