Log in

View Full Version : AVS2.5b: TemporalSoften() syntax bug?


frank
16th February 2003, 19:21
This instructions work:
TemporalSoften(2,10,10,20,2)
TemporalSoften(2,10,10,scenechange=20,mode=2)

But this one gives "Invalid arguments..." error:
TemporalSoften(radius=2,luma_threshold=10,chroma_threshold=10,scenechange=20,mode=2)

But the doc says it's right.:confused:

sh0dan
16th February 2003, 19:48
The first three arguments are not named (because they are not optional)

Only mode and scenechange are named parameters.

Guest
16th February 2003, 20:23
That's yucky. The first three could easily have suitable defaults and be optional. All the arguments should be treated the same.

IMHO :)

sh0dan
16th February 2003, 21:21
If you can agree on the defaults, I'll implement it.

I nominate (2,5,5). Rather soft, and quite fast.

(However defaults for mode 1 and 2 should in principle not be the same, as the same thresholds will cause lower quality with mode 1)