FfmpegConfig

class FfmpegConfig(val executablePath: String? = null, val probePath: String? = null, val extraArgs: List<String> = emptyList(), val threads: Int? = null)(source)

How the ffmpeg backend finds its binaries and what it passes them.

Constructors

Link copied to clipboard
constructor(executablePath: String? = null, probePath: String? = null, extraArgs: List<String> = emptyList(), threads: Int? = null)

Properties

Link copied to clipboard

An absolute path to ffmpeg, or null to read FILMSTRIP_FFMPEG from the environment and then search PATH.

Link copied to clipboard

Arguments appended to every encode, immediately before the output file. An escape hatch, and the thing that makes an edit non-portable: nothing here is understood by any other backend, so an edit that needs it renders differently everywhere else.

Link copied to clipboard

An absolute path to ffprobe, or null to resolve it the same way from FILMSTRIP_FFPROBE, then PATH, then beside whichever ffmpeg was found.

Link copied to clipboard
val threads: Int?

How many threads to allow, or null to let ffmpeg decide.