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.

 

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

Reply
 
Thread Tools Search this Thread Display Modes
Old 20th June 2012, 17:23   #21  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Hollola, Finland
Posts: 4,994
Do you have a similar idea for encoding stuff? From what I've noticed, most 1080p material can safely be downscaled to 720p but the result is a bit softer than the original when rescaled to 1080p on the TV/BD player/Media player. I wouldn't say that there's any actual detail lost in the process with most movies, it's just reduced sharpness.
__________________
And if the band you're in starts playing different tunes
I'll see you on the dark side of the Moon...
Boulder is offline   Reply With Quote
Old 22nd June 2012, 11:17   #22  |  Link
malmsteen81
Registered User
 
Join Date: May 2012
Posts: 15
Quote:
Originally Posted by Didée View Post
Also, switching the cstr operation from gaussian-kernel (positive sstr) to box-kernel (negative sstr) can make some gentle difference.
do you mean positive or negative "mode" value? right? i tried to reduce cstr to 0.5 but the difference are subtle. the default values are ok for almost cases.
malmsteen81 is offline   Reply With Quote
Old 22nd June 2012, 13:34   #23  |  Link
Didée
Registered User
 
Join Date: Apr 2002
Location: Germany
Posts: 5,394
Oh, yes, sorry. The switch is build into "mode", not into "sstr". My bad memory.

@Boulder:
That's pretty much how I see it. The actual detail loss from 1080p > 720p usually is quite little, and the issue mostly is just edge sharpness when 720p is upscaled during playback. (Given you've made a good 720p rip in the first place, of course.)
__________________
- 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!)
Didée is offline   Reply With Quote
Old 22nd June 2012, 16:10   #24  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Hollola, Finland
Posts: 4,994
Quote:
Originally Posted by Didée View Post
That's pretty much how I see it. The actual detail loss from 1080p > 720p usually is quite little, and the issue mostly is just edge sharpness when 720p is upscaled during playback. (Given you've made a good 720p rip in the first place, of course.)
So simply using LSFMod with edgemode=1 could actually be a good solution for compensating the difference between the two resolutions? I have used that in some cases but I'm unsure whether there are better alternatives.
__________________
And if the band you're in starts playing different tunes
I'll see you on the dark side of the Moon...
Boulder is offline   Reply With Quote
Old 22nd June 2012, 17:46   #25  |  Link
Didée
Registered User
 
Join Date: Apr 2002
Location: Germany
Posts: 5,394
It's quite feasable, but most likely not optimal. (But frankly: I've almost never really used the given LSFmod function. Somehow I always end up with manual code to sharpen).

After being guilty for the original LimitedSharpen, nowadays I don't like the limiting operation too much anymore. It is somewhat valid for broad edges, but comes with downsides upon thin detail, and risk of uglyness if slight halo'ing is alread pesent. Thinking over it, today I'd rather see working with referencing a gaussian blend (to reduce present edge halos) plus a median cut (both together to "empty" flat areas & weak detail), get an edgemask from that, then use limited sharpening gotten from the gaussian blend on masked edges, and SeeSaw-style impulse sharpening on non-masked areas.

Btw, for downsizing I'm often in favour of "bicubic with negative 'b' ", like e.g. bicubicresize(1280,720,-.5,.25). Neagtive b is hideous for upscaling, but comes very nice for downsizing. New rule: "b + 2c = 1 // for upsizing", and "b + 2c = 0 // for downsizing".
__________________
- 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!)
Didée is offline   Reply With Quote
Old 15th July 2012, 22:17   #26  |  Link
turbojet
Registered User
 
Join Date: May 2008
Posts: 1,840
Thanks for finesharp, it's the best sharpener I've used. It has much more of an effect then lsf(mod) while still looking natural without adding artifacts, although it emphasizes artifacts in the source. Unfortunately it's really buried in this thread, Didée do you think it deserves it's own thread like most great scripts get?

Also thanks for mentioning negative 'b' parameters in bicubicresize, it's the first time I've seen them mentioned outside of the avisynth wiki which says negative values are undesirable but it also suggests bilinear over bicubic for downsizing. I've settled on (-1,0.75) for encoding.
turbojet is offline   Reply With Quote
Old 15th July 2012, 23:50   #27  |  Link
ryrynz
Registered User
 
ryrynz's Avatar
 
Join Date: Mar 2009
Posts: 3,408
Yeah, the topic could probably be updated to "Finesharp : The definitive sharpening script for bluray'" or given a new thread. It's not everyday Didée spits out a new sharpening script.

Quote:
Originally Posted by Didée View Post
Thinking over it, today I'd rather see working with referencing a gaussian blend (to reduce present edge halos) plus a median cut (both together to "empty" flat areas & weak detail), get an edgemask from that, then use limited sharpening gotten from the gaussian blend on masked edges, and SeeSaw-style impulse sharpening on non-masked areas.
Sounds good, I'd like to see it. Could be something that replaces Seesaw & LSF.

Last edited by ryrynz; 16th July 2012 at 03:30.
ryrynz is offline   Reply With Quote
Old 16th July 2012, 17:23   #28  |  Link
Gser
Registered User
 
Join Date: Apr 2008
Posts: 414
Personally I use ResampleHQ(width=x, height=y, srcmatrix="xyz", kernel="Spline64", chroma_kernel="Spline36") to downsize.
Gser is offline   Reply With Quote
Old 16th July 2012, 18:42   #29  |  Link
Budtz
Registered User
 
Join Date: Apr 2011
Posts: 140
Could some1 point me to a guide for making this work?
Budtz is offline   Reply With Quote
Old 17th July 2012, 02:22   #30  |  Link
Adub
Fighting spam with a fish
 
Adub's Avatar
 
Join Date: Sep 2005
Posts: 2,687
Threw FineSharp on the Avisynth wiki, just in case: http://avisynth.org/mediawiki/FineSharp
__________________
FAQs:Bond's AVC/H.264 FAQ
Site:Adubvideo
Adub is offline   Reply With Quote
Old 19th July 2012, 01:44   #31  |  Link
Sp00kyFox
Registered User
 
Sp00kyFox's Avatar
 
Join Date: Aug 2007
Posts: 79
Quote:
Originally Posted by Didée View Post
Thinking over it, today I'd rather see working with referencing a gaussian blend (to reduce present edge halos) plus a median cut (both together to "empty" flat areas & weak detail), get an edgemask from that, then use limited sharpening gotten from the gaussian blend on masked edges, and SeeSaw-style impulse sharpening on non-masked areas.
sounds interesting. is there a implementation already available for this idead or could you post an example script?
Sp00kyFox is offline   Reply With Quote
Old 6th October 2012, 15:38   #32  |  Link
gioppatta
Registered User
 
Join Date: May 2012
Posts: 36
Is it usable with a denoiser? what's a good combo?
gioppatta is offline   Reply With Quote
Old 12th October 2012, 12:16   #33  |  Link
THX-UltraII
Registered User
 
Join Date: Aug 2008
Location: the Netherlands
Posts: 851
Is there newbie step-by-step guide somewhere that helps me config. this script?

What I already have installed on my HTPC:
- Avisynth 2.5.8
- ffdShow rev.4453 x86 (set as RAW output, needed for SVP frame)
- Microsoft Visual C++ 2008 SP1 MFC Security Update
- MPC-HC 1.6.2.4472
- LAV Filters 0.50.1
- madVR 0.84.2
THX-UltraII is offline   Reply With Quote
Old 23rd October 2012, 00:19   #34  |  Link
djmasturbeat
Registered User
 
Join Date: Oct 2008
Posts: 89
I keep trying to use this but get the error:
there is no function named "mt_lutxy".

It seems to be that is something from masktools, which I have.
In fact I have tried numerous versions of masktools2, from
incl:
masktools-v2.0a
masktools-v2.0a35
masktools-v2.0a44
masktools-v2.0a48
can someone tell me which version to use specifically (if it matters)
and if that isn't the issue, please, will someone help me out. This looks like a promising tool, but this seems to be some strange error people get randomly with different scripts, and all people usually say is to "have masktools" (which not so helpful with so many builds, and less helpful if people do have mt2).
djmasturbeat is offline   Reply With Quote
Old 23rd October 2012, 04:54   #35  |  Link
Bloax
The speed of stupid
 
Bloax's Avatar
 
Join Date: Sep 2011
Posts: 319
Well that's strange, because it definitely works with a48.

Might be another case of Avisynth bugging out hard with plugin loading, because I have witnessed that before. (The solution being long forgotten also.)
Bloax is offline   Reply With Quote
Old 23rd October 2012, 05:40   #36  |  Link
djmasturbeat
Registered User
 
Join Date: Oct 2008
Posts: 89
I guess I can try a fresh install of Avisynth
may be I screwed smth up in there, but otherwise I don't get a lot of errors in AVSPm,
I am not too experienced of an encoder nor with filters and avs, so generally I use very few filters to minimize self-inflicted wounds, tho I do on occasion try some out (mostly in testing and tinkering, as I am not experienced enough to know what all the settings are in some of these big mega avsi files).

I guess I will see what happens from fresh avs install, and me backing up scripts and plugins elsewhere.
djmasturbeat is offline   Reply With Quote
Old 23rd October 2012, 06:55   #37  |  Link
@mFY
Registered User
 
Join Date: Oct 2012
Posts: 1
how do I use it?it has dll?
@mFY is offline   Reply With Quote
Old 23rd October 2012, 07:09   #38  |  Link
Didée
Registered User
 
Join Date: Apr 2002
Location: Germany
Posts: 5,394
@ djmasturbeat: You're sure to use the correct masktools-dll for your Avisynth version?

Avisynth v2.5.8 --> mt_masktools-25.dll
Avisynth v2.6 ----> mt_masktools-26.dll

The issue of "there is no function named XYZ" is known to appear when the -26.dll is loaded under Avisynth 2.5.8.
__________________
- 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!)
Didée is offline   Reply With Quote
Old 23rd October 2012, 13:24   #39  |  Link
jmac698
Registered User
 
Join Date: Jan 2006
Posts: 1,865
Didee, in the german board you posted some years ago shots of VHS, one was a young woman in a uniform, another had train tracks.. but it looked amazingly sharper. What sharpening script was that? I thought it was a miracle
jmac698 is offline   Reply With Quote
Old 23rd October 2012, 15:15   #40  |  Link
Didée
Registered User
 
Join Date: Apr 2002
Location: Germany
Posts: 5,394
If it was years ago, then maybe it was the iiP dinosaur. But I really can't remember what pictures you're talking about.
__________________
- 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!)
Didée 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 19:20.


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