BitmovinApiSdk\Models\Trimming
Synopsis
class Trimming
extends ApiResource
{
- // members
- public float $offset;
- public float $duration;
- public bool $ignoreDurationIfInputTooShort;
- public string $startPicTiming;
- public string $endPicTiming;
- // methods
- public void __construct()
- public $this offset()
- public $this duration()
- public $this ignoreDurationIfInputTooShort()
- public $this startPicTiming()
- public $this endPicTiming()
- // Inherited methods from ApiResource
- public void __construct()
- public static $this create()
- public void toArray()
Hierarchy
Members
public
- $duration — float
- $endPicTiming — string
- $ignoreDurationIfInputTooShort — BitmovinApiSdk\Models\bool
- $offset — float
- $startPicTiming — string
Methods
public
- __construct()
- duration() — Defines how many seconds from the input will be encoded. If not set, the input will be encoded until its end.
- endPicTiming() — Defines the H264 picture timing of the last frame, that will be included in the encoding. Any defined offset or duration in seconds will be ignored.
- ignoreDurationIfInputTooShort() — When true, \"duration\" will be interpreted as a maximum and not cause an error if the input is too short
- offset() — Defines the offset in seconds from which the encoding should start, beginning at 0.
- startPicTiming() — Defines the H264 picture timing of the first frame from which the encoding should start. Any defined offset or duration in seconds will be ignored.