Class MovieDataExtractor


  • public final class MovieDataExtractor
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int extractAudioSampleRate​(java.lang.String filename, int fallBackValue)  
      static long extractDuration​(java.lang.String filename, long fallBackValue)  
      static int selectTrack​(android.media.MediaExtractor extractor, java.lang.String mimePrefix)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • extractDuration

        public static long extractDuration​(@NonNull
                                           java.lang.String filename,
                                           long fallBackValue)
      • extractAudioSampleRate

        public static int extractAudioSampleRate​(@NonNull
                                                 java.lang.String filename,
                                                 int fallBackValue)
      • selectTrack

        public static int selectTrack​(@NonNull
                                      android.media.MediaExtractor extractor,
                                      @NonNull
                                      java.lang.String mimePrefix)