Quantcast Avisynth: Smootherhiq vs. Convolution3D - digitalFAQ.com Forums [Archives]
  #1  
03-27-2003, 01:19 PM
Jellygoose Jellygoose is offline
Free Member
 
Join Date: Jun 2002
Location: Germany
Posts: 1,288
Thanks: 0
Thanked 0 Times in 0 Posts
Hi all...

I made some tests last night, comparing Convolution3d(preset MovieHQ) and the SmootherHiQ Plugin by Klaus Post.
I like to use FaeryDust as my Temporal Cleaner, because for me it still works best. But using FaeryDust and Convolution3d makes the picture just too blurry for my taste. Now I've come to a good solution for this. SmootherHiQ.

The filesize for my sample with SmootherHiQ was 200kb lower than the one made with C3d... and in my eyes the picture was a lot less blurry. here's my script and the settings I used for SmoothHiQ...

Code:
LoadPlugin("E:\MPEG-Tools\FitCD\MPEG2DEC.dll")
LoadPlugin("E:\MPEG-Tools\FitCD\dustv5.dll")
LoadPlugin("E:\MPEG-Tools\FitCD\legalclip.dll")
LoadPlugin("E:\MPEG-Tools\FitCD\sampler.dll")
LoadPlugin("E:\MPEG-Tools\FitCD\convolution3d.dll")
LoadPlugin("E:\MPEG-Tools\FitCD\gripfit_preview.dll")
LoadPlugin("E:\MPEG-Tools\FitCD\fluxsmooth.dll")
LoadPlugin("E:\MPEG-Tools\FitCD\dctfilter_YUY2.dll")
LoadPlugin("E:\MPEG-Tools\FitCD\smoothhiq.dll")


Mpeg2Source("F:\Genug\genug.d2v")

LegalClip()

GripCrop (544, 576, Overscan=0)

Gripsize()

FaeryDust()
smoothHIQ(3,15,25,192,10)

mergechroma(blur(1.58))
mergeluma(blur(0.05))

GripBorders()
Letterbox(0,0,20,20)

DctFilter(1,1,1,1,1,.5,.5,0) 

LegalClip()

Sampler(length=24)

ConvertToRGB24
try it out and tell me what you think... of course this is only if you don't mind the slowness of FaeryDust.
btw: SmoothHiQ is not noticable faster than C3d...

You can download the filter here:

http://cultact-server.novi.dk/kpo/av...th_hiq_as.html
__________________
j3llyG0053
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
03-27-2003, 03:45 PM
PyRoMaNiA PyRoMaNiA is offline
Free Member
 
Join Date: Jan 2003
Location: a PAL land (UK)
Posts: 408
Thanks: 0
Thanked 0 Times in 0 Posts
Trying it now! I'll let you know my results!
Reply With Quote
  #3  
03-29-2003, 05:26 AM
Jellygoose Jellygoose is offline
Free Member
 
Join Date: Jun 2002
Location: Germany
Posts: 1,288
Thanks: 0
Thanked 0 Times in 0 Posts
did you try it pyro?
__________________
j3llyG0053
Reply With Quote
  #4  
03-29-2003, 05:40 AM
PyRoMaNiA PyRoMaNiA is offline
Free Member
 
Join Date: Jan 2003
Location: a PAL land (UK)
Posts: 408
Thanks: 0
Thanked 0 Times in 0 Posts
Yes I did. Sorry I'm a bit late though, I got distracted as ToK kept screwing up. I havent actually done a straight comparison yet, but on my results so far, I have to say I agree with you.

I think there might be a bit of an issue when using it with TemporalCleaner() as the output looks much more noisy than it should have been, and I removed TemporalCleaner() and the filesize dropped by about a megabyte in size. After removing that the output looked very clean and sharp. I modified your settings a bit though, and used
Code:
SmoothHiQ(5,15,25,200,10)
because I normally use LQ instead of HQ with Convolution3D, so I thought I'd be able to get away with a bit of extra smoothing with SmoothHiQ.

I'm off to encode the same clip with Convolution3D now, I'll be back in about an hour (I hope ) to let you know my results.
Reply With Quote
  #5  
03-29-2003, 07:51 AM
Jellygoose Jellygoose is offline
Free Member
 
Join Date: Jun 2002
Location: Germany
Posts: 1,288
Thanks: 0
Thanked 0 Times in 0 Posts
Well using FaeryDust already gives you plenty of temporal cleaning I think, so there's probably no need for TemporalCleaner() in your script.
Since SmoothHiQ is a Spatial Smoother only, I combined it with FaeryDust, to have one good Temporal smoothing filter and one good spatial. Convolution3d is a spatio-temporal cleaner, as I recall.
__________________
j3llyG0053
Reply With Quote
  #6  
03-29-2003, 08:46 AM
Kane Kane is offline
Free Member
 
Join Date: Jan 2003
Posts: 398
Thanks: 0
Thanked 0 Times in 0 Posts
i tested your settings too, jellygoose.
the video indeed is a bit less blurry, not much, but i could see it.
i now will test pyros suggestion, too
__________________
greetz Kane
Reply With Quote
  #7  
03-29-2003, 10:31 AM
PyRoMaNiA PyRoMaNiA is offline
Free Member
 
Join Date: Jan 2003
Location: a PAL land (UK)
Posts: 408
Thanks: 0
Thanked 0 Times in 0 Posts
It seems to me that SmoothHiQ, although it is indeed a sharper picture, causes quite a lot more mosquito noise than Convolution3D, enough to make me favour Convolution3D. But I havent tried it with DCTFilter yet, so I'll do that now.

Jellygoose, any particular reason for having mergechroma and mergeluma after FaeryDust and SmoothHiQ? I normally put them before...will this make a difference?
Reply With Quote
  #8  
03-29-2003, 10:44 AM
Jellygoose Jellygoose is offline
Free Member
 
Join Date: Jun 2002
Location: Germany
Posts: 1,288
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by PyRoMaNiA
Jellygoose, any particular reason for having mergechroma and mergeluma after FaeryDust and SmoothHiQ? I normally put them before...will this make a difference?
Well my reason for doing this was that I wanted to smooth the original picture before blurring it. the difference would be, that the picture would be blurred, and after that the blurred picture would be smoothed. try it out, and let me know what you think looks better... i'm encoding right now, so I can't test it...
As for the mosquito noise: I cannot affirm that, but you know it's all a question of taste. however I looked at the 2 sample clips in BitrateViewer, and the Q-Level of the SmoothHiQ Clip was .01 points below the one made with C3D... that's not a lot, but still is another point for SmoothHiQ in my eyes!
__________________
j3llyG0053
Reply With Quote
  #9  
03-29-2003, 05:10 PM
PyRoMaNiA PyRoMaNiA is offline
Free Member
 
Join Date: Jan 2003
Location: a PAL land (UK)
Posts: 408
Thanks: 0
Thanked 0 Times in 0 Posts
Turns out most of the noise was in the source. Man, it seems like noisy DVDs are getting more and more common... Well I also did some very close up noise comparisons with AvsCompare and, to me at least, there is really NO visible difference between Convolution3D(preset="movieLQ") and SmoothHiQ(5,15,25,200,10) BUT the sample with SmoothHiQ is smaller!! So with slightly moderated SmoothHiQ settings (for example the settings you used, 3,15,25,192,10) we can get a sharper picture for a much smaller filesize! I wonder what kwag has to say on this... (Hint, hint! )

EDiT: I put the mergechroma and mergeluma back at the beginning of the script, as I thought it looked very slightly better...I didn't really see much difference though.
Reply With Quote
  #10  
03-29-2003, 05:18 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by PyRoMaNiA
I wonder what kwag has to say on this... (Hint, hint! )
Haven't had a chance to compare yet! I'll see if I can try it later today

-kwag
Reply With Quote
  #11  
03-29-2003, 05:51 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Well, here's my comparison:



As you can see, there's barely any visual difference between the two filters.
My 45 second sample file size with C3D was 7,465KB, and the one with SmoothHQ was 7,351KB. A difference of 115KB, which is VERY significant for the time of the sample. But the big difference was the time to encode. For the SHQ, it was 6:36, and for the C3D, it was 5:13. That's over one minute
So if you want to cram the most quality/space, and you don't mind waiting an extra ~20% encoding time, go for SHQ

-kwag
Reply With Quote
  #12  
03-30-2003, 03:31 AM
PyRoMaNiA PyRoMaNiA is offline
Free Member
 
Join Date: Jan 2003
Location: a PAL land (UK)
Posts: 408
Thanks: 0
Thanked 0 Times in 0 Posts
I think I'll go for SmoothHiQ then.

I also found you can increase the values to (5,25,35,200,10) with no noticable difference!
Reply With Quote
  #13  
03-30-2003, 09:09 AM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by PyRoMaNiA
I think I'll go for SmoothHiQ then.

I also found you can increase the values to (5,25,35,200,10) with no noticable difference!
"I think I'll go for SmoothHiQ then"
i'm going too pyro!

Kwag,
in all my tests for months,i got
more compression(less size) take more time and
less compression(more size) take less time...ever!

Jelly, thanks for this news!

Reply With Quote
  #14  
03-30-2003, 09:51 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
@PyRoMaNiA,
You might as well just go with something this:
Code:
LegalClip()
mergechroma(blur(1.58))
mergeluma(blur(0.05))
GripCrop(528, 480, overscan=2, source_anamorphic=false)
GripSize(resizer="BicubicResize")
SpaceDust()
TemporalSmoother(radius=2, strength=3)
TemporalCleaner(ythresh=5, cthresh=10)
Convolution3D(preset="movieHQ")
GripBorders()
LegalClip()
The file size is slightly (~80KB) larger than with SHQ, but the quality is far better. I noticed that SHQ looses A LOT of detail, viewed on a HDTV. Here's what I mean. Look carefully at the grill of the TV:

Look at the details lost with SHQ ( also lost with C3D with movieLQ preset ). SHQ kills too much details

Edit: Forgot to mention that encoding speed for the sample with the script above was 5:00 . Far better that C3D(LQ) or SHQ

-kwag
Reply With Quote
  #15  
03-30-2003, 10:07 AM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts

hey Kwag,
really fantastic diference!

thanks for the script too!

Reply With Quote
  #16  
03-30-2003, 10:14 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks jorel,

Also, correction to the above, you may use Convolution3D(preset="movieLQ") and the time difference (for me) was only 2 seconds longer that using HQ. The file size also dropped, and the difference to SHQ is now only 23KB larger that SHQ

-kwag
Reply With Quote
  #17  
03-30-2003, 10:30 AM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by kwag
Thanks jorel,

Also, correction to the above, you may use Convolution3D(preset="movieLQ") and the time difference (for me) was only 2 seconds longer that using HQ. The file size also dropped, and the difference to SHQ is now only 23KB larger that SHQ

-kwag
thank you again friend!!!!!

ps:
would you create a thread for "thanks"?
i will be the leader!!!

Reply With Quote
  #18  
03-30-2003, 11:27 AM
Jellygoose Jellygoose is offline
Free Member
 
Join Date: Jun 2002
Location: Germany
Posts: 1,288
Thanks: 0
Thanked 0 Times in 0 Posts
@kwag:

that is indeed a big difference! I haven't noticed that yet... however don't you think you should put the temporal cleaners and smoothers before the spatial ones? test again, and see if the filesize or quality changes...

Yeah right kwag! you washed that grill out with MS-Paint on the first picture, just because you wanna show how great YOUR scripts are!! just kidding buddy, 6 beers is just too much at this heat
__________________
j3llyG0053
Reply With Quote
  #19  
03-30-2003, 11:48 AM
muaddib muaddib is offline
Free Member
 
Join Date: Jun 2002
Location: So Paulo - Brasil
Posts: 879
Thanks: 0
Thanked 0 Times in 0 Posts
Try breaking those images and examining them in PicSwith...
You will see a huge difference.
Reply With Quote
  #20  
03-30-2003, 12:05 PM
Jellygoose Jellygoose is offline
Free Member
 
Join Date: Jun 2002
Location: Germany
Posts: 1,288
Thanks: 0
Thanked 0 Times in 0 Posts
I believe you. I'm sure there's more room to improve. there are many great filters out there!
__________________
j3llyG0053
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth: Convolution3d on optimal script? dredj Avisynth Scripting 21 07-10-2003 03:13 AM
Avisynth: XP crashes on FaeryDust and Convolution3D? hachemoncourt Avisynth Scripting 8 01-30-2003 06:03 PM
Avisynth: Where to download vobsub.dll, convolution3d.dll, dustv4.dll nicksteel Avisynth Scripting 3 01-21-2003 01:52 PM
Avisynth: Check out the new Convolution3d LadyMiles Avisynth Scripting 8 11-03-2002 01:35 AM
Avisynth: BEST FILTER - temporal smoother or convolution3D? ? ARAGORN Avisynth Scripting 2 10-10-2002 04:38 PM

Thread Tools



 
All times are GMT -5. The time now is 11:09 PM  —  vBulletin Jelsoft Enterprises Ltd