Package org.nuxeo.ecm.platform.video
Class Stream
java.lang.Object
org.nuxeo.ecm.platform.video.Stream
Object representing a Stream of a video.
- Since:
- 5.5
- Author:
- Thomas Roger
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic StreamfromMap(Map<String, Serializable> m) Build aStreamfrom aMapof attributes.doubleReturns thisStream's bit rate.getCodec()Returns thisStream's codec.Returns thisStreamwhole info as returned by FFmpeg.getType()Returns thisStream's type.toMap()Returns aMapof attributes for thisStream.
-
Field Details
-
VIDEO_TYPE
- See Also:
-
AUDIO_TYPE
- See Also:
-
TYPE_ATTRIBUTE
- See Also:
-
CODEC_ATTRIBUTE
- See Also:
-
STREAM_INFO_ATTRIBUTE
- See Also:
-
BIT_RATE_ATTRIBUTE
- See Also:
-
-
Method Details
-
fromMap
Build aStreamfrom aMapof attributes.Used when creating a
Streamfrom aDocumentModelproperty. -
getType
Returns thisStream's type.Can be one of the following:
- Video
- Audio
-
getCodec
Returns thisStream's codec. -
getStreamInfo
Returns thisStreamwhole info as returned by FFmpeg. -
getBitRate
public double getBitRate()Returns thisStream's bit rate. -
toMap
Returns aMapof attributes for thisStream.Used when saving this
Streamto aDocumentModelproperty.
-