EncodingOptions

data class EncodingOptions(val encodingThreadCount: Int, val transcodingTempPath: String? = null, val fallbackFontPath: String? = null, val enableFallbackFont: Boolean, val enableAudioVbr: Boolean, val downMixAudioBoost: Double, val downMixStereoAlgorithm: DownMixStereoAlgorithms, val maxMuxingQueueSize: Int, val enableThrottling: Boolean, val throttleDelaySeconds: Int, val enableSegmentDeletion: Boolean, val segmentKeepSeconds: Int, val hardwareAccelerationType: HardwareAccelerationType, val encoderAppPath: String? = null, val encoderAppPathDisplay: String? = null, val vaapiDevice: String? = null, val qsvDevice: String? = null, val enableTonemapping: Boolean, val enableVppTonemapping: Boolean, val enableVideoToolboxTonemapping: Boolean, val tonemappingAlgorithm: TonemappingAlgorithm, val tonemappingMode: TonemappingMode, val tonemappingRange: TonemappingRange, val tonemappingDesat: Double, val tonemappingPeak: Double, val tonemappingParam: Double, val vppTonemappingBrightness: Double, val vppTonemappingContrast: Double, val h264Crf: Int, val h265Crf: Int, val encoderPreset: EncoderPreset? = null, val deinterlaceDoubleRate: Boolean, val deinterlaceMethod: DeinterlaceMethod, val enableDecodingColorDepth10Hevc: Boolean, val enableDecodingColorDepth10Vp9: Boolean, val enableDecodingColorDepth10HevcRext: Boolean, val enableDecodingColorDepth12HevcRext: Boolean, val enableEnhancedNvdecDecoder: Boolean, val preferSystemNativeHwDecoder: Boolean, val enableIntelLowPowerH264HwEncoder: Boolean, val enableIntelLowPowerHevcHwEncoder: Boolean, val enableHardwareEncoding: Boolean, val allowHevcEncoding: Boolean, val allowAv1Encoding: Boolean, val enableSubtitleExtraction: Boolean, val hardwareDecodingCodecs: List<String>? = null, val allowOnDemandMetadataBasedKeyframeExtractionForExtensions: List<String>? = null)

Class EncodingOptions.

Constructors

Link copied to clipboard
constructor(encodingThreadCount: Int, transcodingTempPath: String? = null, fallbackFontPath: String? = null, enableFallbackFont: Boolean, enableAudioVbr: Boolean, downMixAudioBoost: Double, downMixStereoAlgorithm: DownMixStereoAlgorithms, maxMuxingQueueSize: Int, enableThrottling: Boolean, throttleDelaySeconds: Int, enableSegmentDeletion: Boolean, segmentKeepSeconds: Int, hardwareAccelerationType: HardwareAccelerationType, encoderAppPath: String? = null, encoderAppPathDisplay: String? = null, vaapiDevice: String? = null, qsvDevice: String? = null, enableTonemapping: Boolean, enableVppTonemapping: Boolean, enableVideoToolboxTonemapping: Boolean, tonemappingAlgorithm: TonemappingAlgorithm, tonemappingMode: TonemappingMode, tonemappingRange: TonemappingRange, tonemappingDesat: Double, tonemappingPeak: Double, tonemappingParam: Double, vppTonemappingBrightness: Double, vppTonemappingContrast: Double, h264Crf: Int, h265Crf: Int, encoderPreset: EncoderPreset? = null, deinterlaceDoubleRate: Boolean, deinterlaceMethod: DeinterlaceMethod, enableDecodingColorDepth10Hevc: Boolean, enableDecodingColorDepth10Vp9: Boolean, enableDecodingColorDepth10HevcRext: Boolean, enableDecodingColorDepth12HevcRext: Boolean, enableEnhancedNvdecDecoder: Boolean, preferSystemNativeHwDecoder: Boolean, enableIntelLowPowerH264HwEncoder: Boolean, enableIntelLowPowerHevcHwEncoder: Boolean, enableHardwareEncoding: Boolean, allowHevcEncoding: Boolean, allowAv1Encoding: Boolean, enableSubtitleExtraction: Boolean, hardwareDecodingCodecs: List<String>? = null, allowOnDemandMetadataBasedKeyframeExtractionForExtensions: List<String>? = null)

Properties

Link copied to clipboard

A value indicating whether AV1 encoding is enabled.

Link copied to clipboard

A value indicating whether HEVC encoding is enabled.

The file extensions on-demand metadata based keyframe extraction is enabled for.

Link copied to clipboard

A value indicating whether the framerate is doubled when deinterlacing.

Link copied to clipboard

The deinterlace method.

Link copied to clipboard

The audio boost applied when downmixing audio.

Link copied to clipboard

The algorithm used for downmixing audio to stereo.

Link copied to clipboard

A value indicating whether audio VBR is enabled.

Link copied to clipboard

A value indicating whether 10bit HEVC decoding is enabled.

Link copied to clipboard

A value indicating whether 8/10bit HEVC RExt decoding is enabled.

Link copied to clipboard

A value indicating whether 10bit VP9 decoding is enabled.

Link copied to clipboard

A value indicating whether 12bit HEVC RExt decoding is enabled.

Link copied to clipboard

A value indicating whether the enhanced NVDEC is enabled.

Link copied to clipboard

A value indicating whether to use the fallback font.

Link copied to clipboard

A value indicating whether hardware encoding is enabled.

Link copied to clipboard

A value indicating whether the Intel H264 low-power hardware encoder should be used.

Link copied to clipboard

A value indicating whether the Intel HEVC low-power hardware encoder should be used.

Link copied to clipboard

A value indicating whether segment deletion is enabled.

Link copied to clipboard

A value indicating whether subtitle extraction is enabled.

Link copied to clipboard

A value indicating whether throttling is enabled.

Link copied to clipboard

A value indicating whether tonemapping is enabled.

Link copied to clipboard

A value indicating whether videotoolbox tonemapping is enabled.

Link copied to clipboard

A value indicating whether VPP tonemapping is enabled.

Link copied to clipboard
val encoderAppPath: String? = null

The FFmpeg path as set by the user via the UI.

Link copied to clipboard

The current FFmpeg path being used by the system and displayed on the transcode page.

Link copied to clipboard

The encoder preset.

Link copied to clipboard

The thread count used for encoding.

Link copied to clipboard

The path to the fallback font.

Link copied to clipboard

The H264 CRF.

Link copied to clipboard

The H265 CRF.

Link copied to clipboard

The hardware acceleration type.

Link copied to clipboard

The codecs hardware encoding is used for.

Link copied to clipboard

The maximum size of the muxing queue.

Link copied to clipboard

A value indicating whether the system native hardware decoder should be used.

Link copied to clipboard
val qsvDevice: String? = null

The QSV device.

Link copied to clipboard

Seconds for which segments should be kept before being deleted.

Link copied to clipboard

The delay after which throttling happens.

Link copied to clipboard

The tone-mapping algorithm.

Link copied to clipboard

The tone-mapping desaturation.

Link copied to clipboard

The tone-mapping mode.

Link copied to clipboard

The tone-mapping parameters.

Link copied to clipboard

The tone-mapping peak.

Link copied to clipboard

The tone-mapping range.

Link copied to clipboard

The temporary transcoding path.

Link copied to clipboard
val vaapiDevice: String? = null

The VA-API device.

Link copied to clipboard

The VPP tone-mapping brightness.

Link copied to clipboard

The VPP tone-mapping contrast.