public interface VideoService
| Modifier and Type | Method and Description |
|---|---|
TranscodedVideo |
convert(VideoConversionId id,
Video originalVideo,
String conversionName)
Convert the
originalVideo using the given conversionName. |
TranscodedVideo |
convert(Video originalVideo,
String conversionName)
Convert the
originalVideo using the given conversionName. |
Collection<VideoConversion> |
getAvailableVideoConversions()
Returns the available registered video conversions that can be run on a
Video document.
|
VideoConversionStatus |
getProgressStatus(VideoConversionId id)
Returns the status of the video conversion identified by the given
id. |
void |
launchAutomaticConversions(DocumentModel doc)
Launch all the registered automatic video conversions on the given
doc. |
void |
launchConversion(DocumentModel doc,
String conversionName)
Launch an asynchronously video conversion of the given
doc. |
Collection<VideoConversion> getAvailableVideoConversions()
void launchConversion(DocumentModel doc, String conversionName)
doc.doc - the video document to be convertedconversionName - the video conversion to usevoid launchAutomaticConversions(DocumentModel doc)
doc.doc - the video document to be convertedTranscodedVideo convert(Video originalVideo, String conversionName)
originalVideo using the given conversionName.originalVideo - the video to convertconversionName - the video conversion to useTranscodedVideo object of the converted video.TranscodedVideo convert(VideoConversionId id, Video originalVideo, String conversionName)
originalVideo using the given conversionName.id - unique identifier of the video conversion calling this method,
used for monitoring.originalVideo - the video to convertconversionName - the video conversion to useTranscodedVideo object for the converted video.VideoConversionStatus getProgressStatus(VideoConversionId id)
id.id - unique identifier of the video conversionCopyright © 2013 Nuxeo SA. All Rights Reserved.