Log in

View Full Version : Grain effect (Film effect)


djan
12th July 2005, 01:33
Hi all,

I would like add some grain to my movie. Is there a filter that can do it ? I would like it looks like that example : Click (http://img249.echo.cx/img249/3271/720psample0018yb.jpg).

Thanks to help me.

DeepDVD
12th July 2005, 03:47
You can add Grain by using DirectShowSource with FFDShow. But you can search for similar postings as well. That question was already asked some times before.

unskinnyboy
12th July 2005, 05:09
AddGrain() (http://mywebpages.comcast.net/trbarry/AddGrain.zip)

E-Male
12th July 2005, 07:25
i second addgrain
it does a great job and is very customizable

but i hope you don't think that just adding grain will give you the film look

Pookie
12th July 2005, 18:30
I like MPlayerNoise(2,2) from the BergFilterCollection.dll. Adds just enough to look "thick".

djan
12th July 2005, 21:45
You can add Grain by using DirectShowSource with FFDShow.Isn't for post processing ? I'm searching a way for encode.

But you can search for similar postings as well. That question was already asked some times before.I did a search without any good result. Can you point me to the thread please ?

i second addgrain
it does a great job and is very customizableI tested AddGrain but I don't like it. The grains are too big.

but i hope you don't think that just adding grain will give you the film lookWhat do you mean ? If my movie is already a DVD movie (not self-made), isn't it enough ?

I like MPlayerNoise(2,2) from the BergFilterCollection.dll. Adds just enough to look "thick".I'll take a look at it.

Thx

unskinnyboy
12th July 2005, 21:56
I tested AddGrain but I don't like it. The grains are too big.
AddGrain(float stddev, float HorizCorr, float VerticalCorr)

You can reduce the correlation factors to reduce the grain size. Or even AddGrain(whatever,0,0) is too big a grain size for you? You'd have to adjust the standard deviation also accordingly. Read the documentation enclosed in the package for more information.

djan
12th July 2005, 22:40
AddGrain(float stddev, float HorizCorr, float VerticalCorr)

You can reduce the correlation factors to reduce the grain size. Or even AddGrain(whatever,0,0) is too big a grain size for you? You'd have to adjust the standard deviation also accordingly. Read the documentation enclosed in the package for more information.Yes, I've already read the readme file and tested the (whatever, 0, 0). I find the grains too big. I'm looking for something that shows many grains but as small as possible and with a distance between each grain as court as possible.

mg262
12th July 2005, 22:51
What do you mean ? If my movie is already a DVD movie (not self-made), isn't it enough ?I seem to remember there's a huge thread about creating a "film look" on this forum or the avs development forum...

molecool
12th July 2005, 23:03
Actually, most people believe that it is grain that creates the film effect, but that is only a 'cheap' way of attaining a film look&feel. There are several factors that contribute to film looking different (better) than video. Think about it - you don't want your content to look worse, but better - right? The key is in simulating the way light interacts with silver particles on three different layers on film material - some grain is a contributing factor, but it is definitely not what makes/breaks the film look. The product I use is MagicBullet and it can do wonders, IMHO. I am not in any way associated with these guys, just for the record. Maybe some of those wunderkinds on this board have assembled a set of filters that rivals MagicBullet, dunno - I'm pretty new here (and I wish there was free stuff for AviSynth). The guys from MagicBullet have written a few papers on the subject, which are a very interesting read - just google around.

E-Male
13th July 2005, 05:53
i think we got pretty far with the free film look, but the project isn't active ATM
but when i finally get a DV camera i'll restart working on it

about mor fine grain:
try using addgrain with supersampling
that should give you what you look for

Soulhunter
13th July 2005, 06:28
@ djan

Hey, thats the "Closer" sample I posted some time ago... ^^

Well, before talking about the endless possibilitys of adding noise to a source, Id like to give you a short reminder that this will affect the compressibility in a big extent... Maybe you have already noticed the huge filesize of my picture!? If youd encode something like this @ common bitrates, half of the noise would get smoothed away n' the other half would turn into ringing... So, if you plan to encode the filtered result, you have to use a very high bitrate! Using a "non HVS style" CQM (without aggressive high frequency cut-off) would be also a good idea! Ok, now the possibilitys of adding noise... First have a look @ Didče's NoiseFactory (http://www.neuron2.net/board/viewtopic.php?p=5622#5622) script! Besides some other stuff, its able to add more noise to mid-tones n' less noise to bright/dark areas... very useful! Secondly it should be noted that the way you add the noise can make a big difference... Adding noise in a super-sampled (upsize->addgrain->downzise) way for example, looks different than adding it directly! Sharpening the noise (which drops the compressibility again) or blending multiple noise layers changes the final look as well. Simply play around with all possibilitys to find a noise-look that satisfys you!


PS:

Sorry for my bad english...

Normally I only write 2-3 oneliners!


Bye

Soulhunter
13th July 2005, 08:26
Source
http://img349.imageshack.us/img349/6693/raw3zy.png

With gaussian noise
http://img349.imageshack.us/img349/107/gausnoise4cp.png

Super-sampled gaussian noise + sharpening
http://img340.imageshack.us/img340/8087/200gausnoise100gausnoisesharpe.png

Bye

molecool
13th July 2005, 17:18
@ djan

If youd encode something like this @ common bitrates, half of the noise would get smoothed away n' the other half would turn into ringing...
Bye

Sorry for the dumb question, but what is 'ringing' (I'm not a native English speaker myself).

Molecool

Soulhunter
13th July 2005, 18:14
@ molecool

Its also known as mosquito-noise... ;)

It occurs if you quantize high frequencys like noise or edges !!!


Bye

LocalH
13th July 2005, 18:23
That's the problem with trying to add noise to digital video - it's best done at playback time, else you have the problem of trying to encode the noise as part of the image, which will only increase the bitrate that you'll need for a quality encode.

Backwoods
13th July 2005, 20:45
i think we got pretty far with the free film look, but the project isn't active ATM

I think we got far enough with it. The results were pretty spot on compared to the Photoshop method. If you can think of anything else to help, please post.

http://forum.doom9.org/showthread.php?t=87791