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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic VideofromBlobAndInfo(Blob blob, VideoInfo videoInfo) Build aVideofrom a videobloband the relatedvideoInfo.getBlob()Returns the videoBlob.doubleReturns the duration of thisVideo.Returns the format of thisVideo.doubleReturns the frame rate of thisVideo.longReturns the height of thisVideo.Returns all theStreams of thisVideo.Returns theVideoInfofor thisVideo.longgetWidth()Returns the width of thisVideo.
-
Field Details
-
videoInfo
-
blob
-
-
Constructor Details
-
Video
-
-
Method Details
-
fromBlobAndInfo
Build aVideofrom a videobloband the relatedvideoInfo. -
getVideoInfo
Returns theVideoInfofor 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 theStreams of thisVideo. -
getBlob
Returns the videoBlob.
-