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. |
![]() |
#1 | Link |
Telewhining
Join Date: Mar 2010
Posts: 272
|
Need some denoise/degrain help
Hi guys, I could use some help denoising my Wolverine bluRay. It's very grainy and what I usually use isn't cutting it.
I usually just apply a light MVdegrain via this SMDegrain script: http://forum.doom9.org/showthread.ph...ight=smdegrain It does a great job at light denoising and is also pretty fast. Code:
LoadPlugin("C:\Apps\Multimedia\Video\MeGUI\tools\dgavcindex\DGAVCDecode.dll") AVCSource("F:\Encode\BluRay\X4\X4.dga") crop( 0, 132, 0, -132) Spline36Resize(1280,544) # Spline36 (Neutral) SMDegrain(tr=1, thSAD=200) Most of my BluRays have worked fine with a value of 200, but this one is particularly grainy and could use a higher value: Code:
SMDegrain(tr=1, thSAD=200) ![]() But unfortunately when I raise the value higher than 200 it adds blockiness to the picture during fast motion scenes (present with 1080p and resized 720p): Code:
SMDegrain(tr=1, thSAD=400) ![]() I don't want to obliterate the grain and detail, but I would like to be able to increase the denoising higher than the thSAD=200 screenshot shows. I don't know a whole lot of denoising techniques so I'd really appreciate some help from you encoding wizards. ![]() Here is the 1080p clip from which those screenshots were taken: http://dl.dropbox.com/u/5637223/wolverine.demuxed.264 Any help would be much appreciated! ![]() |
![]() |
![]() |
![]() |
#3 | Link |
Telewhining
Join Date: Mar 2010
Posts: 272
|
Yeah I did, the tr=2 and tr=3 both still add blockiness even when set at lower values like 200. Plus they are much much slower. (I try to keep things crunching at somewhere around 5-6 fps with really high x264 settings)
tr=2: http://dl.dropbox.com/u/5637223/tr%3D2.png tr=3: http://dl.dropbox.com/u/5637223/tr%3D3.png |
![]() |
![]() |
![]() |
#5 | Link |
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 5,390
|
It seems that SMDegrain uses a default overlap=2 with blksize=8.
Increase to overlap=4. Consider using blksize=16,overlap=8.
__________________
- We´re at the beginning of the end of mankind´s childhood - My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!) |
![]() |
![]() |
![]() |
#6 | Link | |
Actually in reserve
Join Date: Oct 2004
Posts: 1,605
|
Hi,
Quote:
Difference will be slower (tr=2) to even more slower (tr=3) with very good to good details retention. Smdegrain uses Mvtools/Mdegrain processing 1 frame before/after (tr1), 2 frames (tr2) or 3 frames(tr3). If not enough, you can also increase the thsad to 300/400/500 or higher if needed (I just stop around 500); With theses values, blocking is not uncommon; if so and if you encode with x264, try increasing the noise/deblocking parameter (if it was -2,-2 try 0,0 and so forth) if not x264, try some deblocking function or script. Did Edit: Didée's approach is also to consider; I just wanted to stay simple ![]()
__________________
Having a problem with AutoGK? Read & use the FAQ & MORE FAQ first Want to exchange on AutoGK? try doom10.org In reserve (inactive) for an undefined period of time. |
|
![]() |
![]() |
![]() |
#7 | Link | ||
Telewhining
Join Date: Mar 2010
Posts: 272
|
Quote:
Quote:
http://dl.dropbox.com/u/5637223/blksize%3D16.png Thanks Didée and everyone for your quick suggestions! ![]() |
||
![]() |
![]() |
![]() |
#9 | Link | |
Telewhining
Join Date: Mar 2010
Posts: 272
|
Quote:
I have one more question for you pros - do you prefer to denoise before or after resize? I know it's slower to denoise first but I'm thinking it might yield better results. |
|
![]() |
![]() |
![]() |
#10 | Link | |
Registered User
Join Date: Jan 2010
Posts: 709
|
~#these are my personal considerations
mdegrain or mvdegrain shoud be used with the correct aspect ratio (aka par 1:1) and should be used as one of the last filters (if after of resize) or used after an upsample of only one side to achieve the correct ar (if before of resize). Quote:
DCT, RemoveGrain, undot at the end to improve their increase of compressibility (depending of the rest of script). Last edited by Motenai Yoda; 18th June 2010 at 08:16. |
|
![]() |
![]() |
![]() |
#11 | Link |
ангел смерти
![]() Join Date: Nov 2004
Location: Lost
Posts: 9,555
|
I always do strong denoising after resizing, in HD:
1. Less work is always faster, of course. 2. Noise will automatically be averaged into the signal, provided you don't use lanczos or point, and provided it's not clustered noise. 3. Motion compensation works better on high-motion and no worse on low motion, and can use faster settings. MVTools is very good at capturing subpixel motion, so I wouldn't worry too much about losing details; instead, details are more compact and easier to find & match, and the noise reduction of #2 often gives you slightly better matches. However in SD, you can remove so much of the signal, or make details so tiny, that resizing before denoising is more detrimental to quality. It depends on how much fine detail you want to keep. |
![]() |
![]() |
![]() |
Tags |
1080p, 720p, degrain, denoise |
Thread Tools | Search this Thread |
Display Modes | |
|
|