Class VideoConversionConverter
- java.lang.Object
-
- org.nuxeo.ecm.platform.convert.plugins.CommandLineBasedConverter
-
- org.nuxeo.ecm.platform.video.convert.BaseVideoConversionConverter
-
- org.nuxeo.ecm.platform.video.convert.VideoConversionConverter
-
- All Implemented Interfaces:
Converter
,ExternalConverter
public class VideoConversionConverter extends BaseVideoConversionConverter
Generic video convert configured by converter parameters contributions.- Since:
- 5.9.5
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.nuxeo.ecm.platform.convert.plugins.CommandLineBasedConverter
CommandLineBasedConverter.CmdReturn
-
-
Field Summary
Fields Modifier and Type Field Description static String
VIDEO_EXTENSION_KEY
static String
VIDEO_MIME_TYPE_KEY
static String
VIDEO_TMP_DIRECTORY_PREFIX_KEY
-
Fields inherited from class org.nuxeo.ecm.platform.video.convert.BaseVideoConversionConverter
OUTPUT_TMP_PATH
-
Fields inherited from class org.nuxeo.ecm.platform.convert.plugins.CommandLineBasedConverter
CMD_NAME_PARAMETER, initParameters, TMP_PATH_PARAMETER
-
-
Constructor Summary
Constructors Constructor Description VideoConversionConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getTmpDirectoryPrefix()
Returns the temporary directory prefix to use for this converter.protected String
getVideoExtension()
Returns the video extension, always prefixed by '.'.protected String
getVideoMimeType()
Returns the video mime type to use for this converter.-
Methods inherited from class org.nuxeo.ecm.platform.video.convert.BaseVideoConversionConverter
buildResult, getCmdBlobParameters, getCmdStringParameters, unquoteValue
-
Methods inherited from class org.nuxeo.ecm.platform.convert.plugins.CommandLineBasedConverter
convert, execOnBlob, getCommandLineService, getCommandName, getTmpDirectory, init, isConverterAvailable
-
-
-
-
Field Detail
-
VIDEO_MIME_TYPE_KEY
public static final String VIDEO_MIME_TYPE_KEY
- See Also:
- Constant Field Values
-
VIDEO_EXTENSION_KEY
public static final String VIDEO_EXTENSION_KEY
- See Also:
- Constant Field Values
-
VIDEO_TMP_DIRECTORY_PREFIX_KEY
public static final String VIDEO_TMP_DIRECTORY_PREFIX_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getVideoMimeType
protected String getVideoMimeType()
Description copied from class:BaseVideoConversionConverter
Returns the video mime type to use for this converter.- Specified by:
getVideoMimeType
in classBaseVideoConversionConverter
-
getVideoExtension
protected String getVideoExtension()
Description copied from class:BaseVideoConversionConverter
Returns the video extension, always prefixed by '.'.- Specified by:
getVideoExtension
in classBaseVideoConversionConverter
-
getTmpDirectoryPrefix
protected String getTmpDirectoryPrefix()
Description copied from class:BaseVideoConversionConverter
Returns the temporary directory prefix to use for this converter.- Specified by:
getTmpDirectoryPrefix
in classBaseVideoConversionConverter
-
-