Need Cleaning-Up scripts

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
Locked
User avatar
Vax
Sexy black guy
Joined: Sat Oct 11, 2008 11:14 am
Status: Chayin
Location: New York
Org Profile

Need Cleaning-Up scripts

Post by Vax » Sun Nov 30, 2008 7:34 pm

Normal Footage
Image


Scripted Footage

Image


Script

Code: Select all

AVISource("C:\Documents and Settings\HP_Owner\My Documents\Mellow Project.avi")
ConvertToYV12()
Deen("w2d",7,12,16)  
Fastlinedarken(strength=50,thinning=0) 
tweak(hue=1.0,sat=1.2,cont=1.1,bright=-2) 
VagueDenoiser() 
limitedsharpen()
Yeah cleaned it up a bit, but not too much. If you need more screen-shots, I will post them. Anyone got anything that I can add to clean it up more?

User avatar
AaronAMV
eating that e. coli spinach
Joined: Tue Jan 22, 2008 7:54 pm
Status: (◔ ◡ ◔ )
Location: (◔ ◡ ◔ )
Org Profile

Re: Need Cleaning-Up scripts

Post by AaronAMV » Sun Nov 30, 2008 8:05 pm

Vaguedenoiser and limitedsharpen should be before the color tweaks (this includes fastlinedarken). See if the order makes a difference, which I believe it does
Image

User avatar
Vax
Sexy black guy
Joined: Sat Oct 11, 2008 11:14 am
Status: Chayin
Location: New York
Org Profile

Re: Need Cleaning-Up scripts

Post by Vax » Sun Nov 30, 2008 8:19 pm

Image

Sort of looks worse to me.

User avatar
AaronAMV
eating that e. coli spinach
Joined: Tue Jan 22, 2008 7:54 pm
Status: (◔ ◡ ◔ )
Location: (◔ ◡ ◔ )
Org Profile

Re: Need Cleaning-Up scripts

Post by AaronAMV » Sun Nov 30, 2008 9:26 pm

I just realised, you did work with that footage as LAGARITH, right?

You also exported as LAGARITH right?

If you used XviD and exported as XviD, there isn't much scripting we can do.
Image

User avatar
LivingFlame
Joined: Sat May 28, 2005 4:41 pm
Location: Closer than you think...
Org Profile

Re: Need Cleaning-Up scripts

Post by LivingFlame » Sun Nov 30, 2008 11:37 pm

On a side note, you can go to the Video menu in Vdub and click Snapshot Source Frame to take a still of your footage instead of screencapping the entire program. Try to save it as a .png as well. It's lossless, unlike .jpg which will deteriorate quality even further.

Personally, I don't like what deen is doing to the image. It's creating that ugly blotchiness on the characters face, and even a little on the helmet, not to mention lost detail in the background. I'd try weakening it, or maybe even dropping it and trying another smoother such as FluxSmoothST(). But hey, that's just me.
... yea ...

User avatar
Kariudo
Twilight prince
Joined: Fri Jul 15, 2005 11:08 pm
Status: 1924 bots banned and counting!
Location: Los taquitos unidos
Contact:
Org Profile

Re: Need Cleaning-Up scripts

Post by Kariudo » Sun Nov 30, 2008 11:40 pm

your settings for deen are WAAAAAAAY strong
if I do anything over deen("a3d",3,3,3) it starts smoothing too much detail out of the picture for me (heck, even 3,3,3 is pushing it. I just don't use deen that much anymore)

vaguedenoiser should go before any sharpeners (I'm not sure if fastlinedarken counts as a sharpener...but I'd play it safe and throw that after vaguedenoiser)

cut down on deen, and throw in removegrain(mode=2)
I'd increase the strength parameter of limitedsharpen (strength=50 or =100...or more depending on your taste)

it doesn't really look like you need tweak in there (it's usually used to make older source like Utena look right [ie, white is white...not yellow])
Image
Image

User avatar
Qyot27
Surreptitious fluffy bunny
Joined: Fri Aug 30, 2002 12:08 pm
Status: Creepin' between the bullfrogs
Location: St. Pete, FL
Contact:
Org Profile

Re: Need Cleaning-Up scripts

Post by Qyot27 » Mon Dec 01, 2008 2:47 am

Kariudo wrote:your settings for deen are WAAAAAAAY strong
if I do anything over deen("a3d",3,3,3) it starts smoothing too much detail out of the picture for me (heck, even 3,3,3 is pushing it. I just don't use deen that much anymore)
The w modes are not quite as harsh as the a modes, if I remember correctly. I can use a deen("w3d",3,6,8) on certain footage and it cleans things up rather nicely without oversmoothing - granted, this isn't DVD footage I'm talking about, but w/e. I usually don't go over 2,6,8 on DVD footage.

Still, using 7,12,16 on any of the modes is really out there.
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog

User avatar
Vax
Sexy black guy
Joined: Sat Oct 11, 2008 11:14 am
Status: Chayin
Location: New York
Org Profile

Re: Need Cleaning-Up scripts

Post by Vax » Mon Dec 01, 2008 3:24 pm

AaronAMV wrote:I just realised, you did work with that footage as LAGARITH, right?

You also exported as LAGARITH right?

If you used XviD and exported as XviD, there isn't much scripting we can do.
Footage is lagarith and it is exported as huffy :roll:




@ LivingFlame & Kariudo: Alright i'll try weaking the deen or taking it out.

User avatar
Vax
Sexy black guy
Joined: Sat Oct 11, 2008 11:14 am
Status: Chayin
Location: New York
Org Profile

Re: Need Cleaning-Up scripts

Post by Vax » Mon Dec 01, 2008 3:38 pm

Sorry for double posting.

Image

Current Script

Code: Select all

AVISource("C:\Documents and Settings\HP_Owner\My Documents\Mellow Project.avi")
ConvertToYV12()
Deen("w3d",3,6,8)  
VagueDenoiser() 
Fastlinedarken(strength=50,thinning=0) 
limitedsharpen(strength=100)
tweak(hue=1.0,sat=1.2,cont=1.1,bright=-2) 
Remove grain is not in there because it does not import with it and the message is.

Script Error: There is no function name "removegrain"


Either how, it looks a tad bit cleaner.

User avatar
Kariudo
Twilight prince
Joined: Fri Jul 15, 2005 11:08 pm
Status: 1924 bots banned and counting!
Location: Los taquitos unidos
Contact:
Org Profile

Re: Need Cleaning-Up scripts

Post by Kariudo » Mon Dec 01, 2008 4:01 pm

when you don't have a filter, google it

http://avisynth.org/mediawiki/Removegrain
I'd get the v1.0 pre-release

I don't have the time to explain exactly how to install it, but read the included documentation and you should be fine (IIRC you will only be moving 3 of the files in that package into your plugins folder)

if you don't know what instruction sets your cpu supports, google cpu-z
Image
Image

Locked

Return to “AviSynth Help”