Dustin
f604ee59d1
Changed constants to literals.
2022-02-15 10:31:37 -07:00
Dustin
ac96a2be65
Removed commented code.
2022-02-15 10:30:53 -07:00
Dustin
3886f5f0b6
Code Review Changes
...
(cherry picked from commit 135e103faa1bd829df0542a7062e67ebcfc8638f)
2022-02-14 14:36:20 -07:00
Dustin
ed2c814837
Merge branch 'everything' into avi
2022-02-06 06:29:30 -07:00
Dustin
05db1717c0
Remove method I didn't end up needing
2022-02-06 06:22:41 -07:00
Dustin
e7cbb3d50a
Add yet another Divx FourCC variant.
2022-02-06 06:22:15 -07:00
Dustin
35c9788695
Remove method I didn't end up needing
2022-02-05 10:53:32 -07:00
Dustin
193ece6d18
Merge branch 'everything' into avi
...
# Conflicts:
# library/extractor/src/main/java/com/google/android/exoplayer2/extractor/avi/AviExtractor.java
# library/extractor/src/test/java/com/google/android/exoplayer2/extractor/avi/AviExtractorRoboTest.java
# library/extractor/src/test/java/com/google/android/exoplayer2/extractor/avi/AviExtractorTest.java
# library/extractor/src/test/java/com/google/android/exoplayer2/extractor/avi/AviSeekMapTest.java
2022-02-05 10:39:47 -07:00
Dustin
71f094f259
MpegAudioChunkHandler seek fixes
2022-02-05 10:19:26 -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
2d727deaee
Found out RESULT_SEEK is a bad thing. Greatly improved Extractor efficiency.
...
(cherry picked from commit 1528b8b5ee4c43036253d1d2ab674ee65fe44ba8)
2022-02-02 14:38:31 -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
30257b0e8c
Revert random change
2022-02-01 20:06:15 -07:00
olly
43cfc4a611
Revert Demo and remove BitmapFactoryVideoRenderer classes
2022-02-01 20:02:12 -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
0ff238df99
Fix int overrun on files with large scale
2022-01-31 04:14:43 -07:00
Dustin
565db92ae2
Don't send meta on 0 length packets
2022-01-31 03:33:12 -07:00
Dustin
7c1cf36a9a
Commented verbose log
2022-01-30 21:28:04 -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
bec8b44ba5
BitmapFactoryVideoRenderer Tests
2022-01-30 13:29:07 -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
9d88db7119
Clean up BitmapFactoryVideoRenderer
2022-01-29 11:00:23 -07:00
Dustin
b520b26f0f
More AviExtractor tests
2022-01-29 10:59:55 -07:00
Dustin
a17d36de12
Minor cleanup
2022-01-28 17:42:04 -07:00
Dustin
1ff78292d1
Fix BitmapFactoryVideoRenderer sync issues
2022-01-28 17:17:32 -07:00
Dustin
1d85bf2456
Updated seek
2022-01-28 12:47:43 -07:00
claincly
9151103968
Rollback of 651fa0dbb7
...
*** Original commit ***
Apply suggested AVC profile depending on the API version.
***
PiperOrigin-RevId: 424856077
2022-01-28 14:43:54 +00:00
tonihei
174d99481a
Remove opt-out for suppressing wrong thread usage error.
...
Enforcing the correct thread usage has been enabled since 2.13.0.
Opting-out of this enforement is dangerous as it can hide very hard
to debug bugs.
PiperOrigin-RevId: 424815808
2022-01-28 14:33:43 +00:00
kimvde
1402bd6f54
Fix NPE in Transformer.getProgress()
...
If muxerWrapper.release() was throwing an exception, the progress state
was not updated and getProgress could throw an exception.
#minor-release
PiperOrigin-RevId: 424696783
2022-01-28 10:19:00 +00:00
andrewlewis
6e305936b8
Remove FOREGROUND_SERVICE
permission
...
This shouldn't be required for transformer instrumentation tests, as they don't use a foreground service.
PiperOrigin-RevId: 424654463
2022-01-28 10:15:17 +00:00
kimvde
98a997295e
Make sure that onTransformationError is called once
...
The second error is probably a consequence of the first one.
#minor-release
PiperOrigin-RevId: 424619944
2022-01-28 10:11:58 +00:00
kimvde
8ec18086f2
Fix transformer stuck forever
...
When the decoder output buffer was partially read, a call to
Codec.getOutputBuffer() was returning the same buffer, but with the
position reset to 0. The reason was that, in
Codec.maybeDequeueAndSetOutputBuffer(), mediaCodec.getOutputBuffer()
was called with the same buffer index (L350 in old rev), even though
there was already a buffer available (outputBufferIndex >=0). This
change avoids calling mediaCodec.getOutputBuffer() if the previous
buffer has not been released.
#minor-release
PiperOrigin-RevId: 424612197
2022-01-28 10:08:36 +00:00
hschlueter
8123ef5d71
Take encoder resolution fallback into account in video sample pipeline.
...
If the encoder picks a fallback resolution the video pipeline needs
to take this into account when configuring the frameEditor and when
setting up the fallback TransformationRequest that's passed to the
fallbackListener.
PiperOrigin-RevId: 424611290
2022-01-28 10:04:49 +00:00
krocard
901a5a4845
Make audio track min buffer size configurable.
...
Move the code in its own class as DefaultAudioTrack
is getting very big. It also help for testability.
The new class is easily configurable and highly tested.
Manual test was used to catch any regression.
https://github.com/google/ExoPlayer/issues/8891
PiperOrigin-RevId: 424602011
2022-01-28 10:01:27 +00:00