Server : Apache/2.4.43 (Win64) OpenSSL/1.1.1g PHP/7.4.6
System : Windows NT USER-PC 6.1 build 7601 (Windows 7 Professional Edition Service Pack 1) AMD64
User : User ( 0)
PHP Version : 7.4.6
Disable Function : NONE
Directory :  C:/Program Files (x86)/ImTOO/Video Converter Ultimate/plugins/
Upload File :
Current Directory [ Writeable ] Root Directory [ Writeable ]


Current File : C:/Program Files (x86)/ImTOO/Video Converter Ultimate/plugins/ffmpegsource.avsi
LoadPlugin("ffmpegsource2.dll")

function FFmpegSource(string source, int "vtrack", int "atrack", bool "cache", \
	string "cachefile", int "fpsnum", int "fpsden", string "pp", int "threads", \
	string "timecodes", int "seekmode", bool "overwrite", string "colorspace") {
	
	vtrack 		= default(vtrack,-1)
	atrack		= default(atrack,-2)
	cache		= default(cache,true)
	cachefile	= default(cachefile,source+".ffindex")
	fpsnum		= default(fpsnum,-1)
	fpsden		= default(fpsden,1)
	pp		= default(pp,"")
	threads		= default(threads,-1)
	timecodes	= default(timecodes,"")
	seekmode	= default(seekmode,1)
	overwrite	= default(overwrite,false)

	((cache == true) && (atrack <= -2)) ? ffindex(source=source, cachefile=cachefile, \
		indexmask=0, overwrite=overwrite) : (cache == true) ? ffindex(source=source, \
		cachefile=cachefile, indexmask=-1, overwrite=overwrite) : nop
	
	v = (vtrack <= -2) ? blankclip() : ffvideosource(source=source, vtrack=vtrack, atrack=atrack, cache=cache, cachefile=cachefile, \
		fpsnum=fpsnum, fpsden=fpsden, pp=pp, threads=threads, timecodes=timecodes, \
		seekmode=seekmode, colorspace=colorspace)
		
#	v = DirectShowSource(source, convertfps=true)
#	a = DirectShowSource(source, convertfps=true)

	a = (atrack <= -2) ? blankclip(audio_rate=0) : ffaudiosource(source=source, \
		vtrack=vtrack, atrack=atrack,cache=cache, cachefile=cachefile)
	return audiodubex(v,a)
}
function FFImageSource(string source, int "width", int "height", string "colorspace") {

	width		= default(width,-1)
	height		= default(height,-1)
	colorspace	= default(colorspace,"")

	return FFVideoSource(source, cache=false, seekmode=-1, width=width, height=height, colorspace=colorspace)
}