public interface VideoService
| Modifier and Type | Method and Description |
|---|---|
TranscodedVideo |
convert(VideoConversionId id,
Video originalVideo,
String conversionName)
Deprecated.
since 5.7.3, use the API without id
|
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.
|
Configuration |
getConfiguration() |
VideoConversionStatus |
getProgressStatus(String repositoryName,
String docId,
String conversionName)
Returns the status of the video conversion with the given conversion name on the given document.
|
VideoConversionStatus |
getProgressStatus(VideoConversionId id)
Deprecated.
since 5.7.3, use the other API with a document
|
VideoConversion |
getVideoConversion(String conversionName) |
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.@Deprecated 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.convert(Video, String)@Deprecated VideoConversionStatus getProgressStatus(VideoConversionId id)
id.id - unique identifier of the video conversiongetProgressStatus(String, String, String)VideoConversionStatus getProgressStatus(String repositoryName, String docId, String conversionName)
repositoryName - docId - conversionName - VideoConversion getVideoConversion(String conversionName)
Configuration getConfiguration()
Copyright © 2016 Nuxeo SA. All rights reserved.