Log in

View Full Version : Avisynth syntax order problem


markrb
20th March 2002, 08:11
For the last couple of days I have been using the following avs syntax with no problem:

LoadPlugin("C:\PROGRA~1\DVD2SVCD\MPEG2Dec\mpeg2dec.dll")
mpeg2source("F:\spatial\DVD2AV~1.D2V")
Sharpen(.6)
BicubicResize(480,360,0.00,0.60)
AddBorders(0,60,0,60)
ResampleAudio(44100)

Today it refuses to work. CCE keeps crashing with a GPF. It will play in windows Media Player.

If I move Sharpen to after the resize it will work like this.

LoadPlugin("C:\PROGRA~1\DVD2SVCD\MPEG2Dec\mpeg2dec.dll")
mpeg2source("F:\spatial\DVD2AV~1.D2V")
BicubicResize(480,360,0.00,0.60)
Sharpen(.6)
AddBorders(0,60,0,60)
ResampleAudio(44100)


It seems that in general I should use the filter before the resize for the best results. I have uninstalled and re-installed the whole DVD2SVCD package including the mpeg2dec.dll. I also rebooted my PC.
I am really confused because it worked both ways without any changes yesterday.

Thanks,
Mark

markrb
20th March 2002, 21:06
After further testing I can manually load this AVS into CCE without a problem. The problem happens when DVD2SVCD tries to load it. I don't know what the difference is and why manually works while within the program does not. I also was able to load the ecl file without a problem either.

Mark

markrb
21st March 2002, 04:53
I have to add this other wierdness. I was able to get TS to work if I placed it before the resize and I had sharpen after. What is really wierd is that if the setting is 2,1 it doesn't work, but if the setting is 2,2 or higher it does work.

These problems might be specific to DVD2SVCD, but I am hoping that maybe I did something wrong and it can be pointed out

Thanks
Mark

wing1
21st March 2002, 23:23
@markrb

I am having the same issue with virtual dub and even in WMP6.4. It seems that the sharpen/blur filters in Avisynth has some issue with memory alloc. Sometimes it works and other times it just simply refused to.

I am using it before/after Levels filter, and it's depending heavily on the source clip to as where it likes to be :D

Is anyone actively working on this application? I do like the negative blur filter very much for encoding at low bitrate. It sorta do a soft edge enhancement to the video and makes the video looks really great.