- 01 Mar, 2022 13 commits
-
-
PiperOrigin-RevId: 431376857
ibaker committed -
When a live stream is joined while ads are already playing, the LOADED event is missed and we don't have ad information for those ads in the ad group that are before the ad index at which we joined. This way we can clip the duration when we receive the LOADED event for the last ad in the group. This fixes the problem of the playback controls being hidden when content resumes after the ad group. #minor-release PiperOrigin-RevId: 431269627
bachinger committed -
There's no media3 equivalent to the `com.google.android.exoplayer:exoplayer` dependency. PiperOrigin-RevId: 430955037
ibaker committed -
We use SSIM to measure the transcoding quality between. SSIM is a widely used tool that compares the luma channel between two images, and generates a score from 0 to 1 that indicates "how similar" the two images are. In `SsimHelper`, we decode the two videos, extract matching frames and calculates the mean SSIM (SSIM averaged all matching frames) for both videos. Matching frames are referred to as "comparisonFrame" in the CL, which is selected based on the frame number and a user-set comparison interval. For instance, if the interval is 7, then every seventh frames are compared. We use MediaCodec/MediaExtractor to decode the video, and use ImageReader to extract the decoded frame. The SSIM calculation logic is a inspired by and modified from the CTS [MSSIMMatcher](https://cs.android.com/android/platform/superproject/+/master:cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/MSSIMComparer.java;l=1?q=mssimcom) that has some errors and extra features we don't need (like handling RGB images). Adds TranscodeQualityTest to ensure high quality transcoding. PiperOrigin-RevId: 430951206
claincly committed -
PiperOrigin-RevId: 430946606
ibaker committed -
When investigating how 'bad' a failure is, it's useful to see the diff between input and output bitmaps. PiperOrigin-RevId: 430917732
samrobinson committed -
PiperOrigin-RevId: 430911179
ibaker committed -
The command is not needed, because the specified branch is already the default branch on GitHub so will be checked out by clone automatically. PiperOrigin-RevId: 430910549
ibaker committed -
https://github.com/androidx/media/commit/99d2b11329481609aa83512b92bbad98f29b405a
*** Original commit *** Rollback of https://github.com/androidx/media/commit/caf62842c4897dc84ba8dd83cc9cf7de7fa3279b *** Original commit *** Rollback of https://github.com/androidx/media/commit/c2cb22a05687d36d842c7049753a7c8ab34d5053 *** Original commit *** Rollback of https://github.com/androidx/media/commit/1521e50307bb74983ecef1fc2ddf5f996f27468b *** Original commit *** PiperOrigin-RevId: 430905772
ibaker committed -
Issue: google/ExoPlayer#9996 #minor-release PiperOrigin-RevId: 430773329
olly committed -
The AsyncronousMediaCodecAdapter should call MediaCodec.start() on the same thread it calls MediaCodec.flush(), i.e. the playback thread. This change removes the experimental flag that allowed calling MediaCodec.start() from the callback thread. The flag was flipped to true already. PiperOrigin-RevId: 430689665
christosts committed -
Generated by running: ./gradlew wrapper --gradle-version 7.4 --distribution-type all #minor-release PiperOrigin-RevId: 430666317
ibaker committed -
This method throws an UnsupportedOperationException on some Android 12 devices. PiperOrigin-RevId: 430647264
ibaker committed
-
- 23 Feb, 2022 4 commits
-
-
#minor-release PiperOrigin-RevId: 430456963
ibaker committed -
#minor-release PiperOrigin-RevId: 430454251
ibaker committed -
These helpers will also be useful for future frame processor tests outside FrameEditorDataProcessingTest. PiperOrigin-RevId: 430409172
hschlueter committed -
Also replace the bitmaps with bitmaps obtained by following the instructions. PiperOrigin-RevId: 430232369
hschlueter committed
-
- 22 Feb, 2022 12 commits
-
-
PiperOrigin-RevId: 430220416
andrewlewis committed -
#minor-release PiperOrigin-RevId: 430200331
ibaker committed -
We need to access internal state to work around resources not being released on old API versions. Add a reference to the bug about this and suppress the lint warning. #minor-release PiperOrigin-RevId: 430190794
andrewlewis committed -
#minor-release PiperOrigin-RevId: 430189385
ibaker committed -
All (later customizable) GlFrameProcessors after the ExternalCopyFrameProcessor receive their input from a normal OpenGL texture not an external texture, so they won't need to worry about the textureTransformMatrix. PiperOrigin-RevId: 430165652
hschlueter committed -
getCurrentTrackGroups and getCurrentTrackSelections are retained for now, but moved from Player to ExoPlayer, to ease the transition for some application code that currently uses these methods. PiperOrigin-RevId: 430036355
olly committed -
As per https://github.com/androidx/media/commit/f2ad8ccd3cab30fb3960bc456e1766815be79eea, log tags can not be longer than 23 chars. PiperOrigin-RevId: 430032243
samrobinson committed -
#mse-bug-week PiperOrigin-RevId: 430028245
huangdarwin committed -
There are two major blockers to this test: - H265 muxing is not available for API<24, so setting video mimeType to H265 will fail on those devices. - AMR audio encoding is buggy on some device and it's not a widely used format. The solution: use a video that is encoded with AVC/MP3, to ensure transcoding to AVC/AAC. PiperOrigin-RevId: 429648598
claincly committed -
Re-enable tests that have no muxer support for timestamps going backwards. Tests running on the B-frame sample will be added in a future commit. #mse-bug-week PiperOrigin-RevId: 429599177
samrobinson committed -
#minor-release PiperOrigin-RevId: 429596966
ibaker committed -
https://github.com/androidx/media/commit/caf62842c4897dc84ba8dd83cc9cf7de7fa3279b
*** Original commit *** Rollback of https://github.com/androidx/media/commit/c2cb22a05687d36d842c7049753a7c8ab34d5053 *** Original commit *** Rollback of https://github.com/androidx/media/commit/1521e50307bb74983ecef1fc2ddf5f996f27468b *** Original commit *** Wire up MediaMetricsListener and add configuration to... *** PiperOrigin-RevId: 429585773
ibaker committed
-
- 18 Feb, 2022 10 commits
-
-
This class will contain additional details such as frame count, once implemented. #mse-bug-week PiperOrigin-RevId: 429567678
samrobinson committed -
PiperOrigin-RevId: 429566102
Ian Baker committed -
We use the `createForCodec` method that does not take a `MediaFormat` during transformation, the error message always includes "no configured MediaFormat", which is false. PiperOrigin-RevId: 429553573
claincly committed -
PiperOrigin-RevId: 429386479
olly committed -
PiperOrigin-RevId: 429368911
olly committed -
PiperOrigin-RevId: 429364728
olly committed -
The muxer doesn't support HEVC below API 24. The is documented in the TransformationRequest javadoc and the Transformer.Builder will throw if HEVC is requested below API 24 so the option should not be part of the demo for those devices. #mse-bug-week PiperOrigin-RevId: 429343805
hschlueter committed -
PiperOrigin-RevId: 429338648
olly committed -
Ian Baker committed
-
#mse-bug-week PiperOrigin-RevId: 429323642
samrobinson committed
-
- 17 Feb, 2022 1 commit
-
-
isTypeSupportedOrEmpty is very specific and a little hard to understand unless you know the one thing it's useful for. This commit replaces it with isTypeSupported, which can be used in conjunction with the recently added containsType method. PiperOrigin-RevId: 429312712
olly committed
-