BitmovinApiSdk\Models\VideoConfiguration

Synopsis

class VideoConfiguration extends CodecConfiguration {
  • // Inherited members from BitmovinResponse
  • public string $id;
  • // Inherited methods from CodecConfiguration
  • public void __construct()
  • // Inherited methods from BitmovinResponse
  • public void __construct()
  • // Inherited methods from ApiResource
  • public void __construct()
  • public static $this create()
  • public void toArray()
}

Hierarchy

Members

public

Methods

public

  • __construct()
  • bitrate() — Target bitrate for the encoded video in bps. Either bitrate or crf is required.
  • colorConfig() — colorConfig
  • displayAspectRatio() — Specifies a display aspect ratio (DAR) to be enforced. The sample aspect ratio (SAR) will be adjusted accordingly. If set then sampleAspectRatioNumerator and sampleAspectRatioDenominator are not allowed.
  • encodingMode() — The mode of the encoding
  • height() — Height of the encoded video in pixels
  • pixelFormat() — Describes the color encoding, bit depth, and chroma subsampling of each pixel in the output image.
  • rate() — Target frame rate of the encoded video. Must be set for live encodings
  • sampleAspectRatioDenominator() — The denominator of the sample aspect ratio (also known as pixel aspect ratio). Must be set if sampleAspectRatioNumerator is set. If set then displayAspectRatio is not allowed.
  • sampleAspectRatioNumerator() — The numerator of the sample aspect ratio (also known as pixel aspect ratio). Must be set if sampleAspectRatioDenominator is set. If set then displayAspectRatio is not allowed.
  • width() — Width of the encoded video in pixels

Inherited from BitmovinApiSdk\Models\BitmovinResource

public

  • customData() — User-specific meta data. This can hold anything.
  • description() — Description of the resource. Can be freely chosen by the user.
  • name() — Name of the resource. Can be freely chosen by the user.

Inherited from BitmovinApiSdk\Common\ApiResource

public