Log in

View Full Version : ApplyRange problem with filter/s


Kamui-Dash
19th April 2003, 15:59
I was searching around and didnt find any luck about how to use diff filter settings to diff scenes :/

This was used with AVS 2.51 160403
Video only, no audio file.

Here are my settings:
LoadPlugin("C:\Avisynth\Avi_2.5_Filter\asharp v0.95\asharp.dll")
clip=AVISource("1.avi")
clip.ApplyRange(1,6649,"asharp",1,10,2,1,false)+clip.ApplyRange(6650,7200,"asharp",1,2,2,1,false)+clip.ApplyRange(7200,35000,"asharp",1,4,2,1,false)

And:

LoadPlugin("C:\Avisynth\Avi_2.5_Filter\asharp v0.95\asharp.dll")
AVISource("1.avi")
ApplyRange(1,6649,"asharp",1,10,2,1,false)
ApplyRange(6650,7200,"asharp",1,2,2,1,false)
ApplyRange(7200,35000,"asharp",1,4,2,1,false)

When I load this into vdubmod it says "There are no function named "ApplyRange", and I would also like to know if its possible to load different filters on different scenes as well.

thx in advance

sh0dan
19th April 2003, 16:15
The first syntax is not very likely to give you the result you need.

In the second one, you have a parameter too much on your asharp.
This works fine:

ApplyRange(1,6649,"asharp",1,10,2,false)
ApplyRange(6650,7200,"asharp",1,2,2,false)
ApplyRange(7200,35000,"asharp",1,4,2,false)


If you are really getting that error message, you should try posting what a "version()" script reports.

BTW: Just noticed - seems like Marc doesn't check properly for YV12 - it just produces garbage if the input is YUY2.

Kamui-Dash
19th April 2003, 16:35
Thx for answering.

Hm, it was a 2.50 28.jan release. I dont know how this got into the mix :/ and I still got that error msg with it.

AVS 251 12.mar 2003 and AVS 251 avisynth_160403.exe
are producing green screens

avisynth_060303.exe / says ver 28. jan 2.50
is also giving me the "ApplyRange" error msg

Is there a way to add multiple filters for a scene btw? :)

sh0dan
20th April 2003, 16:18
The applyrange is new from 2.51.

What's the result if you put converttoyv12() before the filters?

Kamui-Dash
20th April 2003, 22:23
AVS 2.51 12march release
The wierdest things just happened, today with or without converttoyv12() worked, I tested with those settings earlier and it produced green screen and now it doesnt. I really dont understand why it should work now, if u got a explanation Im willing to lissen :)