public class Stream extends Object
| Modifier and Type | Field and Description | 
|---|---|
static String | 
AUDIO_TYPE  | 
static String | 
BIT_RATE_ATTRIBUTE  | 
static String | 
CODEC_ATTRIBUTE  | 
static String | 
STREAM_INFO_ATTRIBUTE  | 
static String | 
TYPE_ATTRIBUTE  | 
static String | 
VIDEO_TYPE  | 
| Modifier and Type | Method and Description | 
|---|---|
static Stream | 
fromMap(Map<String,Serializable> m)
Build a  
Stream from a Map of attributes. | 
double | 
getBitRate()
Returns this  
Stream's bit rate. | 
String | 
getCodec()
Returns this  
Stream's codec. | 
String | 
getStreamInfo()
Returns this  
Stream whole info as returned by FFmpeg. | 
String | 
getType()
Returns this  
Stream's type. | 
Map<String,Serializable> | 
toMap()
Returns a  
Map of attributes for this Stream. | 
public static final String VIDEO_TYPE
public static final String AUDIO_TYPE
public static final String TYPE_ATTRIBUTE
public static final String CODEC_ATTRIBUTE
public static final String STREAM_INFO_ATTRIBUTE
public static final String BIT_RATE_ATTRIBUTE
public static Stream fromMap(Map<String,Serializable> m)
Stream from a Map of attributes.
 
 Used when creating a Stream from a DocumentModel property.
public String getType()
Stream's type.
 Can be one of the following:
public String getStreamInfo()
Stream whole info as returned by FFmpeg.public double getBitRate()
Stream's bit rate.public Map<String,Serializable> toMap()
Map of attributes for this Stream.
 
 Used when saving this Stream to a DocumentModel property.
Copyright © 2019 Nuxeo. All rights reserved.