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. |
16th March 2006, 07:27 | #22 | Link |
Registered User
Join Date: Mar 2002
Location: France
Posts: 85
|
for those that need an alternate url for the 1.0(since sendspace is inneficient):
gradfun2db-v1.0.zip |
19th March 2006, 02:50 | #24 | Link |
Squeeze it!
Join Date: Oct 2003
Location: Germany
Posts: 472
|
I also know this banding fiasko from Photoshop.
Exactly on those smooth gradients where Image contrast/saturation manipulations where done on 8bit/channel RGB images instead on 16bit/channel. So if you want to also use it as preprocessor, after the postprocessing do apply a "minimal" touch of noise spray on such areas. Thats why in Photoshop in the gradient tool the option "dither" exists. Last edited by Inc; 19th March 2006 at 03:56. |
28th March 2006, 02:34 | #26 | Link | |
Registered User
Join Date: Mar 2002
Location: France
Posts: 85
|
Quote:
Go in there and just write grad2funb() after placing the filter in the avisynth plugins directory and it should auto-apply. Technically you could use it normally in avisynth too but the effects get cancelled by any typical compressions. It's made to be used when viewing(and is optimized for speed in that optic) |
|
28th March 2006, 10:52 | #27 | Link | |
Registered User
Join Date: May 2005
Posts: 236
|
Quote:
Foxyshadis said in his thread we could replace the last addgrain of his deband script with this GradFun2db... |
|
28th March 2006, 11:12 | #28 | Link | |
Bored...
Join Date: Apr 2003
Location: Unknown
Posts: 2,812
|
Quote:
Bye |
|
28th March 2006, 11:46 | #29 | Link |
Angel of Night
Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,559
|
It's only for high bitrate matrices, where such fine details would be kept, not for normal compression where it gets eaten for lunch. It makes some noticeable difference at mid-high bitrates but it's not really good until exorborantly high. Or at playback, of course. (At the time I thought it was more of a dither+grain filter, but it's dither-only.) Since I'm not working on that show now, I haven't had the incentive to improve the last step of the filter (which I think is quite suboptimal).
Really, YV16/YV24 is the only way to truly remove visible banding in encodes. (If lavc could decode to YV24 and convert straight to RGB that would be awesome.) |
29th March 2006, 01:41 | #30 | Link |
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 4,926
|
Something is strange it looks like the filter misses regions of the right and left side btw overused you get a really nice (Dream Effect)
__________________
all my compares are riddles so please try to decipher them yourselves :) It is about Time Join the Revolution NOW before it is to Late ! http://forum.doom9.org/showthread.php?t=168004 |
29th March 2006, 08:10 | #31 | Link |
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 5,391
|
True. Try gradfun2db(str=255) to "see" how&where it processes, and where not.
__________________
- 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!) |
29th March 2006, 09:28 | #33 | Link |
interlace this!
Join Date: Jun 2003
Location: i'm in ur transfers, addin noise
Posts: 4,555
|
quick and hacky workaround (hope you like black edges)
Code:
function gradfunk (clip c, float "strength") { strength=default(strength,1.2) c.addborders(16,16,16,16) gradfun2db(strength) crop(16,16,-16,-16) } [edit] strength is a float, not an int. d'oh
__________________
sucking the life out of your videos since 2004 Last edited by Mug Funky; 29th March 2006 at 09:35. |
30th March 2006, 04:39 | #36 | Link | |
Didée Fan
Join Date: Feb 2006
Location: Canada
Posts: 1,079
|
Quote:
|
|
30th March 2006, 05:21 | #37 | Link |
interlace this!
Join Date: Jun 2003
Location: i'm in ur transfers, addin noise
Posts: 4,555
|
it goes in your avs script, then you call "gradfunk" instead of "gradfun2b".
actually, it just occured to me that that workaround will not do anything unless you have a very dark frame. reason - the black on the edges gets blurred exactly 16 pixels, making the first 16 pixels very likely to be over the threshold, and not used. you can confirm this by using it on some grainy footage with a high threshold. i think edge mirror-ing will make it a lot better, but that might just slow it down such that it's not as useful.
__________________
sucking the life out of your videos since 2004 |
11th April 2006, 11:43 | #38 | Link | |
Didée Fan
Join Date: Feb 2006
Location: Canada
Posts: 1,079
|
Quote:
I want to copy and paste it into a notepad file called gradfunk.avs |
|
11th April 2006, 13:23 | #39 | Link |
Registered User
Join Date: Mar 2002
Location: France
Posts: 85
|
http://kosmos.kawaii-shoujo.net/gradfunk.avsi
there you go the function to use with mirroring is: gradfunkmirror Last edited by DeathWolf; 11th April 2006 at 13:34. |
11th April 2006, 14:25 | #40 | Link | |
Didée Fan
Join Date: Feb 2006
Location: Canada
Posts: 1,079
|
Quote:
Import("G:\Program Files\AviSynth 2.5\plugins\gradfunkmirror.avs") And opening Media Player Classic to play X-men 2. As soon as I open Media player Classic and open the dvd, it closes. And I doing it right ? |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|