Sentrix wrote:Well this is the error i had when i opened it after installed Haali's Media Splitter.

That's because you need ffdshow also. Haali's only handles the container, ffdshow is needed for the video and audio decoding. And the CCCP is
this. It includes both Haali's and ffdshow, so uninstall them before putting in the CCCP.
and about the ffmpegsource version i just downloaded 2.00 beta (FFMS2.dll)
Ok, then copy and paste the following code into a file named ffmpegsource2.avsi and stick it and FFMS2.dll in AviSynth's plugins folder:
Code: Select all
function ffmpegsource2(string source, int "vtrack", int "atrack", bool "cache", \
string "cachefile", int "fpsnum", int "fpsden", string "pp", int "threads", \
string "timecodes", int "seekmode", bool "overwrite") {
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 = ffvideosource(source=source, track=vtrack, cache=cache, cachefile=cachefile, \
fpsnum=fpsnum, fpsden=fpsden, pp=pp, threads=threads, timecodes=timecodes, \
seekmode=seekmode)
a = (atrack <= -2) ? blankclip(audio_rate=0) : ffaudiosource(source=source, \
track=atrack, cache=cache, cachefile=cachefile)
return audiodubex(v,a)
}
Now, all you'll have to do with your script is:
Code: Select all
FFmpegSource2("F:\After Effects Junk\Riot Gear Full\Ink_Bleeds\Reveal_01.mov")
and it should open, providing that ffmpeg itself can open it (if VLC can play it, chances are FFmpegSource can as well since they both use libavcodec).