@jellyfin/sdk
Version:
A TypeScript SDK for Jellyfin.
99 lines (98 loc) • 2.83 kB
TypeScript
/**
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit the class manually.
*
* Jellyfin API
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
import type { HardwareAccelerationType } from './hardware-acceleration-type';
/**
* Class holding information on a runnning transcode.
* @export
* @interface TranscodingInfo
*/
export interface TranscodingInfo {
/**
* Gets or sets the thread count used for encoding.
* @type {string}
* @memberof TranscodingInfo
*/
'AudioCodec'?: string | null;
/**
* Gets or sets the thread count used for encoding.
* @type {string}
* @memberof TranscodingInfo
*/
'VideoCodec'?: string | null;
/**
* Gets or sets the thread count used for encoding.
* @type {string}
* @memberof TranscodingInfo
*/
'Container'?: string | null;
/**
* Gets or sets a value indicating whether the video is passed through.
* @type {boolean}
* @memberof TranscodingInfo
*/
'IsVideoDirect'?: boolean;
/**
* Gets or sets a value indicating whether the audio is passed through.
* @type {boolean}
* @memberof TranscodingInfo
*/
'IsAudioDirect'?: boolean;
/**
* Gets or sets the bitrate.
* @type {number}
* @memberof TranscodingInfo
*/
'Bitrate'?: number | null;
/**
* Gets or sets the framerate.
* @type {number}
* @memberof TranscodingInfo
*/
'Framerate'?: number | null;
/**
* Gets or sets the completion percentage.
* @type {number}
* @memberof TranscodingInfo
*/
'CompletionPercentage'?: number | null;
/**
* Gets or sets the video width.
* @type {number}
* @memberof TranscodingInfo
*/
'Width'?: number | null;
/**
* Gets or sets the video height.
* @type {number}
* @memberof TranscodingInfo
*/
'Height'?: number | null;
/**
* Gets or sets the audio channels.
* @type {number}
* @memberof TranscodingInfo
*/
'AudioChannels'?: number | null;
/**
*
* @type {HardwareAccelerationType}
* @memberof TranscodingInfo
*/
'HardwareAccelerationType'?: HardwareAccelerationType;
/**
* Gets or sets the transcode reasons.
* @type {Array<TranscodeReason>}
* @memberof TranscodingInfo
*/
'TranscodeReasons'?: TranscodingInfoTranscodeReasonsEnum;
}
export declare const TranscodingInfoTranscodeReasonsEnum: {};
export type TranscodingInfoTranscodeReasonsEnum = typeof TranscodingInfoTranscodeReasonsEnum[keyof typeof TranscodingInfoTranscodeReasonsEnum];