
* Move auto-adjustments for transformation matrices from the VideoTranscodingSamplePipeline constructor to the new ScaleToFitFrameProcessor. * Add GlFrameProcessor#getOutputDimensions() to allow for GlFrameProcessors with different input and output dimensions. This is a prerequisite for Presentation. * Tested with unit tests (and manually just in case). * A follow up CL will implement change the FrameProcessor input to be scale and rotate values as requested by the user. This was kept out of this CL to reduce CL review size. Presentation will also be implemented in a follow up CL. PiperOrigin-RevId: 434774854
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 'com.google.android.exoplayer:exoplayer-transformer:2.X.X'
where 2.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.
Using the module
Use of the Transformer module is documented in the developer guide.