AddGrainC icon indicating copy to clipboard operation
AddGrainC copied to clipboard

Seed repeats start and end frame

Open Dogway opened this issue 2 years ago • 2 comments

So I was using seed=17 because I like having some ground truth to tune settings from and noticed how in frame 15 and 16 the grain pattern repeats, only shifted up by a few pixels. In order to reproduce the issue I had to scale up the source, so it seems the issue is also size dependent:

YUV444
BilinearResize(2780,1780)
AddGrainC(3358.593750, 3358.593750, constant=false, seed=17)

Dogway avatar Apr 11 '23 11:04 Dogway

Only at 17? Probably this seed number makes the pseudo-random algorithm to show its pseudoness?

pinterf avatar Apr 14 '23 17:04 pinterf

I'm not sure, didn't feel like frame skipping for a few hours lol Seems to be a mix of the seed and resolution, so maybe backtracking it to code something could be hinted. I chose 17 as a solid prime number for the randomness.

Dogway avatar Apr 14 '23 17:04 Dogway