View Full Version : SmoothD2 only blurring picture


MysteryX
21st December 2014, 00:28
Here's a test I made with SmoothD2 on a MPEG1 video converted to AVI.

With maximum deblock, I really am not seeing any effect on the blocks, all it is doing is blurring out the picture! What's going on here?

http://s10.postimg.org/x0cooh2z9/Untitled.jpg (http://postimg.org/image/x0cooh2z9/)

foxyshadis
21st December 2014, 01:15
Those blocks already look smooth. Deblock is for hard blocks, like this:

http://www.keesvanoverveld.com/jigSaw/imgPool/user10/HITS/jpeg_artefacts3.png

Your video looks like it needs much more delicate processing, and only so much is possible. If you post an unprocessed sample we might be able to help.

MysteryX
21st December 2014, 01:24
Here's a video
https://www.spiritualselftransformation.com/misc/Genie-Jah.mpg

Here's the script I have so far. First I convert it to AVI with ffmpeg. At the end I muxe it back with the original audio.

PluginPath = ".\"
AviSource("Job2_Input.avi", audio=false).ConvertToYV12()
Crop(0, 0, -10, -0)
LoadPlugin(PluginPath+"FFT3DFilter.dll")
fft3dfilter(sigma=3, bt=5, bw=48, bh=48, ow=24, oh=24)
LoadPlugin(PluginPath+"nnedi3.dll")
LoadPlugin(PluginPath+"eedi3.dll")
eedi3_rpow2 (2)
nnedi3_rpow2 (2)
Spline36Resize(936, 720, 0, 0, -0, -4)
fft3dfilter(bt=-1, sharpen=0.3)

Let me know if you can further improve it.

Asmodian
21st December 2014, 04:41
There is some decent blocking in that sample. If you are testing SmoothD2 make sure to run it before the crop.

MysteryX
21st December 2014, 05:44
There is some decent blocking in that sample. If you are testing SmoothD2 make sure to run it before the crop.
Yes I do it before the crop. When I opened the MPEG1 file directly with Haali Splitter, I found it to have a good effect. Since converting the file to AVI, however, I'm getting higher source quality somehow, but Deblock doesn't seem to do anything anymore.

foxyshadis
22nd December 2014, 00:36
That's because the converter also deblocked & smoothed it, but you can't have any idea how good a job it did. Best to start with DGDecode (http://avisynth.nl/index.php/DGDecode) or LWLibAV (http://avisynth.nl/index.php/LSMASHSource/LWLibavVideoSource) directly on the mpg, and work from there.

After checking the video out, I can say your prospects aren't particularly good. That's heavily damaged, so the only way to sweep away the noise is to take a lot of detail with it. DFTTest in concert with ffd3dfilter might help; if you have the patience, you can try MCTemporalDenoise (http://avisynth.nl/index.php/MCTemporalDenoise) instead to try to protect what detail there is.

MysteryX
22nd December 2014, 02:43
I'm actually getting pretty good results so far. ffd3dfilter really is doing some magic on my videos. First, it denoises enough to be able to use NNEDI3(4) instead of EEDI3(2)+NNEDI3(2) which gives a much sharper image (where I couldn't before because it amplified the noise). Then, it also removes a lot of blocking and halo effects.

For this particular video, however, I still have to use EEDI3+NNEDI3 because there is just too much noise and movement, but on many other videos I can now get away with NNEDI3(4).