Package com.jalios.io

Class VideoUtil

    • Constructor Detail

      • VideoUtil

        public VideoUtil()
    • Method Detail

      • getMP4Duration

        public static long getMP4Duration​(java.io.File file)
        Returns the duration of the given MP4 file or -1 if the duration cannot be extracted.
        Parameters:
        file - the MP4 file
        Returns:
        the duration of the given MP4 file or -1 if the duration cannot be extracted.
        Since:
        jcms-10.0.0