mirror of
https://github.com/samsonjs/media.git
synced 2026-04-13 12:35:48 +00:00
Previously, input assets had to be all SDR or all HDR. After this CL, if tone-mapping is requested, HDR and SDR may mix in any order. If tone-mapping is not requested, SDR may precede HDR, but not vice versa, until SDR to HDR tone-mapping is implemented Some changes to accomplish this include: 1. Inputting the decoded format's color to VideoFrameProcessor.registerInputStream for each stream. 2. Calculating the estimated decoded format's color for each stream, by estimating it based on MediaCodec tone-mapping. PiperOrigin-RevId: 602747837 |
||
|---|---|---|
| .. | ||
| src | ||
| build.gradle | ||
| README.md | ||
Transformer module
Provides functionality for transforming media files.
Getting the module
The easiest way to get the module is to add it as a gradle dependency:
implementation 'androidx.media3:media3-transformer:1.X.X'
where 1.X.X is the version, which must match the version of the other media
modules being used.
Alternatively, you can clone this GitHub project and depend on the module locally. Instructions for doing this can be found in the top level README.