260 lines
7.7 KiB
TypeScript
260 lines
7.7 KiB
TypeScript
/**
|
|
* Jellyfin API
|
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
*
|
|
* The version of the OpenAPI document: 10.8.9
|
|
*
|
|
*
|
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
* https://openapi-generator.tech
|
|
* Do not edit the class manually.
|
|
*/
|
|
|
|
import { RequestFile } from './models';
|
|
|
|
export class EncodingOptions {
|
|
'encodingThreadCount'?: number;
|
|
'transcodingTempPath'?: string | null;
|
|
'fallbackFontPath'?: string | null;
|
|
'enableFallbackFont'?: boolean;
|
|
'downMixAudioBoost'?: number;
|
|
'maxMuxingQueueSize'?: number;
|
|
'enableThrottling'?: boolean;
|
|
'throttleDelaySeconds'?: number;
|
|
'hardwareAccelerationType'?: string | null;
|
|
/**
|
|
* Gets or sets the FFmpeg path as set by the user via the UI.
|
|
*/
|
|
'encoderAppPath'?: string | null;
|
|
/**
|
|
* Gets or sets the current FFmpeg path being used by the system and displayed on the transcode page.
|
|
*/
|
|
'encoderAppPathDisplay'?: string | null;
|
|
'vaapiDevice'?: string | null;
|
|
'enableTonemapping'?: boolean;
|
|
'enableVppTonemapping'?: boolean;
|
|
'tonemappingAlgorithm'?: string | null;
|
|
'tonemappingRange'?: string | null;
|
|
'tonemappingDesat'?: number;
|
|
'tonemappingThreshold'?: number;
|
|
'tonemappingPeak'?: number;
|
|
'tonemappingParam'?: number;
|
|
'vppTonemappingBrightness'?: number;
|
|
'vppTonemappingContrast'?: number;
|
|
'h264Crf'?: number;
|
|
'h265Crf'?: number;
|
|
'encoderPreset'?: string | null;
|
|
'deinterlaceDoubleRate'?: boolean;
|
|
'deinterlaceMethod'?: string | null;
|
|
'enableDecodingColorDepth10Hevc'?: boolean;
|
|
'enableDecodingColorDepth10Vp9'?: boolean;
|
|
'enableEnhancedNvdecDecoder'?: boolean;
|
|
'preferSystemNativeHwDecoder'?: boolean;
|
|
'enableIntelLowPowerH264HwEncoder'?: boolean;
|
|
'enableIntelLowPowerHevcHwEncoder'?: boolean;
|
|
'enableHardwareEncoding'?: boolean;
|
|
'allowHevcEncoding'?: boolean;
|
|
'enableSubtitleExtraction'?: boolean;
|
|
'hardwareDecodingCodecs'?: Array<string> | null;
|
|
'allowOnDemandMetadataBasedKeyframeExtractionForExtensions'?: Array<string> | null;
|
|
|
|
static discriminator: string | undefined = undefined;
|
|
|
|
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
{
|
|
"name": "encodingThreadCount",
|
|
"baseName": "EncodingThreadCount",
|
|
"type": "number"
|
|
},
|
|
{
|
|
"name": "transcodingTempPath",
|
|
"baseName": "TranscodingTempPath",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "fallbackFontPath",
|
|
"baseName": "FallbackFontPath",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "enableFallbackFont",
|
|
"baseName": "EnableFallbackFont",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "downMixAudioBoost",
|
|
"baseName": "DownMixAudioBoost",
|
|
"type": "number"
|
|
},
|
|
{
|
|
"name": "maxMuxingQueueSize",
|
|
"baseName": "MaxMuxingQueueSize",
|
|
"type": "number"
|
|
},
|
|
{
|
|
"name": "enableThrottling",
|
|
"baseName": "EnableThrottling",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "throttleDelaySeconds",
|
|
"baseName": "ThrottleDelaySeconds",
|
|
"type": "number"
|
|
},
|
|
{
|
|
"name": "hardwareAccelerationType",
|
|
"baseName": "HardwareAccelerationType",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "encoderAppPath",
|
|
"baseName": "EncoderAppPath",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "encoderAppPathDisplay",
|
|
"baseName": "EncoderAppPathDisplay",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "vaapiDevice",
|
|
"baseName": "VaapiDevice",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "enableTonemapping",
|
|
"baseName": "EnableTonemapping",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "enableVppTonemapping",
|
|
"baseName": "EnableVppTonemapping",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "tonemappingAlgorithm",
|
|
"baseName": "TonemappingAlgorithm",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "tonemappingRange",
|
|
"baseName": "TonemappingRange",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "tonemappingDesat",
|
|
"baseName": "TonemappingDesat",
|
|
"type": "number"
|
|
},
|
|
{
|
|
"name": "tonemappingThreshold",
|
|
"baseName": "TonemappingThreshold",
|
|
"type": "number"
|
|
},
|
|
{
|
|
"name": "tonemappingPeak",
|
|
"baseName": "TonemappingPeak",
|
|
"type": "number"
|
|
},
|
|
{
|
|
"name": "tonemappingParam",
|
|
"baseName": "TonemappingParam",
|
|
"type": "number"
|
|
},
|
|
{
|
|
"name": "vppTonemappingBrightness",
|
|
"baseName": "VppTonemappingBrightness",
|
|
"type": "number"
|
|
},
|
|
{
|
|
"name": "vppTonemappingContrast",
|
|
"baseName": "VppTonemappingContrast",
|
|
"type": "number"
|
|
},
|
|
{
|
|
"name": "h264Crf",
|
|
"baseName": "H264Crf",
|
|
"type": "number"
|
|
},
|
|
{
|
|
"name": "h265Crf",
|
|
"baseName": "H265Crf",
|
|
"type": "number"
|
|
},
|
|
{
|
|
"name": "encoderPreset",
|
|
"baseName": "EncoderPreset",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "deinterlaceDoubleRate",
|
|
"baseName": "DeinterlaceDoubleRate",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "deinterlaceMethod",
|
|
"baseName": "DeinterlaceMethod",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "enableDecodingColorDepth10Hevc",
|
|
"baseName": "EnableDecodingColorDepth10Hevc",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "enableDecodingColorDepth10Vp9",
|
|
"baseName": "EnableDecodingColorDepth10Vp9",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "enableEnhancedNvdecDecoder",
|
|
"baseName": "EnableEnhancedNvdecDecoder",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "preferSystemNativeHwDecoder",
|
|
"baseName": "PreferSystemNativeHwDecoder",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "enableIntelLowPowerH264HwEncoder",
|
|
"baseName": "EnableIntelLowPowerH264HwEncoder",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "enableIntelLowPowerHevcHwEncoder",
|
|
"baseName": "EnableIntelLowPowerHevcHwEncoder",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "enableHardwareEncoding",
|
|
"baseName": "EnableHardwareEncoding",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "allowHevcEncoding",
|
|
"baseName": "AllowHevcEncoding",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "enableSubtitleExtraction",
|
|
"baseName": "EnableSubtitleExtraction",
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"name": "hardwareDecodingCodecs",
|
|
"baseName": "HardwareDecodingCodecs",
|
|
"type": "Array<string>"
|
|
},
|
|
{
|
|
"name": "allowOnDemandMetadataBasedKeyframeExtractionForExtensions",
|
|
"baseName": "AllowOnDemandMetadataBasedKeyframeExtractionForExtensions",
|
|
"type": "Array<string>"
|
|
} ];
|
|
|
|
static getAttributeTypeMap() {
|
|
return EncodingOptions.attributeTypeMap;
|
|
}
|
|
}
|
|
|