mpv-player / mpv

🎥 Command line video player
https://mpv.io
Other
28.16k stars 2.89k forks source link

reduce film grain #5701

Closed unculcated closed 6 years ago

unculcated commented 6 years ago

im using brew installed mpv on high Sierra

How can I reduce film grain. Thanks

Hrxn commented 6 years ago

https://ffmpeg.org/ffmpeg-filters.html#removegrain

unculcated commented 6 years ago

thanks but what is the way to right this into a conf file.

Hrxn commented 6 years ago

https://mpv.io/manual/master/#options-lavfi-complex , probably..

unculcated commented 6 years ago

kind of doesn't come together for me. Maybe post a small example?

unculcated commented 6 years ago

Ive been playing with debanding

Argon- commented 6 years ago

There are a dozen denoisers in ffmpeg, no idea which one is best/good. One possibility would be --vf=lavfi=[hqdn3d], or --vf=lavfi=[removegrain], or ... You can also assign this to a key and toggle it by using that key: a vf toggle "lavfi=[hqdn3d]"

unculcated commented 6 years ago

im getting this [ffmpeg] Impossible to convert between the formats supported by the filter 'src' and the filter 'auto_scaler_0' [lavfi] Can't configure libavfilter graph. wit this : a vf toggle "lavfi=[hqdn3d]" I get /Users/ss/.config/mpv/mpv.conf:36: unparseable extra characters: 'vf toggle "lavfi=[hqdn3d]"'

Argon- commented 6 years ago

Naturally, key bindings do not go to mpv.conf. https://mpv.io/manual/master/#files

unculcated commented 6 years ago

lavfi is just not working. no matter what I try. Im using mpv 0.27.2 hombrew edition

sfan5 commented 6 years ago

You need to disable hwdec for these filters, or use hwdec=auto-copy.