public class Video extends Object
Blob and related VideoInfo.| Modifier and Type | Field and Description |
|---|---|
protected Blob |
blob |
protected VideoInfo |
videoInfo |
| Modifier | Constructor and Description |
|---|---|
protected |
Video(Blob blob,
VideoInfo videoInfo) |
| Modifier and Type | Method and Description |
|---|---|
static Video |
fromBlobAndInfo(Blob blob,
VideoInfo videoInfo)
Build a
Video from a video blob and the related videoInfo. |
Blob |
getBlob()
Returns the video
Blob. |
double |
getDuration()
Returns the duration of this
Video. |
String |
getFormat()
Returns the format of this
Video. |
double |
getFrameRate()
Returns the frame rate of this
Video. |
long |
getHeight()
Returns the height of this
Video. |
List<Stream> |
getStreams()
Returns all the
Streams of this Video. |
VideoInfo |
getVideoInfo()
Returns the
VideoInfo for this Video. |
long |
getWidth()
Returns the width of this
Video. |
public static Video fromBlobAndInfo(Blob blob, VideoInfo videoInfo)
Video from a video blob and the related videoInfo.public VideoInfo getVideoInfo()
VideoInfo for this Video.public double getDuration()
Video.public long getWidth()
Video.public long getHeight()
Video.public double getFrameRate()
Video.public List<Stream> getStreams()
Streams of this Video.Copyright © 2019 Nuxeo. All rights reserved.