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
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
Dustin
b90333af02
Clean up UnboundedIntArray
2022-01-23 09:21:11 -07:00
Dustin
3daa74dceb
Tests for AudioFormat, VideoFormat and UnboundedIntArray
2022-01-22 22:10:12 -07:00
Dustin
c4cf876ddb
Tests for Mp4vAviTrack and StreamHeaderBox
2022-01-22 20:41:39 -07:00
OxygenCobalt
90b3056820
Refactor changes
...
Refactor the overall module to place the unified vorbis tags into a
single package called `vorbis`. Also re-intoduce the vorbis tags
in their original `flac` module, but deprecate them.
2022-01-09 16:16:20 -07:00
OxygenCobalt
60df845d4a
Fix vorbis tests
...
The vorbis tests did not expect metadata normally. Now they do.
2022-01-09 11:52:33 -07:00
OxygenCobalt
d7a40679de
Refactor vorbis metadata parsing into xiph
...
Move all picture and vorbis frame parsing into a new xiph module. This
commit also adds cover frame parsing from vorbis comments as well.
2022-01-09 11:29:18 -07:00
christosts
16e31a8495
Populate ICY headers into MediaMetadata
...
Populate ICY headers into MediaMetadata so that they can
propagate to the app via AnalyticsListener#onMediaMetadataChanged().
This change copies IcyHeaders.name into MediaMetadata.description
and IcyHeaders.genre into MediaMetadata.genre.
Note: MediaItem.metadata maintain their precedence and overwrite any
ICY headers parsed.
Issue: google/ExoPlayer#9677
PiperOrigin-RevId: 410495676
2021-11-18 14:20:26 +00:00
christosts
349160a5cf
Populate ICY headers into MediaMetadata
...
Populate ICY headers into MediaMetadata so that they can
propagate to the app via AnalyticsListener#onMediaMetadataChanged().
This change copies IcyHeaders.name into MediaMetadata.description
and IcyHeaders.genre into MediaMetadata.genre.
Note: MediaItem.metadata maintain their precedence and overwrite any
ICY headers parsed.
Issue: google/ExoPlayer#9677
#minor-release
PiperOrigin-RevId: 410495676
2021-11-18 13:13:27 +00:00
tonihei
eec8d31544
Merge pull request #9543 from KasemJaffer:rf64
...
PiperOrigin-RevId: 408816643
2021-11-11 13:34:48 +00:00
tonihei
04517e17d4
Merge pull request #9543 from KasemJaffer:rf64
...
PiperOrigin-RevId: 408816643
2021-11-11 10:21:29 +00:00
aquilescanta
be4ea151c4
Parse HDR static metadata from MP4 files
...
#minor-release
PiperOrigin-RevId: 407136922
2021-11-03 15:57:11 +00:00
aquilescanta
41e338229a
Parse HDR static metadata from MP4 files
...
#minor-release
PiperOrigin-RevId: 407136922
2021-11-03 15:07:30 +00:00
ibaker
39639f8df0
Allow missing full_range_flag in colr box with type=nclx
...
Test file produced with:
$ MP4Box -add "sample.mp4#video:colr=nclc,1,1,1" -new sample_18byte_nclx_colr.mp4
And then manually changing the `nclc` bytes to `nclx`.
This produces an 18-byte `colr` box with type `nclx`. The bitstream of
this file does not contain HDR content, so the file itself is invalid
for playback with a real decoder, but adding the box is enough to test
the extractor change in this commit.
(aside: MP4Box will let you pass `nclx`, but it requires 4 parameters, i.e. it
requires the full_range_flag to be set, resulting in a valid 19-byte colr box)
#minor-release
Issue: #9332
PiperOrigin-RevId: 405842520
2021-10-27 13:25:27 +01:00
olly
23b46d2e0c
Move NAL unit utils to extractor module
...
PiperOrigin-RevId: 405473686
2021-10-25 21:39:11 +01:00
olly
101b94f874
Remove dependency from opus module to extractor module
...
PiperOrigin-RevId: 405429757
2021-10-25 21:35:39 +01:00
olly
ea2013948a
Finalize text package
...
PiperOrigin-RevId: 404277755
2021-10-19 17:32:24 +01:00