public class VideoUtil extends java.lang.Object implements JaliosConstants
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
REVISION |
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 and Description |
---|
VideoUtil() |
Modifier and Type | Method and Description |
---|---|
static long |
getMP4Duration(java.io.File file)
Returns the duration of the given MP4 file or -1 if the duration cannot be extracted.
|
public static final java.lang.String REVISION
public static long getMP4Duration(java.io.File file)
file
- the MP4 fileCopyright © 2001-2017 Jalios SA. All Rights Reserved.