This script still good ?

This forum is for questions and discussion of all the aspects of handling your footage. If you have questions about capturing/ripping footage, AviSynth, or compression/encoding/converting, look here.

This script still good ?

Postby Heavy amv » Sun Jan 02, 2011 3:12 pm

A long time ago i used this script full of oldies... and i guess today a better job can be made for it :

Code: Select all
directshowsource("g:\xxxxx.mkv", audio=false)
ConvertToYV12()
undot()
Spline64Resize(848,636)
ConvertToYV12()
DeHalo_alpha(brightstr=2, ss=5.0)
ConvertToYV12()
aWarpSharp(depth=30.0, blurlevel=4)
convertToYV12()
undot()

My source is a DVD NTSC that i want to upscale in 848x636 to reach the 480p. The colors are pretty good, but too much halo and huge borders...
Heavy amv
 
Joined: 25 Nov 2008
Location: FRANCE

Re: This script still good ?

Postby Pwolf » Sun Jan 02, 2011 5:40 pm

it depends on the source. you can't use the same script for everything.
ImageImage
ImageImage
Like the AMV .Org App? Think about donating to help me make it better.
User avatar
Pwolf
Friendly Neighborhood Pwaffle
 
Joined: 03 May 2001
Location: Some where in California, I forgot :\

Re: This script still good ?

Postby mirkosp » Sun Jan 02, 2011 6:35 pm

Don't use directshowsource to load MKVs, use FFVideoSource instead (you need to get ffms2).
There's a uselessly redundant amount of converttoyv12 for no good reason (chances are high that your input is yv12 to begin with, actually).
The awarpsharp depth is absolutely insane...
Removegrain(1) is now used instead of undot() I guess, and why putting it twice anyway? Use it only before the resize.
Are you using avisynth 2.6a OR a previous (and stable) version? Because spline64 is slightly bugged (or so I was told) in versions of avisynth prior to 2.6a, so you should be using spline36resize instead if you're on 2.5.8 or earlier (but if you're on a earlier version, you should look into upgrading to 2.5.8).
The amount of dehaloing seems quite strong, you'll rarely need such high amounts of dehaloing. For anime, you'll almost always want to set the darkstr to 0 and leave the brightstr alone or increase it just slightly (2 is quite high and there is a serious risk of killing detail, although with the amount of supersampling you're doing it might not be that noticeable).
I guess this is all I have based just on the script itself, I'll echo Pwolf with the "depends on the source" for the actual usefulness of it.
Image
User avatar
mirkosp
MODkip
 
Joined: 24 Apr 2006
Location: Gallarate (VA), Italy
Status: (」・ワ・)」(⊃・ワ・)⊃

Re: This script still good ?

Postby Mister Hatt » Mon Jan 03, 2011 1:42 am

This source will look a lot better if you don't use avisynth at all and just feed your mkv into whatever editor instead, guaranteed.
Mister Hatt
 
Joined: 25 Dec 2007
Status: better than you

Re: This script still good ?

Postby Pwolf » Mon Jan 03, 2011 1:52 am

Mister Hatt wrote:This source will look a lot better if you don't use avisynth at all and just feed your mkv into whatever editor instead, guaranteed.


He means convert it to a lossless source first then feed it into what ever editor you use.
ImageImage
ImageImage
Like the AMV .Org App? Think about donating to help me make it better.
User avatar
Pwolf
Friendly Neighborhood Pwaffle
 
Joined: 03 May 2001
Location: Some where in California, I forgot :\

Re: This script still good ?

Postby Heavy amv » Mon Jan 03, 2011 8:21 pm

Yeah maybe, maybe not. The footage is quite bad, above all when you know that it can look much better with somme filters. The problem i have for this source is the same for everyone who try to ajust a DVD NTSC source. I know there is some really usefull filters which enable me to improve the quality. I dont expect a bluray or a true 480p anime quality. So let me show you samples with a new script :
Code: Select all
convertToYV12()
Removegrain(1)
Spline64Resize(848,636)
ConvertToYV12()
aWarpSharp(depth=20.0, blurlevel=2)
DeHalo_alpha(brightstr=1.5, ss=4.0)
BlindDeHalo3( rx=2.0, ry=2.0, strength=150,
 \            lodamp=2.0, hidamp=2.0, sharpness=0.0, tweaker=0.0,
 \            PPmode=0, PPlimit=0, interlaced=false)
WarpSharp()

Ever if it'is not meant for it, awarpsharp can reduce the halo edge. Thats why it is before Dehalo and Blind dehalo3. I used one by one, but together they make a good result for me. Maybe im wrong, just tell me what you think. At right the original ajusted to the left one, the filtered footage.

Image Image Image

I dont really care about the details, cause the edit rythm will be quite fast and some effects will be added.
Heavy amv
 
Joined: 25 Nov 2008
Location: FRANCE

Re: This script still good ?

Postby Scintilla » Mon Jan 03, 2011 9:04 pm

Heavy amv wrote: Image

When even *I* think the characters' faces look awful, you've probably used too much warpsharpening. Just sayin'.
ImageImage
:pizza: :pizza: Image :pizza: :pizza:
User avatar
Scintilla
(for EXTREME)
 
Joined: 31 Mar 2003
Location: New Jersey
Status: Quo

Re: This script still good ?

Postby Mister Hatt » Tue Jan 04, 2011 2:02 am

OK, Avatar. AWESOME. You have selected a DVD known for being one of the most horrendously mastered discs EVER. I actually wrote a filterchain that fixes it as best as possible a while ago, I am fairly certain it was for this forum, mirkosp would probably have the link.

As far as your actual filtering goes there, your warpsharpening (both awarpsharp and warpsharp) is making the problems significantly worse, don't use it at all. The YV12 conversion is not required. Your resizing should be done AFTER all the rest of it, and not with spline64, use spline36 instead. I have no idea how good that dehaloing is working for you but it is far too strong. All in all, after looking at those shots, IMO it looks worse after you've finished with it.

I strongly suggest using the actual DVD instead of random MKVs as well, you will get much better results. The show has some odd ghosting effects which you cannot remove if you don't have the DVD, and the person who ripped it to that MKV obviously has no idea what they're doing. I know you said you don't care about detail but you have actually DEFORMED lineart there. It is also blurry and aliased and line thickness varies. Look up that other thread and run the filters there on the DVD, maybe with some review and updating of it.
Mister Hatt
 
Joined: 25 Dec 2007
Status: better than you

Re: This script still good ?

Postby Mister Hatt » Tue Jan 04, 2011 2:10 am

Update: this thread here viewtopic.php?f=45&t=100217

Seems the haloing is caused by whatever idiot made that MKV for the most part. Grab the DVD from somewhere and run the script in that thread. Should be pretty much fine as is. That thread has some generally interesting info on ghosting and temporal faggotry in bad DVD masters, so I recommend reading it in general anyway.

If someone could join these two posts?~
Mister Hatt
 
Joined: 25 Dec 2007
Status: better than you

Re: This script still good ?

Postby Heavy amv » Tue Jan 04, 2011 9:50 am

Thanks a lot for the link. Im "getting" the dvd releases...
Heavy amv
 
Joined: 25 Nov 2008
Location: FRANCE

Re: This script still good ?

Postby Heavy amv » Wed Jan 05, 2011 11:42 am

... hum ok.

Are you sure a can get a better quality than my mkv ? Cause i cant make jthe difference between them and the dvd source. I have the same ghost issue and honestly i wont rip the dvds with all the work it needs to do it well. Even if your script is this good, i prefere not waste my time. Anyway i can give the episode i have in mkv and see by yourself what it can be done or if its that bad... I know that my script is far too strong, its obvious : nobody put both two warpsharp and so many dehaloing.
Heavy amv
 
Joined: 25 Nov 2008
Location: FRANCE

Re: This script still good ?

Postby Pwolf » Wed Jan 05, 2011 1:58 pm

it doesn't take that much time to rip a dvd, don't be lazy... you'll spend more time trying to get the MKV "fixed"
ImageImage
ImageImage
Like the AMV .Org App? Think about donating to help me make it better.
User avatar
Pwolf
Friendly Neighborhood Pwaffle
 
Joined: 03 May 2001
Location: Some where in California, I forgot :\

Re: This script still good ?

Postby Heavy amv » Wed Jan 05, 2011 4:04 pm

1 day to get the 14gb of mkv, 1 week for the 60go of dvd... yeah im lazy. Btw, a new script :
convertToYV12()
Removegrain(1)
aWarpSharp(depth=20.0, blurlevel=2)
DeHalo_alpha(brightstr=1.5, ss=4.0)
BlindDeHalo3( rx=2.0, ry=2.0, strength=150,
\ lodamp=2.0, hidamp=2.0, sharpness=0.0, tweaker=0.0,
\ PPmode=0, PPlimit=0, interlaced=false)
Spline64Resize(848,636)
mSharpen(threshold=30,strength=100)

Ok msharpen is quite old and lest efficient than others, dont pay attention about it. Some pictures, the original footage is at right :

Image Image Image
Heavy amv
 
Joined: 25 Nov 2008
Location: FRANCE

Re: This script still good ?

Postby Pwolf » Wed Jan 05, 2011 4:10 pm

Go out and buy the fucking disks and don't download them.
ImageImage
ImageImage
Like the AMV .Org App? Think about donating to help me make it better.
User avatar
Pwolf
Friendly Neighborhood Pwaffle
 
Joined: 03 May 2001
Location: Some where in California, I forgot :\

Re: This script still good ?

Postby mirkosp » Wed Jan 05, 2011 4:24 pm

You're killing the few bits of detail that were there to begin with (background in the second pic with the fire is pretty easy to tell).
By the way, nice work having the awarpsharp green line bug on the left side of the image (check the first image or third image, they are more obvious that the second one for that).
Honestly, if you like avatar so much to do a video to it, you might just want to buy the DVDs instead. It's not like it's expensive anyway.
Image
User avatar
mirkosp
MODkip
 
Joined: 24 Apr 2006
Location: Gallarate (VA), Italy
Status: (」・ワ・)」(⊃・ワ・)⊃

Next

Return to Footage Help

Who is online

Users browsing this forum: No registered users and 0 guests