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.

Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 26th July 2008, 01:22   #21  |  Link
foxyshadis
Angel of Night
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,567
Curious, if it's titled Ultimate Degrain, why not just call it UltimateDegrain() instead of UDegrain? UDegrain kind of connotates something that works with the chroma channels.
foxyshadis is offline   Reply With Quote
Old 26th July 2008, 08:33   #22  |  Link
LaTo
LaTo INV.
 
LaTo's Avatar
 
Join Date: Jun 2007
Location: France
Posts: 701
Quote:
Originally Posted by foxyshadis View Post
Curious, if it's titled Ultimate Degrain, why not just call it UltimateDegrain() instead of UDegrain? UDegrain kind of connotates something that works with the chroma channels.
Ultimate? Xtrem? Awesome? Of Death?

UXADdegrain

if someone have a better name...

(MCdegrain/MCttempsmooth?)

Last edited by LaTo; 26th July 2008 at 10:21.
LaTo is offline   Reply With Quote
Old 26th July 2008, 17:54   #23  |  Link
sarmano
Registered User
 
Join Date: Oct 2006
Posts: 26
LaTo
Good job!
This script much better then another in public zone, but a few moment:
- too slow on heavy mode
- didn't working with 1080p video with radius more then 2 (with x264)
sarmano is offline   Reply With Quote
Old 27th July 2008, 10:36   #24  |  Link
LaTo
LaTo INV.
 
LaTo's Avatar
 
Join Date: Jun 2007
Location: France
Posts: 701
Quote:
Originally Posted by sarmano
- didn't working with 1080p video with radius more then 2 (with x264)
maybe you don't have enough GPUram (memory) for 1080p, try with gpu=false...

from fft3dgpu readme:
Quote:
Q: What does it mean when I get a popup box Unexpected error encountered with Error Code: D3DERR_OUTOFVIDEOMEMORY.

A: It means that fft3dgpu needs more memory than there are availebol on the graphics card. So either you will have to upgrade or try lowering the resolution, precision, bt,bh,bw,ow,oh or use usefloat16=true or mode 0 or 2
LaTo is offline   Reply With Quote
Old 27th July 2008, 20:46   #25  |  Link
LaTo
LaTo INV.
 
LaTo's Avatar
 
Join Date: Jun 2007
Location: France
Posts: 701
Quote:
Originally Posted by martino View Post
I think that's just how MVDegrain works. Try to apply it on some anime with scenes from space and you'll see most of the stars gone.
can you provide a sample to test this?
LaTo is offline   Reply With Quote
Old 28th July 2008, 00:07   #26  |  Link
martino
masktools2 (ab)user
 
martino's Avatar
 
Join Date: Oct 2006
Location: PAL-I :(
Posts: 235
http://www.mediafire.com/?ve3lxmm9j1f (50MB, telecined)

Enjoy.
martino is offline   Reply With Quote
Old 28th July 2008, 03:23   #27  |  Link
Ranguvar
Registered User
 
Ranguvar's Avatar
 
Join Date: Feb 2007
Location: ::1
Posts: 1,236
Feature request, a simple parameter to control how many motion vectors are used Also parameters for controlling bt, precision, and ncpu in FFT3DFilter/FFT3DFilter, but those are easy to set manually.
Ranguvar is offline   Reply With Quote
Old 29th July 2008, 14:15   #28  |  Link
LaTo
LaTo INV.
 
LaTo's Avatar
 
Join Date: Jun 2007
Location: France
Posts: 701
New version: v7.29a

Quote:
v7.29a:
added star & bright points protection (default: off, see "protect")
changed some default options
added more options for FFT3D
added YV12 checking
For star & bright points protection:

Source
Protect=false (default)
Protect=true

I haven't tested much this option (only on this source), so default settings need to be tweaked a little... I haven't be abble to reproduce the star loss with martino's sample, maybe with very high settings
Moreover I have not watched at MC_Spuds starfield parameter, maybe it's different but it works well (screenshot above)

Last edited by LaTo; 29th July 2008 at 14:17.
LaTo is offline   Reply With Quote
Old 30th July 2008, 21:56   #29  |  Link
g-force
Guest
 
Posts: n/a
LaTo,

I see you added the temporal Min/Max limiting to the sharpening. I don't think you should limit with both "contra" and the temporal min/max, it really should be one or the other. Otherwise, after "contra" limiting, the temporal min/max limit rarely does anything because the contra limits much more than the min/max.

-G
  Reply With Quote
Old 2nd August 2008, 16:03   #30  |  Link
Nikos
Registered User
 
Join Date: Jun 2002
Location: Greece
Posts: 242
LaTo, with MoComp'ed Contra-Sharpening we must use advanced sharpening routines, not just the simple 3x3 kernel Contra-Sharpening.
Read Didie's long explanation here

In my opinion, the Smode 4 from LSF is more suited.
Code:
strength = default(strength, 100)
Str=string(float(strength)/100.0)
mt_lutxy(clp, clp.RemoveGrain(11,-1), "x y == x x x y - abs 16 / 1 2 / ^ 16 * "+Str+"
 \  * x y - 2 ^ x y - 2 ^ "+Str+" 100 * 25 / + / * x y - x y - abs / * + ?")
In any case thanks for your hard work.
__________________
Greece PAL User...

Last edited by Nikos; 2nd August 2008 at 16:07.
Nikos is offline   Reply With Quote
Old 2nd August 2008, 18:00   #31  |  Link
LaTo
LaTo INV.
 
LaTo's Avatar
 
Join Date: Jun 2007
Location: France
Posts: 701
Quote:
Originally Posted by Nikos View Post
LaTo, with MoComp'ed Contra-Sharpening we must use advanced sharpening routines, not just the simple 3x3 kernel Contra-Sharpening.
Read Didie's long explanation here

In my opinion, the Smode 4 from LSF is more suited.
Code:
strength = default(strength, 100)
Str=string(float(strength)/100.0)
mt_lutxy(clp, clp.RemoveGrain(11,-1), "x y == x x x y - abs 16 / 1 2 / ^ 16 * "+Str+"
 \  * x y - 2 ^ x y - 2 ^ "+Str+" 100 * 25 / + / * x y - x y - abs / * + ?")
In any case thanks for your hard work.
Yes, it was already on my todo list... Thanks
LaTo is offline   Reply With Quote
Old 2nd August 2008, 21:22   #32  |  Link
Honeyko
Registered User
 
Honeyko's Avatar
 
Join Date: Oct 2007
Posts: 313
For a real torture test, try it on this clip.

...Can it remove all the grain in the second scene without introducing artifacts in the dark color-gradient area over the guy's left shoulder in the first scene?
Honeyko is offline   Reply With Quote
Old 3rd August 2008, 05:56   #33  |  Link
LaTo
LaTo INV.
 
LaTo's Avatar
 
Join Date: Jun 2007
Location: France
Posts: 701
Quote:
Originally Posted by Honeyko View Post
For a real torture test, try it on this clip.

...Can it remove all the grain in the second scene without introducing artifacts in the dark color-gradient area over the guy's left shoulder in the first scene?
udegrain(radius=3,settings="heavy") remove most of the grain...
LaTo is offline   Reply With Quote
Old 3rd August 2008, 06:45   #34  |  Link
Honeyko
Registered User
 
Honeyko's Avatar
 
Join Date: Oct 2007
Posts: 313
Quote:
Originally Posted by LaTo View Post
udegrain(radius=3,settings="heavy") remove most of the grain...
After finishing, is there any garbage over the guy's left shoulder in the first scene?

(How about radius=7? That is some fat-ass grains.... ;-)
Honeyko is offline   Reply With Quote
Old 3rd August 2008, 09:28   #35  |  Link
LaTo
LaTo INV.
 
LaTo's Avatar
 
Join Date: Jun 2007
Location: France
Posts: 701
Quote:
Originally Posted by Honeyko View Post
After finishing, is there any garbage over the guy's left shoulder in the first scene?

(How about radius=7? That is some fat-ass grains.... ;-)
I don't know, test by yourself...
LaTo is offline   Reply With Quote
Old 3rd August 2008, 10:55   #36  |  Link
LaTo
LaTo INV.
 
LaTo's Avatar
 
Join Date: Jun 2007
Location: France
Posts: 701
New version: v8.08a

v8.08a:
added mocomp contra-sharpening (basic contra-sharpening always usable) -> see readme for usage
LaTo is offline   Reply With Quote
Old 3rd August 2008, 12:42   #37  |  Link
Nikos
Registered User
 
Join Date: Jun 2002
Location: Greece
Posts: 242
In my opinion the s4R = (post==2) ? repair(s4,smB,1,-1,-1).Mergechroma(s4) : NOP() line is not suited because now we have almost the same effect as simple contra-sharpening.
If you want to repair a little try another mode, not the 1.
The soothe(xx) is more appropriate here.
__________________
Greece PAL User...
Nikos is offline   Reply With Quote
Old 3rd August 2008, 14:03   #38  |  Link
LaTo
LaTo INV.
 
LaTo's Avatar
 
Join Date: Jun 2007
Location: France
Posts: 701
Quote:
Originally Posted by Nikos View Post
In my opinion the s4R = (post==2) ? repair(s4,smB,1,-1,-1).Mergechroma(s4) : NOP() line is not suited because now we have almost the same effect as simple contra-sharpening.
fixed.
LaTo is offline   Reply With Quote
Old 3rd August 2008, 19:05   #39  |  Link
Nikos
Registered User
 
Join Date: Jun 2002
Location: Greece
Posts: 242
Lato according to Didie's explanation i think for the "mocomp contra-sharpening" radius=2 it's enough.
__________________
Greece PAL User...
Nikos is offline   Reply With Quote
Old 4th August 2008, 13:52   #40  |  Link
buzzqw
HDConvertToX author
 
Join Date: Nov 2003
Location: Cesena,Italy
Posts: 6,552
Hi LaTo

i would like to add your Udegrain script to automkv, so first of all i will ask permission to include

second question: could you suggest 4 default parameters usage (light grain/medium/heavy/sharp/... whatelse this script is capable...) ?

thanks

BHH
__________________
HDConvertToX: your tool for BD backup
MultiX264: The quick gui for x264
AutoMen: The Mencoder GUI
AutoWebM: supporting WebM/VP8
buzzqw is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 17:11.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.