BitmovinApiSdk\Models\H262VideoConfiguration
Synopsis
class H262VideoConfiguration
extends VideoConfiguration
{
- // members
- public H262PresetConfiguration $presetConfiguration;
- public ProfileH262 $profile;
- public int $bframes;
- public int $maxBitrate;
- public int $minBitrate;
- public int $bufsize;
- public int $gopSize;
- public LevelH262 $level;
- public H262InterlaceMode $interlaceMode;
- // Inherited members from VideoConfiguration
- public int $width;
- public int $height;
- public int $bitrate;
- public float $rate;
- public PixelFormat $pixelFormat;
- public ColorConfig $colorConfig;
- public int $sampleAspectRatioNumerator;
- public int $sampleAspectRatioDenominator;
- public DisplayAspectRatio $displayAspectRatio;
- public EncodingMode $encodingMode;
- // Inherited members from CodecConfiguration
- public static string $discriminatorName;
- public static array $discriminatorMapping;
- // Inherited members from BitmovinResource
- public string $name;
- public string $description;
- public Carbon $createdAt;
- public Carbon $modifiedAt;
- public mixed $customData;
- // Inherited members from BitmovinResponse
- public string $id;
- // methods
- public void __construct()
- public $this presetConfiguration()
- public $this profile()
- public $this bframes()
- public $this maxBitrate()
- public $this minBitrate()
- public $this bufsize()
- public $this gopSize()
- public $this level()
- public $this interlaceMode()
- // Inherited methods from VideoConfiguration
- public void __construct()
- public $this width()
- public $this height()
- public $this bitrate()
- public $this rate()
- public $this pixelFormat()
- public $this colorConfig()
- public $this sampleAspectRatioNumerator()
- public $this sampleAspectRatioDenominator()
- public $this displayAspectRatio()
- public $this encodingMode()
- // Inherited methods from CodecConfiguration
- public void __construct()
- // Inherited methods from BitmovinResource
- public void __construct()
- public $this name()
- public $this description()
- public $this customData()
- // Inherited methods from BitmovinResponse
- public void __construct()
- // Inherited methods from ApiResource
- public void __construct()
- public static $this create()
- public void toArray()
Hierarchy
Members
public
- $bframes — int
- $bitrate — int
- $bufsize — int
- $colorConfig — BitmovinApiSdk\Models\ColorConfig
- $createdAt — Carbon\Carbon
- $customData — mixed
- $description — string
- $discriminatorMapping
- $discriminatorName
- $displayAspectRatio — BitmovinApiSdk\Models\DisplayAspectRatio
- $encodingMode — BitmovinApiSdk\Models\EncodingMode
- $gopSize — int
- $height — int
- $id — string
- $interlaceMode — BitmovinApiSdk\Models\H262InterlaceMode
- $level — BitmovinApiSdk\Models\LevelH262
- $maxBitrate — int
- $minBitrate — int
- $modifiedAt — Carbon\Carbon
- $name — string
- $pixelFormat — BitmovinApiSdk\Models\PixelFormat
- $presetConfiguration — BitmovinApiSdk\Models\H262PresetConfiguration
- $profile — BitmovinApiSdk\Models\ProfileH262
- $rate — float
- $sampleAspectRatioDenominator — int
- $sampleAspectRatioNumerator — int
- $width — int
Methods
public
- __construct()
- bframes() — Amount of b frames.
- bufsize() — Playback device buffer size
- gopSize() — Minimum GOP length, the minimum distance between I-frames
- interlaceMode() — Using TOP_FIELD_FIRST or BOTTOM_FIELD_FIRST will output interlaced video
- level() — Specified set of constraints that indicate a degree of required decoder performance for a profile
- maxBitrate() — Maximum Bitrate
- minBitrate() — Minimum Bitrate
- presetConfiguration() — Use a set of well defined configurations preset to support certain use cases. Can be overwritten with more specific values.
- profile() — When setting a profile, all other settings must not exceed the limits which are defined in the profile. Otherwise, a higher profile may be automatically chosen. (required)
Inherited from BitmovinApiSdk\Models\VideoConfiguration
public
- 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. When this is set, `encodingMode` (`liveEncodingMode`) must not be set in the (live) encoding start request.
- 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.