Skip to content
Flaze edited this page Feb 3, 2023 · 13 revisions

Options

Option Type Range Description
FrameWidth Integer N/A Width of the output video in pixels
FrameHeight Integer N/A Height of the output video in pixels
FPS Integer N/A Frames per second of the output video
EncodingFPSCap Integer N/A Max frames per second of the output video for encoding
Encoder String N/A Encoder for ffmpeg, see this wiki page for recommended encoders
libx264 Custom N/A See below
libx265 Custom N/A See below
h264_nvenc Custom N/A See below
hevc_nvenc Custom N/A See below
h264_qsv Custom N/A See below
hevc_qsv Custom N/A See below
Custom Custom N/A See below
PixelFormat String N/A Pixel format for the output video
Filters String N/A Video filters for ffmpeg, see this page of the ffmpeg documentation for available filters
AudioCodec String N/A Audio codecs for ffmpeg, see this page of the ffmpeg documentation for available audio codecs
aac Custom N/A See below
libmp3lame Custom N/A See below
libopus Custom N/A See below
flac Custom N/A See below
customAudio Custom N/A See below
AudioFilters String N/A Audio filters for ffmpeg, see this page of the ffmpeg documentation for available filters
OutputDir String N/A Output directory for the video
Container String N/A The video container
ShowFFmpegLogs Boolean true/false Shows/hides ffmpeg logs

Encoders

libx264:

Option Type Range Description
RateControl String N/A The rate control
Bitrate String N/A The bitrate
CRF Integer 0-51 The constant rate factor
Profile String N/A The profile
Preset String N/A The preset
AdditionalOptions String N/A Additional options

libx265:

Option Type Range Description
RateControl String N/A The rate control
Bitrate String N/A The bitrate
CRF Integer 0-51 The constant rate factor
Preset String N/A The preset
AdditionalOptions String N/A Additional options

h264_nvenc:

Option Type Range Description
RateControl String N/A The rate control
Bitrate String N/A The bitrate
CQ Integer 0-51 The constant quality
Profile String N/A The profile
Preset String N/A The preset
AdditionalOptions String N/A Additional options

hevc_nvenc:

Option Type Range Description
RateControl String N/A The rate control
Bitrate String N/A The bitrate
CQ Integer 0-51 The constant quality
Preset String N/A The preset
AdditionalOptions String N/A Additional options

h264_qsv:

Option Type Range Description
RateControl String N/A The rate control
Bitrate String N/A The bitrate
Quality Integer N/A The quality
Profile String N/A The profile
Preset String N/A The preset
AdditionalOptions String N/A Additional options

hevc_qsv:

Option Type Range Description
RateControl String N/A The rate control
Bitrate String N/A The bitrate
Quality Integer N/A The quality
Preset String N/A The preset
AdditionalOptions String N/A Additional options

Custom:

Option Type Range Description
CustomOptions String N/A Custom encoder options

Audio Codecs

aac:

Option Type Range Description
Bitrate String N/A The bitrate
AdditionalOptions String N/A Additional options

libmp3lame:

Option Type Range Description
RateControl String N/A The rate control
TargetBitrate String N/A The bitrate
AdditionalOptions String N/A Additional options

libopus:

Option Type Range Description
RateControl String N/A The rate control
TargetBitrate String N/A The bitrate
AdditionalOptions String N/A Additional options

flac:

Option Type Range Description
CompressionLevel Integer N/A The compression level
AdditionalOptions String N/A Additional options

customAudio:

Option Type Range Description
CustomOptions String N/A Custom audio codec options

MotionBlur:

Option Type Range Description
Enabled Boolean true/false Enables/Disables oversampling
OversampleMultiplier Integer N/A The amount of frames created. For example, to have 960FPS with 60 Output FPS the OversampleMultiplier needs to be 16
BlendFrames Integer N/A The amount of frames to blend together. For example, with 16 BlendFrames, 16 of the frames created will be blended together. For the best results, this value should be around 1.5-2x of whatever you put for OversampleMultiplier
BlendFunctionID Integer 0..29 Automatic weights, see this wiki page for a list of the IDs
GaussWeightsMult Decimal N/A Multiplier for gaussian weights

Default values:

"Recording": {
	"FrameWidth": 1920,
	"FrameHeight": 1080,
	"FPS": 60,
	"EncodingFPSCap": 0,
	"Encoder": "libx264",
	"libx264": {
		"RateControl": "crf",
		"Bitrate": "10M",
		"CRF": 14,
		"Profile": "high",
		"Preset": "faster",
		"AdditionalOptions": ""
	},
	"libx265": {
		"RateControl": "crf",
		"Bitrate": "10M",
		"CRF": 18,
		"Preset": "fast",
		"AdditionalOptions": ""
	},
	"h264_nvenc": {
		"RateControl": "cq",
		"Bitrate": "10M",
		"CQ": 22,
		"Profile": "high",
		"Preset": "p7",
		"AdditionalOptions": ""
	},
	"hevc_nvenc": {
		"RateControl": "cq",
		"Bitrate": "10M",
		"CQ": 24,
		"Preset": "p7",
		"AdditionalOptions": ""
	},
	"h264_qsv": {
		"RateControl": "icq",
		"Bitrate": "10M",
		"Quality": 15,
		"Profile": "high",
		"Preset": "slow",
		"AdditionalOptions": ""
	},
	"hevc_qsv": {
		"RateControl": "icq",
		"Bitrate": "10M",
		"Quality": 20,
		"Preset": "slow",
		"AdditionalOptions": ""
	},
	"custom": {
		"CustomOptions": ""
	},
	"PixelFormat": "yuv420p",
	"Filters": "",
	"AudioCodec": "aac",
	"aac": {
		"Bitrate": "192k",
		"AdditionalOptions": ""
	},
	"libmp3lame": {
		"RateControl": "abr",
		"TargetBitrate": "192k",
		"AdditionalOptions": ""
	},
	"libopus": {
		"RateControl": "vbr",
		"TargetBitrate": "192k",
		"AdditionalOptions": ""
	},
	"flac": {
		"CompressionLevel": 12,
		"AdditionalOptions": ""
	},
	"customAudio": {
		"CustomOptions": ""
	},
	"AudioFilters": "",
	"OutputDir": "videos",
	"Container": "mp4",
	"ShowFFmpegLogs": true,
	"MotionBlur": {
		"Enabled": false,
		"OversampleMultiplier": 16,
		"BlendFrames": 24,
		"BlendFunctionID": 27,
		"GaussWeightsMult": 1.5
	}
}
Clone this wiki locally