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 Details

    • FRAME_RATE_23_976

      public static final int FRAME_RATE_23_976
      The Constant FRAME_RATE_23_976.
      See Also:
    • FRAME_RATE_24

      public static final int FRAME_RATE_24
      The Constant FRAME_RATE_24.
      See Also:
    • FRAME_RATE_25

      public static final int FRAME_RATE_25
      The Constant FRAME_RATE_25.
      See Also:
    • FRAME_RATE_29_97

      public static final int FRAME_RATE_29_97
      The Constant FRAME_RATE_29_97.
      See Also:
    • FRAME_RATE_30

      public static final int FRAME_RATE_30
      The Constant FRAME_RATE_30.
      See Also:
    • FRAME_RATE_50

      public static final int FRAME_RATE_50
      The Constant FRAME_RATE_50.
      See Also:
    • FRAME_RATE_59_94

      public static final int FRAME_RATE_59_94
      The Constant FRAME_RATE_59_94.
      See Also:
    • FRAME_RATE_60

      public static final int FRAME_RATE_60
      The Constant FRAME_RATE_60.
      See Also:
    • 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.
  • Constructor Details

    • VideoStreamDescriptor

      public VideoStreamDescriptor()
      Instantiates a new video stream descriptor.
    • VideoStreamDescriptor

      public VideoStreamDescriptor(ByteBuffer descriptorData)
      Instantiates a new video stream descriptor.
      Parameters:
      descriptorData - the descriptor data
  • Method Details

    • decodeDescriptorData

      public void decodeDescriptorData(ByteBuffer descriptorData)
      Description copied from class: Descriptor
      Decode descriptor data.
      Overrides:
      decodeDescriptorData in class Descriptor
      Parameters:
      descriptorData - the descriptor data
    • toBin

      public void toBin(ByteBuffer buffer)
      Encodes the Video stream descriptor into binary form for use in transport
      Overrides:
      toBin in class Descriptor
      Parameters:
      buffer - ByteBuffer to put the binary data
    • binarySize

      public int binarySize()
      How big is the video stream descriptor in binary.
      Overrides:
      binarySize in class Descriptor
      Returns:
      the total size of the descriptor in binary form, includes tag and length fields
    • toString

      public String toString()
      Overrides:
      toString in class Descriptor