Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
12th June 2020, 23:05 | #1 | Link |
Registered User
Join Date: Apr 2010
Posts: 57
|
Best 'dancing grain' filter for x265?
I'm looking for a good "dancing grain" filter for x265.
Since MCTemporaldenoise is not working any longer (can't get it to work on Staxrip), I tried SMDegrain, FFT3D and some other.I I like fft3d so far, but maybe you guys know better filters? |
13th June 2020, 05:51 | #2 | Link |
Herr
Join Date: Apr 2009
Location: North Europe
Posts: 556
|
TemporalDegrain2(grainLevel=false)
"Temporal Degrain is a very slow, multi-stage temporal denoiser originally created for killing the dancing grain present in 300." EDIT: Although it might degrain away real details too much on some sources (and someone here complained that it had artifacts), so be careful. Last edited by Forteen88; 31st July 2021 at 10:38. |
13th June 2020, 14:23 | #4 | Link | |
Herr
Join Date: Apr 2009
Location: North Europe
Posts: 556
|
Quote:
But you can feed StaxRip an *.avs file, that you can put TemporalDegrain2 in. Last edited by Forteen88; 13th June 2020 at 14:46. Reason: fixed grammar |
|
13th June 2020, 20:26 | #6 | Link | ||
Herr
Join Date: Apr 2009
Location: North Europe
Posts: 556
|
Quote:
https://github.com/AviSynth/AviSynthPlus/releases Then, in the program AvsPmod (or Notepad), you should write (and save the file as "filename.avs" (without the citationmarks), set what filename you want, but the filename should end with .avs), Quote:
All the filters (fft3dfilter, masktools2, mvtools2, RgTools) that are needed for TemporalDegrain2 are downloadable here, http://www.avisynth.nl/index.php/TemporalDegrain2 Extract the filter's .dll files to C:\Program Files\AviSynthPlus\plugins64+ I hear that sharpening is a bit bad for compression, so I rather use a sharpening-filter on playback. So I can't give you good advice on that. I used to use LimitedSharpenFaster-plugin. Last edited by Forteen88; 16th June 2020 at 10:10. Reason: formatting |
||
13th June 2020, 23:13 | #8 | Link |
Herr
Join Date: Apr 2009
Location: North Europe
Posts: 556
|
You right-click in StaxRip's "Source"-field, choose "Open...", then choose "Single File" and load your *.avs file there.
UPDATE: Oh, I tried my script, and it didn't work, so I added video-loading (LSMASH) in my script above now, and now it works in StaxRip. I just read that the Staxrip-dev will integrate TemporalDegrain2 into StaxRip, but maybe it takes time for the developer to release that update. Last edited by Forteen88; 13th June 2020 at 23:29. |
13th June 2020, 23:35 | #9 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
TemporalDegrain2 is included in the next build.
The docs were updated to describe how to add custom filter profiles: https://staxrip.readthedocs.io/usage...ilter-profiles The custom profile definition: Code:
[Noise] TemporalDegrain2 = Import("D:\TemporalDegrain2\TemporalDegrain2.avsi") TemporalDegrain2(degrainTR=2, postFFT=3, postSigma=3) I hope it's understandable and works.
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
14th June 2020, 23:57 | #11 | Link |
Moderator
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,770
|
A quick and dirty option within x265 itself is the --nr-inter filter. This does an adaptive deadzone around high frequency details in predicted blocks. Net effect is that the grain texture of the IDR frame tends to be preserved throughout the GOP without it dancing around so much. It can provide some welcome ABR reduction as well, since random high frequency noise that changes every frame is quite expensive to encode. --nr-inter 500 is a good place to start, although a lower value might be better in practice depending on content and encoding settings.
If you want to get rid of noise even on IDR frames, there is also --nr-intra. But that can soften the image quite a bit, removing non-random detail as well. |
15th June 2020, 08:02 | #12 | Link |
Registered User
Join Date: Apr 2010
Posts: 57
|
oh thanks, I didn't know I can use them separately, although I always got some really blurry picture with those settings. Probably as you said because of the nr-intra setting.
Will try it out and will let you know how it turns out. I liked fft3d so far. I wish I could get temporaldegrain2 to work, but so far no luck with staxrip. |
15th June 2020, 21:36 | #14 | Link |
Registered User
Join Date: Apr 2010
Posts: 57
|
Staxrip 2.1.3.1 crashes with the following error: 1 (0x1)
Unzulässige Funktion (improper function) when I start the encoding process. How good is FFT3d compared to TemporalDegrain2? Last edited by crystalfunky; 15th June 2020 at 21:46. |
16th June 2020, 10:18 | #15 | Link | |
Herr
Join Date: Apr 2009
Location: North Europe
Posts: 556
|
Quote:
IDK about FFT3d. |
|
16th June 2020, 16:11 | #16 | Link | |
Registered User
Join Date: Apr 2010
Posts: 57
|
Quote:
Staxrip is checking the plugins if they are there. So I guess if something's missing, Staxrip wouldn't even start the muxing process. The same with the 64-bit plugins. But I can be wrong of course. Is the new staxrip version 2.1.3.1 running on your system with the TemporalDegrain2 filter enabled? |
|
16th June 2020, 16:27 | #17 | Link | |
Herr
Join Date: Apr 2009
Location: North Europe
Posts: 556
|
Quote:
No, I can't choose TemporalDegrain2 filter in Staxrip version 2.1.3.1. EDIT: Sorry, I meant that I tested Staxrip version 2.1.3.0. That's the latest version I see at, https://github.com/staxrip/staxrip/releases Last edited by Forteen88; 16th June 2020 at 17:09. Reason: correction |
|
16th June 2020, 16:29 | #18 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
@crystalfunky
It runs here, maybe a dependency is missing, staxrip has a detection for dependencies but it could be incomplete, maybe try this: https://github.com/abbodi1406/vcredist @Forteen88 If it's not in the menu then you can find it in the Profile editor in the Defaults tab.
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists Last edited by stax76; 16th June 2020 at 16:32. |
16th June 2020, 17:10 | #19 | Link | |
Herr
Join Date: Apr 2009
Location: North Europe
Posts: 556
|
Quote:
https://github.com/staxrip/staxrip/releases |
|
16th June 2020, 18:01 | #20 | Link | |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
Quote:
It was added in 2.1.3.1 Beta: https://github.com/staxrip/staxrip/b...g.md#2131-beta Download: https://staxrip.readthedocs.io/intro....html#download
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
|
|
|