{
	"description": "VirtualDub external encoder profile collection",
	"externalEncoders": {
		"sets": {
			"DVD-NTSC-AC3-PASS": {
				"videoEncoder": "DVD-NTSC",
				"audioEncoder": "ac3pass",
				"multiplexer": "MPEG Mux",
				"description": "mpeg",
				"extension": "mpeg",
				"processPartial": false,
				"useOutputAsTemp": false
			},
			"DVD-PAL-AC3-PASS": {
				"videoEncoder": "DVD-PAL",
				"audioEncoder": "ac3pass",
				"multiplexer": "MPEG Mux",
				"description": "mpeg",
				"extension": "mpeg",
				"processPartial": false,
				"useOutputAsTemp": false
			},
			"DVD-NTSC-AC3": {
				"videoEncoder": "DVD-NTSC",
				"audioEncoder": "AC3",
				"multiplexer": "MPEG Mux",
				"description": "mpeg",
				"extension": "mpeg",
				"processPartial": false,
				"useOutputAsTemp": false
			},
			"MPEG AC3 pass": {
				"videoEncoder": "MPEG-2",
				"audioEncoder": "ac3pass",
				"multiplexer": "MPEG Mux",
				"description": "mpeg",
				"extension": "mpeg",
				"processPartial": false,
				"useOutputAsTemp": false
			},
			"DVD-24p-AC3-PASS": {
				"videoEncoder": "DVD-24p",
				"audioEncoder": "ac3pass",
				"multiplexer": "MPEG Mux",
				"description": "mpeg",
				"extension": "mpeg",
				"processPartial": false,
				"useOutputAsTemp": false
			},
			"DVD-PAL-AC3": {
				"videoEncoder": "DVD-PAL",
				"audioEncoder": "AC3",
				"multiplexer": "MPEG Mux",
				"description": "mpeg",
				"extension": "mpeg",
				"processPartial": false,
				"useOutputAsTemp": false
			},
			"MPEG wav pass": {
				"videoEncoder": "MPEG-2",
				"audioEncoder": "wavpass",
				"multiplexer": "MPEG Mux",
				"description": "mpeg",
				"extension": "mpeg",
				"processPartial": false,
				"useOutputAsTemp": false
			},
			"DVD-24p-AC3": {
				"videoEncoder": "DVD-24p",
				"audioEncoder": "AC3",
				"multiplexer": "MPEG Mux",
				"description": "mpeg",
				"extension": "mpeg",
				"processPartial": false,
				"useOutputAsTemp": false
			},
			"MPEG AC3": {
				"videoEncoder": "MPEG-2",
				"audioEncoder": "AC3",
				"multiplexer": "MPEG Mux",
				"description": "mpeg",
				"extension": "mpeg",
				"processPartial": false,
				"useOutputAsTemp": false
			}
		},
		"profiles": {
			"DVD-24p": {
				"name": "DVD-24p",
				"program": "C:\\Tools\\ffmpeg.exe",
				"commandArguments": "-f rawvideo -s %(width)x%(height) -r %(fpsnum)/%(fpsden) -i - -vcodec mpeg2video -target film-dvd \"%(tempvideofile)\"",
				"outputFilename": "%(outputname).m2v",
				"type": 0,
				"inputFormat": 0,
				"checkReturnCode": true,
				"logStdout": true,
				"logStderr": true,
				"bypassCompression": false,
				"predeleteOutputFile": true
			},
			"DVD-NTSC": {
				"name": "DVD-NTSC",
				"program": "C:\\Tools\\ffmpeg.exe",
				"commandArguments": "-f rawvideo -s %(width)x%(height) -r %(fpsnum)/%(fpsden) -i - -vcodec mpeg2video -target ntsc-dvd \"%(tempvideofile)\"",
				"outputFilename": "%(outputname).m2v",
				"type": 0,
				"inputFormat": 0,
				"checkReturnCode": true,
				"logStdout": true,
				"logStderr": true,
				"bypassCompression": false,
				"predeleteOutputFile": true
			},
			"ffmpeg muxer": {
				"name": "ffmpeg muxer",
				"program": "C:\\Tools\\ffmpeg.exe",
				"commandArguments": "-i \"%(tempvideofile)\" -i \"%(tempaudiofile)\"  -vcodec copy -acodec copy \"%(outputname)\"",
				"outputFilename": "%(outputname).audio",
				"type": 2,
				"inputFormat": 0,
				"checkReturnCode": true,
				"logStdout": true,
				"logStderr": true,
				"bypassCompression": false,
				"predeleteOutputFile": true
			},
			"MPEG Mux": {
				"name": "MPEG Mux",
				"program": "C:\\Tools\\ffmpeg.exe",
				"commandArguments": "-i \"%(tempvideofile)\" -i \"%(tempaudiofile)\"  -vcodec copy -acodec copy -f mpeg \"%(outputname)\"",
				"outputFilename": "%(outputname).audio",
				"type": 2,
				"inputFormat": 0,
				"checkReturnCode": true,
				"logStdout": true,
				"logStderr": true,
				"bypassCompression": false,
				"predeleteOutputFile": true
			},
			"MPEG-2": {
				"name": "MPEG-2",
				"program": "C:\\Tools\\mencoder.exe",
				"commandArguments": "-demuxer rawvideo -rawvideo w=%(width):h=%(height):fps=%(fps) - -lavdopts threads=4 -ovc xvid -xvidencopts fixed_quant=2:me_quality=6:quant_type=h263:min_iquant=1:max_iquant=31:min_pquant=1:max_pquant=31:min_bquant=1:max_bquant=31:max_key_interval=250:quant_type=h263:max_bframes=2:bquant_ratio=150:bquant_offset=100:bf_threshold=0:vhq=2:bvhq=1:curve_compression_high=0:curve_compression_low=0:overflow_control_strength=10:max_overflow_improvement=10:max_overflow_degradation=10:trellis:noqpel:nogmc:nocartoon:chroma_opt:chroma_me:nointerlacing:par=ext:par_width=1:par_height=1:closed_gop:nopacked:threads=4 -demuxer lavf -vfm ffmpeg -noskip -vf scale,format=i420 -forcedsubsonly -nosub -nosound -mc 0 - -force-avi-aspect 1.5 -of avi -o %(outputname).avi",
				"outputFilename": "%(outputname)",
				"type": 0,
				"inputFormat": 0,
				"checkReturnCode": true,
				"logStdout": true,
				"logStderr": true,
				"bypassCompression": false,
				"predeleteOutputFile": true
			},
			"ac3pass": {
				"name": "ac3pass",
				"program": "C:\\Tools\\ffmpeg.exe",
				"commandArguments": "-i - -acodec copy \"%(tempaudiofile)\"",
				"outputFilename": "%(outputname).ac3",
				"type": 1,
				"inputFormat": 0,
				"checkReturnCode": true,
				"logStdout": true,
				"logStderr": true,
				"bypassCompression": false,
				"predeleteOutputFile": false
			},
			"AC3": {
				"name": "AC3",
				"program": "C:\\Tools\\aften.exe",
				"commandArguments": "-b 192 - \"%(tempaudiofile)\"",
				"outputFilename": "%(outputname).ac3",
				"type": 1,
				"inputFormat": 1,
				"checkReturnCode": true,
				"logStdout": true,
				"logStderr": true,
				"bypassCompression": true,
				"predeleteOutputFile": false
			},
			"DVD-PAL": {
				"name": "DVD-PAL",
				"program": "C:\\Tools\\ffmpeg.exe",
				"commandArguments": "-f rawvideo -s %(width)x%(height) -r %(fpsnum)/%(fpsden) -i - -vcodec mpeg2video -target pal-dvd \"%(tempvideofile)\"",
				"outputFilename": "%(outputname).m2v",
				"type": 0,
				"inputFormat": 0,
				"checkReturnCode": true,
				"logStdout": true,
				"logStderr": true,
				"bypassCompression": false,
				"predeleteOutputFile": true
			},
			"wavpass": {
				"name": "wavpass",
				"program": "C:\\Tools\\ffmpeg.exe",
				"commandArguments": "-i - -acodec copy \"%(tempaudiofile)\"",
				"outputFilename": "%(outputname).wav",
				"type": 1,
				"inputFormat": 1,
				"checkReturnCode": true,
				"logStdout": true,
				"logStderr": true,
				"bypassCompression": true,
				"predeleteOutputFile": false
			}
		}
	}
}
