Log in

View Full Version : mplayer - postprocessing settings to add grain


Razorholt
22nd July 2007, 00:35
I don't think that mplayer offers any postprocessing options to directly "add grain", unless I missed it. I have my files encoded using x264 but - as we all know - that codec doesn't reproduce the film grain quite well at a low/medium bitrates.

So, I was wondering whether mplayer could somehow correct this.

I tried to sharpen the picture a little bit using −vf scale −ssf ls=50 cs=50 but... meh... not really happy with it.

Any other suggestions?

Thanks
- Dan

Tack
22nd July 2007, 01:02
MPlayer has a noise filter, which is tweakable enough that you can render a reasonable approximation of film grain (though not exact). Try -vf noise=3th:2th, tweaking the values to taste.

Razorholt
22nd July 2007, 23:00
Thanks a lot Tack, this is what I was looking for :)

- Dan