Darksoul71
29th August 2007, 22:10
Hi all,
I want to control the usage of certain denoise & sharpen scripts (imported as template) via simple AVISynth variables. Here is some simple example_
AVISource("C:\My Video.AVS")
UseSharpen=1
UseSharpen==1 ? Sharpen(1) : nop()
Idea behind this:
If UseSharpen is set to 1 (from my frontend) the sharpener shall be used. If UseSharpen is set to 0 the sharpener shall be omitted.
My problem:
As long as I leave UseSharpen set to 1 everything works fine but as soon as I set it to 0 VitualDub shows me an error which says "The result of the script is not a video clip".
What am I doing wrong here ?
Oh yes, I should add: I´m using AVISynth 2.5.7
TIA,
D$
I want to control the usage of certain denoise & sharpen scripts (imported as template) via simple AVISynth variables. Here is some simple example_
AVISource("C:\My Video.AVS")
UseSharpen=1
UseSharpen==1 ? Sharpen(1) : nop()
Idea behind this:
If UseSharpen is set to 1 (from my frontend) the sharpener shall be used. If UseSharpen is set to 0 the sharpener shall be omitted.
My problem:
As long as I leave UseSharpen set to 1 everything works fine but as soon as I set it to 0 VitualDub shows me an error which says "The result of the script is not a video clip".
What am I doing wrong here ?
Oh yes, I should add: I´m using AVISynth 2.5.7
TIA,
D$