rohks
0f665fbeb8
Ignore reserved bit in parsing NAL unit type
...
`HevcConfig.parse` misreads reserved bit to determine NAL unit type. This is currently meant to be always set to 0, but could be given some kind of meaning in a future revision.
Issue: google/ExoPlayer#10366
PiperOrigin-RevId: 460487613
2022-07-13 17:47:51 +00:00
rohks
a1665841fc
Add tests for extracting MP4 with large bitrates
...
Also added the test to `MP4PlaybackTest`.
PiperOrigin-RevId: 459492188
2022-07-07 18:30:04 +00:00
olly
d86bc1078c
Fix parsing H265 short term reference picture sets
...
Issue: google/ExoPlayer#10316
PiperOrigin-RevId: 456084302
2022-06-27 11:23:40 +01:00
Marc Baechinger
1ca382d138
Merge pull request #9915 from dburckh:avi
...
PiperOrigin-RevId: 455094147
2022-06-15 15:04:32 +00:00
ibaker
b6b282672c
Permit duplicate Opus headers
...
This reinstates the permissive behaviour removed by
fe7e5b8181
Test file created by opening bear.opus in a hex editor and naively
duplicating the two header packets, starting at (and including) the
first `OggS` in the file and ending just before the third `OggS`.
#minor-release
Issue: google/ExoPlayer#10038
PiperOrigin-RevId: 452015662
2022-05-31 14:00:59 +00:00
ibaker
a0ac261873
Remove ExoPlayer's RawCcExtractor
...
RawCC is a Google-internal subtitle format, and is no longer used with
ExoPlayer.
PiperOrigin-RevId: 446950691
2022-05-06 12:05:37 +01:00
olly
825976c987
Reading AV1 initialization data.
...
We add an entire class like we do for parsing other codec initialization formats; it's currently not doing any parsing though (... initialization data is really simple for AV1 though: just the entire contents of the box).
For testing, we add the sample file, having been re-encoded with ffmpeg (and we also happen to have another av1 file, too).
PiperOrigin-RevId: 444890282
2022-05-09 10:40:44 +01:00
Ian Baker
a8c0a1bdfd
Merge pull request #10150 from egor-n:dev-v2-8435-outlinecolour
...
PiperOrigin-RevId: 444787307
2022-05-09 10:12:53 +01:00
olly
020e3ea5e2
Reading AV1 initialization data.
...
We add an entire class like we do for parsing other codec initialization formats; it's currently not doing any parsing though (... initialization data is really simple for AV1 though: just the entire contents of the box).
For testing, we add the sample file, having been re-encoded with ffmpeg (and we also happen to have another av1 file, too).
PiperOrigin-RevId: 439453823
2022-04-07 17:20:04 +01:00
Egor Neliuba
2bd348effd
Consider BorderStyle value before applying OutlineColour as background
2022-04-04 18:26:31 +03:00
Egor Neliuba
388b8d1d88
Add support for SSA OutlineColour (only background)
...
OutlineColour should be treated as the background color if BorderStyle=3. Since currently BorderStyle is ignored, we can always treat OutlineColor as the background color.
2022-04-03 11:39:06 +03:00
aquilescanta
2d025a2797
Add maxNumRefFrames to NalUnitUtil
...
Needed for AVI support.
PiperOrigin-RevId: 436991922
2022-03-24 14:41:28 +00:00
olly
d622598285
Add Matroska Extractor Test Sample For Opus
...
PiperOrigin-RevId: 429386479
2022-02-18 15:03:10 +00:00
Dustin
0b629e4be8
Simplified UnboundedIntArray
...
(cherry picked from commit b4cb20cd31e44fe641aac94fee7e69456e48356c)
2022-02-17 07:39:46 -07:00
Dustin
e14617fc32
Merged Robo and non-Robo tests into one file
2022-02-15 10:39:20 -07:00
Dustin
1a616b4e00
Added /* package */ to package level variables.
2022-02-15 10:32:43 -07:00
Dustin
f604ee59d1
Changed constants to literals.
2022-02-15 10:31:37 -07:00
Dustin
3886f5f0b6
Code Review Changes
...
(cherry picked from commit 135e103faa1bd829df0542a7062e67ebcfc8638f)
2022-02-14 14:36:20 -07:00
tonihei
17050e8b59
Fix the position of IntDefs to match TYPE_USE
...
#minor-release
PiperOrigin-RevId: 427131569
2022-02-08 12:34:06 +00:00
olly
2db8807aac
Revert of b19ced30c4c2853b09af3382b86f84c31b3a5af5
...
PiperOrigin-RevId: 426996878
2022-02-08 12:33:53 +00:00
ibaker
b19ced30c4
Fix the position of IntDefs to match TYPE_USE
...
#minor-release
PiperOrigin-RevId: 426855255
2022-02-07 11:17:31 +00:00
Dustin
247b57692e
MpegAudioChunkHandler cleanup and Tests
2022-02-05 09:32:19 -07:00
Dustin
3a9f1f9a34
Improved comments, improved naming consistency.
2022-02-05 07:09:29 -07:00
Dustin
14c842e503
Add coverage for max ref frames
2022-02-05 07:06:58 -07:00
Dustin
84d3f62e88
Fix DefaultExtractorsFactoryTest
2022-02-05 07:06:25 -07:00
Dustin
ba0b991d76
Optimize AvcChunkHandler to use normal ChunkClock if no B Frames.
2022-02-04 19:52:10 -07:00
Dustin
5b952294f6
Refactor to ChunkHander, add Mp3ChunkHandler
2022-02-04 18:45:09 -07:00
Dustin
aee15f6c70
Simplify AviTrack
2022-02-03 18:07:51 -07:00
Dustin
1528b8b5ee
Found out RESULT_SEEK is a bad thing. Greatly improved Extractor efficiency.
2022-02-02 14:35:52 -07:00
Dustin
e9fcc967a3
Added copyright, better comments, removed dead code.
2022-02-01 17:33:10 -07:00
Dustin
0896a04d02
Add bits per second for audio.
2022-02-01 15:08:13 -07:00
Dustin
89d10451ce
Move list types to the same class. Expose readHeaderList for external use.
2022-02-01 12:59:45 -07:00
Dustin
5f76e0fa04
AvcChunkPeeker tests
2022-01-31 10:52:12 -07:00
Dustin
d006f3f473
Beef up readIdx1 tests
2022-01-31 10:51:52 -07:00
Dustin
9bd93ad98e
Add work-around for muxer bug where idx1 offset is from 0, not "movi"
...
location
2022-01-31 04:49:18 -07:00
Dustin
4f365cef90
Merge branch 'google:dev-v2' into dev-v2
2022-01-30 21:26:24 -07:00
Dustin
bf1a15652d
Added support for AVC picOrderCountType = 2
2022-01-30 21:05:33 -07:00
Dustin
5e7679df53
Fix bug with null in aviTracks, add FourCC FMP4
2022-01-30 14:12:08 -07:00
Dustin
99e699a3f7
Clean up tests
2022-01-30 13:53:20 -07:00
Dustin
df9e51de9d
More AviExtractor tests
2022-01-29 19:19:13 -07:00
Dustin
432ff5ea70
More AviExtractor tests
2022-01-29 14:51:03 -07:00
Dustin
66c240f1bd
AviHeaderBox Tests
2022-01-29 11:35:35 -07:00
Dustin
b520b26f0f
More AviExtractor tests
2022-01-29 10:59:55 -07:00
Dustin
1d85bf2456
Updated seek
2022-01-28 12:47:43 -07:00
Andrew Lewis
e58ffc0682
Merge pull request #9893 from moneytoo:mkv-vtt
...
PiperOrigin-RevId: 424382031
2022-01-28 09:33:35 +00:00
Andrew Lewis
fe7e5b8181
Merge pull request #9864 from OxygenCobalt:vorbis-comments
...
PiperOrigin-RevId: 424355325
2022-01-28 09:22:51 +00:00
Dustin
f1d007e68c
Fix issue where reading mime type wrong in video. More tests
2022-01-25 15:01:02 -07:00
Dustin
7ea2d75fcd
Refactor Clock logic. Refactor peeking for MP4V and AVC. Moved AVI above MP3.
2022-01-24 16:02:37 -07:00
Dustin
09485cbed1
Passed along suggestedBufferSize to ExoPlayer
2022-01-23 14:52:53 -07:00
Dustin
43b8a9b336
Add support for StreamName fixed issues with position alignment
2022-01-23 13:45:22 -07:00