- 09 May, 2022 2 commits
-
-
This can allow apps to test and demonstrate support for videos with pixelWidthHeightRatio != 1. PiperOrigin-RevId: 444815182
huangdarwin committed -
PiperOrigin-RevId: 444787307
Ian Baker committed
-
- 26 Apr, 2022 5 commits
-
-
PiperOrigin-RevId: 444585404
Oliver Woodman committed -
To ensure frame processor operations operate on square pixels, make the frame taller or wider for non-square input pixels. In addition to automated tests, this was tested by changing the inputFormat.pixelWidthHeightRatio in the TransformerVideoRenderer. PiperOrigin-RevId: 444553517
huangdarwin committed -
Remove unused saveTestBitmapToCacheDirectory throwOnFailure option. #cleanup PiperOrigin-RevId: 444516857
huangdarwin committed -
This allows the actual bitmap to be saved, even if output dimensions are different than expected. Otherwise, differing output dimensions would throw an exception, preventing the bitmap from being saved. PiperOrigin-RevId: 444512210
huangdarwin committed -
30 second clips at higher resolutions are useful for testing encoder behaviour compared to shorter clips. PiperOrigin-RevId: 444505865
samrobinson committed
-
- 25 Apr, 2022 1 commit
-
-
PiperOrigin-RevId: 444347415
samrobinson committed
-
- 26 Apr, 2022 32 commits
-
-
https://github.com/google/ExoPlayer/commit/8da6c35bbbae84c91c49fc2d723224642d1670f9
*** Original commit *** Keep AudioTrack on flush as default *** PiperOrigin-RevId: 444327724
samrobinson committed -
PiperOrigin-RevId: 444264961
samrobinson committed -
PiperOrigin-RevId: 444253425
huangdarwin committed -
PiperOrigin-RevId: 444221415
ibaker committed -
The last frame processor could use a different drawing command than a four vertex triangle strip. So we need call its drawing method again instead of assuming the shape. PiperOrigin-RevId: 444217274
hschlueter committed -
Avoid no-op FrameProcessors in VideoTranscodingSamplePipeline, to avoid creating resources for and executing GL for a no-op vertex+fragment shader. EncoderCompatibilityFrameProcessor will still always be exercised. PiperOrigin-RevId: 443675833
huangdarwin committed -
Issue: google/ExoPlayer#10165 #minor-release PiperOrigin-RevId: 443653894
claincly committed -
This test should run on all devices from API 21 (the media uses Baseline profile level 3.0 H.264) to give us coverage of the full pipeline (forcing re-encoding) and SSIM calculation on all devices. PiperOrigin-RevId: 443650002
andrewlewis committed -
Float I-frame intervals are only supported from API 25 onwards (see https://developer.android.com/reference/android/media/MediaFormat#KEY_I_FRAME_INTERVAL). Setting a null value for profile/level can cause a native crash when configuring the decoder. PiperOrigin-RevId: 443647924
andrewlewis committed -
PiperOrigin-RevId: 443620931
claincly committed -
ExoPlayer's default behaviour changed in https://github.com/google/ExoPlayer/commit/b12918d1e6b92763c0a7b870e598d260a052361f. Issue: google/ExoPlayer#10170 #minor-release PiperOrigin-RevId: 443611196
ibaker committed -
Split rotationDegrees changes to EncoderCompatibilityFrameProcessor, a new FrameProcessor. This removes automatic rotationDegrees adjustments from Presentation, which allows Presentation to be used for changes before the end of a FrameProcessorChain pipeline. PiperOrigin-RevId: 443387226
huangdarwin committed -
Issue: google/ExoPlayer#9544 The header must include the word "Basic", but the word is missing. #minor-release PiperOrigin-RevId: 443386880
claincly committed -
The issue with decoding getting stuck is still reproducible on `samsung/beyond1lteeea/beyond1:12/SP1A.210812.016/G973FXXUEGULB:user/release-keys`. PiperOrigin-RevId: 443368546
andrewlewis committed -
PiperOrigin-RevId: 443156130
samrobinson committed -
After this change the test will use EGL_NO_SURFACE or a pixel buffer surface if using no surface is not supported. PiperOrigin-RevId: 443113794
hschlueter committed -
Some devices under report their resolution support, like 2144 for 2160 in H265, 1072 for 1080 in H264. This CL only takes care of these two cases, - reporting 1920x1080 is supported when the device reports 1920x1072, and - reporting 3840x2160 is supported when the device reports 3840x2144 PiperOrigin-RevId: 443095042
claincly committed -
When downlading an adaptive asset, if an ExoPlaybackException happens during track selection, the player raises an UnsupportedOperationException which is not handled gracefully and can crash the app main thread. This change catches the error and forwards it to DownloadHelper.Callback.onPrepareError() as an IOException. PiperOrigin-RevId: 443015332
christosts committed -
PiperOrigin-RevId: 442844189
samrobinson committed -
PiperOrigin-RevId: 442835160
huangdarwin committed -
PiperOrigin-RevId: 442826391
hschlueter committed -
This is safer because it will prevent any future problems with creating a new FrameProcessorChain before the previous one has completed its async release. From [eglDestroyContext documentation](https://www.khronos.org/registry/EGL/sdk/docs/man/html/eglDestroyContext.xhtml): "If the EGL rendering context is not current to any thread, eglDestroyContext destroys it immediately." The context isn't current to any thread here because GlUtil calls eglMakeCurrent with EGL_NO_CONTEXT before calling eglDestroyContext. So everthing should be released once the FrameProcessorChain's release task terminates. PiperOrigin-RevId: 442807484
hschlueter committed -
PiperOrigin-RevId: 442751310
claincly committed -
`Player.getCurrentTracksInfo` was renamed to `Player.getCurrentTracks` in https://github.com/google/ExoPlayer/commit/0ad508b14f232a2d9551cdead61c3e7fa9c0e9e8. PiperOrigin-RevId: 441825078
ibaker committed -
Negative and zero values should be disallowed. PiperOrigin-RevId: 441757246
huangdarwin committed -
Add a very short (1 second) video, so that some manual tests / prototyping, including tests for the start and end of a video, encoder selection, or changes applied to frames, can finish quickly. PiperOrigin-RevId: 441756901
huangdarwin committed -
PiperOrigin-RevId: 441712166
olly committed -
* Group what's now many related test PNGs by moving them to their own directory. * Move bitmap references to files where they're used, as each bitmap is only used once each, except the original bitmap. PiperOrigin-RevId: 441485489
huangdarwin committed -
Scaling and rotation using ScaleToFitFrameProcessor may change the the resolution and aspect ratio, so defaulting to the same as the input is no longer accurate. PiperOrigin-RevId: 441463349
hschlueter committed -
What a minimal implementation should include is now explained in the interface javadoc while the method name reflects what the method does. PiperOrigin-RevId: 441432059
hschlueter committed -
PiperOrigin-RevId: 441424063
christosts committed -
PiperOrigin-RevId: 441250773
huangdarwin committed
-