TrickplayOptions

@Serializable
data class TrickplayOptions(val enableHwAcceleration: Boolean, val enableHwEncoding: Boolean, val enableKeyFrameOnlyExtraction: Boolean, val scanBehavior: TrickplayScanBehavior, val processPriority: ProcessPriorityClass, val interval: Int, val widthResolutions: List<Int>, val tileWidth: Int, val tileHeight: Int, val qscale: Int, val jpegQuality: Int, val processThreads: Int)

Class TrickplayOptions.

Constructors

Link copied to clipboard
constructor(enableHwAcceleration: Boolean, enableHwEncoding: Boolean, enableKeyFrameOnlyExtraction: Boolean, scanBehavior: TrickplayScanBehavior, processPriority: ProcessPriorityClass, interval: Int, widthResolutions: List<Int>, tileWidth: Int, tileHeight: Int, qscale: Int, jpegQuality: Int, processThreads: Int)

Properties

Link copied to clipboard
@SerialName(value = "EnableHwAcceleration")
val enableHwAcceleration: Boolean

A value indicating whether or not to use HW acceleration.

Link copied to clipboard
@SerialName(value = "EnableHwEncoding")
val enableHwEncoding: Boolean

A value indicating whether or not to use HW accelerated MJPEG encoding.

Link copied to clipboard
@SerialName(value = "EnableKeyFrameOnlyExtraction")
val enableKeyFrameOnlyExtraction: Boolean

Gets or sets a value indicating whether to only extract key frames. Significantly faster, but is not compatible with all decoders and/or video files.

Link copied to clipboard
@SerialName(value = "Interval")
val interval: Int

The interval, in ms, between each new trickplay image.

Link copied to clipboard
@SerialName(value = "JpegQuality")
val jpegQuality: Int

The jpeg quality to use for image tiles.

Link copied to clipboard
@SerialName(value = "ProcessPriority")
val processPriority: ProcessPriorityClass

The process priority for the ffmpeg process.

Link copied to clipboard
@SerialName(value = "ProcessThreads")
val processThreads: Int

The number of threads to be used by ffmpeg.

Link copied to clipboard
@SerialName(value = "Qscale")
val qscale: Int

The ffmpeg output quality level.

Link copied to clipboard
@SerialName(value = "ScanBehavior")
val scanBehavior: TrickplayScanBehavior

The behavior used by trickplay provider on library scan/update.

Link copied to clipboard
@SerialName(value = "TileHeight")
val tileHeight: Int

Number of tile images to allow in Y dimension.

Link copied to clipboard
@SerialName(value = "TileWidth")
val tileWidth: Int

Number of tile images to allow in X dimension.

Link copied to clipboard
@SerialName(value = "WidthResolutions")
val widthResolutions: List<Int>

The target width resolutions, in px, to generates preview images for.