Package 

Class MediaFormatProvider


  • 
    public class MediaFormatProvider
    
                        

    Formats from getTrackFormat might be missing important metadata information like the sample rate or bit rate. These values are needed by com.otaliastudios.transcoder.strategy.TrackStrategy to compute the output configuration. This class will check the completeness of the input format and if needed, provide a more complete format by decoding the input file until MediaCodec computes all values.