UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

39 lines (38 loc) 1.24 kB
/** * @export * @class Trimming */ export declare class Trimming { /** * Defines the offset in seconds from which the encoding should start, beginning at 0. * @type {number} * @memberof Trimming */ offset?: number; /** * Defines how many seconds from the input will be encoded. If not set, the input will be encoded until its end. * @type {number} * @memberof Trimming */ duration?: number; /** * When true, \"duration\" will be interpreted as a maximum and not cause an error if the input is too short * @type {boolean} * @memberof Trimming */ ignoreDurationIfInputTooShort?: boolean; /** * 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. * @type {string} * @memberof Trimming */ startPicTiming?: string; /** * 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. * @type {string} * @memberof Trimming */ endPicTiming?: string; constructor(obj?: Partial<Trimming>); } export default Trimming;