Package org.nuxeo.ecm.platform.video
Class TranscodedVideo
java.lang.Object
org.nuxeo.ecm.platform.video.Video
org.nuxeo.ecm.platform.video.TranscodedVideo
Object wrapping a transcoded video and related 
VideoInfo.
 
 The TranscodedVideo is identified by its name and a position, if any, in the list of TranscodedVideos
 for a given @{link VideoDocument}.
 
 If this TranscodedVideo is not part
- Since:
 - 5.5
 - Author:
 - Thomas Roger
 
- 
Field Summary
 - 
Method Summary
Modifier and TypeMethodDescriptionstatic TranscodedVideofromBlobAndInfo(String name, Blob blob, VideoInfo videoInfo) Build aTranscodedVideofrom aname, videobloband relatedvideoInfo.static TranscodedVideofromMapAndPosition(Map<String, Serializable> map, int position) Build aTranscodedVideofrom aMapof attributes and apositionReturns the videoBlobproperty name of thisTranscodedVideo.getName()Returns the name of thisTranscodedVideo.toMap()Returns aMapof attributes for thisTranscodedVideo.Methods inherited from class org.nuxeo.ecm.platform.video.Video
fromBlobAndInfo, getBlob, getDuration, getFormat, getFrameRate, getHeight, getStreams, getVideoInfo, getWidth 
- 
Method Details
- 
fromMapAndPosition
Build aTranscodedVideofrom aMapof attributes and aposition - 
fromBlobAndInfo
Build aTranscodedVideofrom aname, videobloband relatedvideoInfo. - 
getName
Returns the name of thisTranscodedVideo. - 
getBlobPropertyName
Returns the videoBlobproperty name of thisTranscodedVideo. - 
toMap
Returns aMapof attributes for thisTranscodedVideo.Used when saving this
TranscodedVideoto aDocumentModelproperty. 
 -