Package org.nuxeo.ecm.platform.video
Class Video
java.lang.Object
org.nuxeo.ecm.platform.video.Video
- Direct Known Subclasses:
TranscodedVideo
Object wrapping a video
Blob
and related VideoInfo
.- Since:
- 5.5
- Author:
- Thomas Roger
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Video
fromBlobAndInfo
(Blob blob, VideoInfo videoInfo) Build aVideo
from a videoblob
and the relatedvideoInfo
.getBlob()
Returns the videoBlob
.double
Returns the duration of thisVideo
.Returns the format of thisVideo
.double
Returns the frame rate of thisVideo
.long
Returns the height of thisVideo
.Returns all theStream
s of thisVideo
.Returns theVideoInfo
for thisVideo
.long
getWidth()
Returns the width of thisVideo
.
-
Field Details
-
videoInfo
-
blob
-
-
Constructor Details
-
Video
-
-
Method Details
-
fromBlobAndInfo
Build aVideo
from a videoblob
and the relatedvideoInfo
. -
getVideoInfo
Returns theVideoInfo
for thisVideo
. -
getDuration
public double getDuration()Returns the duration of thisVideo
. -
getWidth
public long getWidth()Returns the width of thisVideo
. -
getHeight
public long getHeight()Returns the height of thisVideo
. -
getFormat
Returns the format of thisVideo
. -
getFrameRate
public double getFrameRate()Returns the frame rate of thisVideo
. -
getStreams
Returns all theStream
s of thisVideo
. -
getBlob
Returns the videoBlob
.
-