public final class TranscodedVideo extends Video
VideoInfo
.
The TranscodedVideo
is identified by its name and a position, if any, in the list of TranscodedVideo
s
for a given @{link VideoDocument}.
If this TranscodedVideo
is not part
Modifier and Type | Method and Description |
---|---|
static TranscodedVideo |
fromBlobAndInfo(String name,
Blob blob,
VideoInfo videoInfo)
Build a
TranscodedVideo from a name , video blob and related videoInfo . |
static TranscodedVideo |
fromMapAndPosition(Map<String,Serializable> map,
int position)
Build a
TranscodedVideo from a Map of attributes and a position |
String |
getBlobPropertyName()
Returns the video
Blob property name of this TranscodedVideo . |
String |
getName()
Returns the name of this
TranscodedVideo . |
Map<String,Serializable> |
toMap()
Returns a
Map of attributes for this TranscodedVideo . |
fromBlobAndInfo, getBlob, getDuration, getFormat, getFrameRate, getHeight, getStreams, getVideoInfo, getWidth
public static TranscodedVideo fromMapAndPosition(Map<String,Serializable> map, int position)
TranscodedVideo
from a Map
of attributes and a position
public static TranscodedVideo fromBlobAndInfo(String name, Blob blob, VideoInfo videoInfo)
TranscodedVideo
from a name
, video blob
and related videoInfo
.public String getBlobPropertyName()
Blob
property name of this TranscodedVideo
.public Map<String,Serializable> toMap()
Map
of attributes for this TranscodedVideo
.
Used when saving this TranscodedVideo
to a DocumentModel
property.
Copyright © 2018 Nuxeo. All rights reserved.