Log in

View Full Version : Bug in TemporalSoften


Didée
2nd March 2004, 08:42
Hello.

Sorry for bringing bad news, but ...

When I wanted to average 3 frames equally, it didn't work out.

It looks like frame [current_frame - 1] is never considered by temporalsoften.

Simply try "temporalsoften(1,255,255,255,2)" on scenechanges: Ghosting before the change, but not after.

Try "temporalsoften(2,255,255,255,2)" on panning scenes: there are 4 frames blended together, not 5.


While I'm at it:

Overlay(this,that, mode="multiply") gives me nothing but black frames.

- Didée,

finder of AviSynth bugs ;)

morsa
2nd March 2004, 09:25
I would call you "The Bug Collector" :D

sh0dan
2nd March 2004, 09:39
Originally posted by morsa
I would call you "The Bug Collector" :D
:p

Overlay confirmed - opacity=0.0 gives some kind of result, but it clearly doesn't make sense.

Edit: Multiply is fixed and works more logical now!

Edit: TemporalSoften also confirmed (and fixed).

Keep the reports coming!

stickboy
14th March 2004, 02:45
The following script does not behave as I expect:
black = BlankClip(color=$000000, length=10, pixel_type="yuy2")
white = black.BlankClip(color=$FFFFFF)
black ++ white
TemporalSoften(5, 255, 255, scenechange=255)
I expect that the video would fade from black into white, but it instead goes from black->gray->black->gray->white...

(I'm using the 2004-03-03 build.)

Manao
14th March 2004, 08:34
Since we are reporting bug, there is a bug in all the resizers ( except simpleresize ) : try to resize to a resolution of 674x***, you'll see a green line appear on the right side of the picture. The bug was found on another forum by MWI.

ARDA
14th March 2004, 09:04
quote:
------------------------------------------------------
Originally posted by Manao
try to resize to a resolution of 674x***,
------------------------------------------------------
As far as I can test avisynth should send a message error
cause 674 is not mod4.At least in YUY2 and YV12 it is not
a bug.

Regards.ARDA

Manao
14th March 2004, 09:36
Yeah, but resize to 674x*** and then to the original resolution, and you'll see the green line appear. Avisynth allows the use of non mod4 resolution for YV12 except for output.

ARDA
14th March 2004, 09:47
You're right.My mistake.
Fiters that can't support not mod4 input should
send an error or be fixed.

Regards.ARDA

Manao
14th March 2004, 10:13
It's much more subtile than that : the only problematic resolution is 674 : 676, 678 ... 700 work fine.

sh0dan
14th March 2004, 11:30
Originally posted by Manao
Since we are reporting bug, there is a bug in all the resizers ( except simpleresize ) : try to resize to a resolution of 674x***, you'll see a green line appear on the right side of the picture. The bug was found on another forum by MWI.
I cannot reproduce. Could you send an exact script to reproduce?

Manao
14th March 2004, 11:38
Source = MPEG2Source("R:\foo.d2v")
output = source.lanczosresize(674,320).lanczosresize(720,576)
return output

sh0dan
14th March 2004, 11:52
Thanks - got it!