Log in

View Full Version : How to retain grain but smooth temporally?


Dreadkillz
14th December 2009, 08:03
Hi,

For such a simple task I can't seem to find any filter for this. I tried Fluxsmooth and TemporalCleaner, but all they do is some sort of averaging for the output. All I want is to retain my grain but to prevent it from dancing around temporally. Help?

Terka
14th December 2009, 09:42
http://avisynth.org/mediawiki/Temporal_Degrain

Dreadkillz
14th December 2009, 10:03
Thanks for the link. Guess I'll play with this for a day or two...

Didée
14th December 2009, 10:08
This is a bit funny. The major property of film grain is that it's different in each frame. In other words, film grain per definition is "dancing around". Hence, your request basically does not make any sense. ;)

Things you can try nonetheless:

- TemporalDagrain, as suggested above. It's a strong MC-temporal smoother, will remove most of any grain, and some slight traces of slow+weak grain will remain.

- GrainOptimizer by Dark Shikari. It's purpose is to "lock" grain temporally, originally intended to make the compressor's job easier.

- Try lowpass filtering. When peopkle complain about "dancing" grain, then usually they're in fact concerned about lowpass errors introduced by the DCT compression due to the grain.
Here you'll find (http://forum.doom9.org/showthread.php?p=1073349#post1073349) a rather simple script for this kind of lowpass filtering.

LaTo
14th December 2009, 10:09
GrainOptimizer

edit: grilled

Terka
14th December 2009, 13:28
yes, yes, its hard to help when there is not exact specification. [Didee, you know what i mean ;)]
imho:
remove: dancing around temporally - because of visually better? or filesize?
if b) is correct, try some strong temporal smoother and use Didees grain factory while playing. => small filesize, eyes are pleased by the details.
for me, using GrainOptimizer gave me some 'unnatural looking' output, like watching the scene over a glass or something.

Dreadkillz
14th December 2009, 18:18
Sorry the confusion. I am trying to reduce file size for my encoding, but I don't plan on smoothing so much. I just wish to increase my compression.

Didée
14th December 2009, 19:49
Fix the grain but please don't touch it ... increase compression but please don't smooth ... interesting wishes you have. If everything is a no-no, then just go ahead and use stronger compression by the encoder. But then, that will have side effects too ...

You can't make an omelet without breaking an egg.

Dreadkillz
14th December 2009, 20:23
Aye, since I'm new to all this, it was naive of me to expect a panacea. I guess I'll have to make a balance between smoothness and detail.

Nephilis
16th December 2009, 13:03
Hi,

For such a simple task I can't seem to find any filter for this. I tried Fluxsmooth and TemporalCleaner, but all they do is some sort of averaging for the output. All I want is to retain my grain but to prevent it from dancing around temporally. Help?

Use a Temporal DeGrain/Noise filter not spatial. Thats all..