Package com.wowza.wms.transport.mpeg2
Class VideoStreamDescriptor
- Object
-
- com.wowza.wms.transport.mpeg2.Descriptor
-
- com.wowza.wms.transport.mpeg2.VideoStreamDescriptor
-
public class VideoStreamDescriptor extends Descriptor
The Class VideoStreamDescriptor. The video stream descriptor provides basic information which identifies the coding parameters of a video elementary stream as described in ITU-T Rec. H.262 I ISO/IEC 13818-2 or ISO/IEC 11172-2.
-
-
Field Summary
Fields Modifier and Type Field Description boolean
constrainedParameter
The constrained parameter.static int
FRAME_RATE_23_976
The Constant FRAME_RATE_23_976.static int
FRAME_RATE_24
The Constant FRAME_RATE_24.static int
FRAME_RATE_25
The Constant FRAME_RATE_25.static int
FRAME_RATE_29_97
The Constant FRAME_RATE_29_97.static int
FRAME_RATE_30
The Constant FRAME_RATE_30.static int
FRAME_RATE_50
The Constant FRAME_RATE_50.static int
FRAME_RATE_59_94
The Constant FRAME_RATE_59_94.static int
FRAME_RATE_60
The Constant FRAME_RATE_60.int
frameRateCode
The frame rate code.int
mpeg1ChromaFormat
The mpeg1 chroma format.boolean
mpeg1FrameRateExt
The mpeg1 frame rate ext.boolean
mpeg1Only
The mpeg1 only.int
mpeg1ProfileLevel
The mpeg1 profile level.boolean
multipleFrameRate
The multiple frame rate.boolean
stillPicture
The still picture.-
Fields inherited from class com.wowza.wms.transport.mpeg2.Descriptor
data, DESCRIPTOR_TAG_AAC_DVB, DESCRIPTOR_TAG_AAC_SCTE, DESCRIPTOR_TAG_AC3, DESCRIPTOR_TAG_ANCILLARY, DESCRIPTOR_TAG_AUDIO, DESCRIPTOR_TAG_CA, DESCRIPTOR_TAG_COPYRIGHT, DESCRIPTOR_TAG_CUE_IDENTIFIER, DESCRIPTOR_TAG_DATA_STREAM_ALIGN, DESCRIPTOR_TAG_DVBTELETEXT, DESCRIPTOR_TAG_ENHANCED_AC3, DESCRIPTOR_TAG_EXT_ES_ID, DESCRIPTOR_TAG_EXTENSION_DVB, DESCRIPTOR_TAG_EXTENSION_MP4_LOAS, DESCRIPTOR_TAG_FLEX_MUX_TIMING, DESCRIPTOR_TAG_FMC, DESCRIPTOR_TAG_FMX_BUFSIZE, DESCRIPTOR_TAG_HIERARCHY, DESCRIPTOR_TAG_IBP, DESCRIPTOR_TAG_IOD, DESCRIPTOR_TAG_ISO_639_LANG, DESCRIPTOR_TAG_MAX_BITRATE, DESCRIPTOR_TAG_METADATA, DESCRIPTOR_TAG_METADATA_POINTER, DESCRIPTOR_TAG_METADATA_STD, DESCRIPTOR_TAG_MP4_AUDIO, DESCRIPTOR_TAG_MP4_VIDEO, DESCRIPTOR_TAG_MULTIPLE_BUF, DESCRIPTOR_TAG_MULTIPLEX_BUF_UTIL, DESCRIPTOR_TAG_MUXCODE, DESCRIPTOR_TAG_PRIVATE_DATA, DESCRIPTOR_TAG_REGISTRATION, DESCRIPTOR_TAG_SL, DESCRIPTOR_TAG_SMOOTHING_BUF, DESCRIPTOR_TAG_STD, DESCRIPTOR_TAG_STREAM_IDENTIFIER, DESCRIPTOR_TAG_SYSTEM_CLOCK, DESCRIPTOR_TAG_TGT_BACKGRD_GRID, DESCRIPTOR_TAG_VIDEO, DESCRIPTOR_TAG_VIDEO_WINDOWS, length, tag
-
-
Constructor Summary
Constructors Constructor Description VideoStreamDescriptor()
Instantiates a new video stream descriptor.VideoStreamDescriptor(java.nio.ByteBuffer descriptorData)
Instantiates a new video stream descriptor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
binarySize()
How big is the video stream descriptor in binary.void
decodeDescriptorData(java.nio.ByteBuffer descriptorData)
Decode descriptor data.void
toBin(java.nio.ByteBuffer buffer)
Encodes the Video stream descriptor into binary form for use in transportString
toString()
-
Methods inherited from class com.wowza.wms.transport.mpeg2.Descriptor
decodeDescriptor, getDataAsBase64, getDescriptorName, getShortClassName, serializeAMF, toDebugString
-
-
-
-
Field Detail
-
FRAME_RATE_23_976
public static final int FRAME_RATE_23_976
The Constant FRAME_RATE_23_976.- See Also:
- Constant Field Values
-
FRAME_RATE_24
public static final int FRAME_RATE_24
The Constant FRAME_RATE_24.- See Also:
- Constant Field Values
-
FRAME_RATE_25
public static final int FRAME_RATE_25
The Constant FRAME_RATE_25.- See Also:
- Constant Field Values
-
FRAME_RATE_29_97
public static final int FRAME_RATE_29_97
The Constant FRAME_RATE_29_97.- See Also:
- Constant Field Values
-
FRAME_RATE_30
public static final int FRAME_RATE_30
The Constant FRAME_RATE_30.- See Also:
- Constant Field Values
-
FRAME_RATE_50
public static final int FRAME_RATE_50
The Constant FRAME_RATE_50.- See Also:
- Constant Field Values
-
FRAME_RATE_59_94
public static final int FRAME_RATE_59_94
The Constant FRAME_RATE_59_94.- See Also:
- Constant Field Values
-
FRAME_RATE_60
public static final int FRAME_RATE_60
The Constant FRAME_RATE_60.- See Also:
- Constant Field Values
-
multipleFrameRate
public boolean multipleFrameRate
The multiple frame rate.
-
frameRateCode
public int frameRateCode
The frame rate code.
-
mpeg1Only
public boolean mpeg1Only
The mpeg1 only.
-
constrainedParameter
public boolean constrainedParameter
The constrained parameter.
-
stillPicture
public boolean stillPicture
The still picture.
-
mpeg1ProfileLevel
public int mpeg1ProfileLevel
The mpeg1 profile level.
-
mpeg1ChromaFormat
public int mpeg1ChromaFormat
The mpeg1 chroma format.
-
mpeg1FrameRateExt
public boolean mpeg1FrameRateExt
The mpeg1 frame rate ext.
-
-
Method Detail
-
decodeDescriptorData
public void decodeDescriptorData(java.nio.ByteBuffer descriptorData)
Description copied from class:Descriptor
Decode descriptor data.- Overrides:
decodeDescriptorData
in classDescriptor
- Parameters:
descriptorData
- the descriptor data
-
toBin
public void toBin(java.nio.ByteBuffer buffer)
Encodes the Video stream descriptor into binary form for use in transport- Overrides:
toBin
in classDescriptor
- Parameters:
buffer
- ByteBuffer to put the binary data
-
binarySize
public int binarySize()
How big is the video stream descriptor in binary.- Overrides:
binarySize
in classDescriptor
- Returns:
- the total size of the descriptor in binary form, includes tag and length fields
-
toString
public String toString()
- Overrides:
toString
in classDescriptor
-
-