Package com.jalios.io
Class VideoUtil
- java.lang.Object
-
- com.jalios.io.VideoUtil
-
- All Implemented Interfaces:
JaliosConstants
public class VideoUtil extends java.lang.Object implements JaliosConstants
-
-
Field Summary
-
Fields inherited from interface com.jalios.util.JaliosConstants
CRLF, MILLIS_IN_ONE_DAY, MILLIS_IN_ONE_HOUR, MILLIS_IN_ONE_MINUTE, MILLIS_IN_ONE_MONTH, MILLIS_IN_ONE_SECOND, MILLIS_IN_ONE_WEEK, MILLIS_IN_ONE_YEAR
-
-
Constructor Summary
Constructors Constructor Description VideoUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static long
getMP4Duration(java.io.File file)
Returns the duration of the given MP4 file or -1 if the duration cannot be extracted.
-
-
-
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
-
-