BitmovinApiSdk\Models\Trimming

Synopsis

class Trimming extends ApiResource {
  • // Inherited methods from ApiResource
  • public void __construct()
  • public static $this create()
  • public void toArray()
}

Hierarchy

Members

public

  • $duration — float
  • $endPicTiming — string
  • $ignoreDurationIfInputTooShortBitmovinApiSdk\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.

Inherited from BitmovinApiSdk\Common\ApiResource

public