Log in

View Full Version : x64 avisynth issues - FixBlendIVTC and Average.dll


Waddles
31st May 2013, 00:19
Hi there,

I've been experimenting with digital video encoding through Avisynth. It's been going well, however I have run into one issue and can't figure out a solution.

In short, I've been using a script to encode some videos I have on my hard drive to x264, using Avisynth to touch up the video. I have the 64 bit version of Avisynth installed in Windows Vista 64 bit. My script works fine normally, but once I add FixBlendIVTC to turn the 29.976fps video into 25fps, things go awry. I have all the 64bit Avs plugins I could find that I use. Here is my current (bugged) script:

LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\DGDecode.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\ColorMatrix.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\LeakKernelDeint.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\Average.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\mt_masktools-26-x64.dll")
Import("C:\Program Files (x86)\AviSynth 2.5\plugins\FixBlendIVTC.avs")

DGDecode_Mpeg2Source("C:\Users\Admin\Desktop\video.d2v", idct=5, info=3)

ChangeFPS(last,last,true) # out of order protection
LeakKernelDeint(order=1,sharp=true,threshold=8)
FixBlendIVTC(post=3)
tdecimate(rate=25.00,mode=7)
ColorMatrix(hints=true, interlaced=true, threads=0)
#TemporalSoften(4,4,8,15,2) # light denoiser; optional

29.976 fps -> 29.976 fps is just fine. I have not tried bringing it to 23.976 fps however. It's this line that messes everything up:

Import("C:\Program Files (x86)\AviSynth 2.5\plugins\FixBlendIVTC.avs")

With that line included, I get an error saying there is no function named mt_makediff which is used by FixBlendIVTC in line 78. Originally I did not have mt_masktools or Average.dll being called in the script, but due to FBIVTC I had to add it to make an error go away. I added the line calling mt_masktools and then it said there is no function named Average, which was being called in line 85 of FixBlendIVTC. I added the line calling Average.dll, and now I'm at where I am now. Now it says it's unable to load Average.dll. I've tried multiple mirrors of the file just to make sure one wasn't messed up or something but no matter what it cannot load it.

Any ideas?

Thank you.

EDIT: I don't know if it matters but I've only got 64bit for the following:

DgDecode
ColorMatrix
LeakKernelDeint
MaskTools
RemoveGrain

Waddles
4th June 2013, 19:45
Anyone? I'm still trying everything I can think of but so far my efforts have not paid off.

Asmodian
4th June 2013, 20:55
You can not use any 32 bit Avisynth filters in 64 bit Avisynth.

I don't think there is a 64 bit version of Average.

Just use 32 bit Avisynth and pipe to 64 bit x264 or use LoRd_MuldeR's Simple x264 Launcher (http://forum.doom9.org/showthread.php?t=144140).

Waddles
4th June 2013, 23:56
Ah, the answer I was dreading. What do you mean by use Avisynth and pipe it to 64 bit x264? Just use 32bit avisynth but use the 64bit version of x264? And thanks for the link - I'll try it out.