Skip to content

Advanced

vladaad edited this page Dec 14, 2023 · 3 revisions

THIS SECTION ONLY APPLIES TO PRE-1.0 DISCORDCOMPRESSOR

"Advanced": {
	"MixAudioTracks": false,
	"NormalizeAudio": false,
	"DeduplicateFrames": true,
	"SubfinderLang": "eng",
	"BurnSubtitles": false,
	"SubStartOffset": 0.5,
	"SubEndOffset": 0.5,
	"CompatibleFormats": [
	{
		"Container": "mp4",
			"CompatibleVideoCodecs": [
				{
					"Name": "h264",
					"PixFmts": [
						"yuv420p"
					]
				}
			],
			"CompatibleAudioCodecs": [
				{
					"Name": "aac",
					"SampleRates": [
						22050,
						32000,
						44100,
						48000
					],
					"AudioChannels": [
						1,
						2
					]
				}
			]
		},
		{
			"Container": "webm",
			"CompatibleVideoCodecs": [
				{
					"Name": "h264",
					"PixFmts": [
						"yuv420p"
					]
				},
				{
					"Name": "vp9",
					"PixFmts": [
						"yuv420p",
						"yuv420p10le"
					]
				}
			],
			"CompatibleAudioCodecs": [
				{
					"Name": "aac",
					"SampleRates": [
						22050,
						32000,
						44100,
						48000
					],
					"AudioChannels": [
						1,
						2
					]
				},
				{
					"Name": "opus",
					"SampleRates": [
						22050,
						32000,
						44100,
						48000
					],
					"AudioChannels": [
						1,
						2
					]
				}
			]
		}
	]
}

MixAudioTracks

If you've got multiple audio tracks and want to combine them (for example, microphone and desktop audio), you can combine them with this setting or with the -mixaudio flag.

NormalizeAudio

Normalizes audio. Automatically done when dowmixing. Can also be enabled with the -normalize flag. Needs FFmpeg's loudnorm filter

DeduplicateFrames

Can result in some minor choppiness but increases efficiency and improves encode times.

SubfinderLang

Selects the language of subtitles to search or burn-in

BurnSubtitles

Burns subtitles onto the video

SubStartOffset, SubEndOffset

Only used for -subfind - cuts the specified amount of seconds forwards or backwards

CompatibleFormats

If you don't know what this means, don't touch it. Sets the combinations of containers, audio and video codecs that can be passed through