public interface VideoService
Modifier and Type | Method and Description |
---|---|
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.
|
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.VideoConversionStatus getProgressStatus(String repositoryName, String docId, String conversionName)
VideoConversion getVideoConversion(String conversionName)
Configuration getConfiguration()
Copyright © 2018 Nuxeo. All rights reserved.