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 14th April 2017, 11:39   #21  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Quote:
Originally Posted by hello_hello View Post
Ahhhhh.... the penny has dropped. Ta.
HH, As Feisty said,
but, the effect of the entire line is to round UP to the next higher multiple of XMod (if not an exact multiple of XMod already).
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 15th April 2017 at 10:13.
StainlessS is offline   Reply With Quote
Old 15th April 2017, 09:45   #22  |  Link
hello_hello
Registered User
 
Join Date: Mar 2011
Posts: 4,823
StainlessS,
I gave myself dummy of the week award for not realising, especially as I just finished revamping my own cropping and resizing script which also included similar adjustments to achieve a particular mod.
hello_hello is offline   Reply With Quote
Old 15th April 2017, 10:11   #23  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Quote:
Originally Posted by hello_hello View Post
I gave myself dummy of the week award
HeHeHeHeHe

My nearly all time favorite of my posts, is in response to this:- https://forum.doom9.org/showthread.p...20#post1729220

See the following few posts.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 15th April 2017 at 10:13.
StainlessS is offline   Reply With Quote
Old 16th April 2017, 22:36   #24  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
I have modified OP a little, posting here first before sister thread:- https://forum.doom9.org/showthread.php?t=174527
simply because it was the "Headline" post here.

Mods,
Added args
Code:
    Int "src_left", Int "src_top", Int "src_width", Int "src_height",
    \ Bool "Pad_Rec601"
Selectable coords of input clip, [as per Crop()]
and output padding color for YUV Black, either 0 (default or 16 rec601).
Changed padding output to black.

Perhaps some scripters/scriptors/scriptess's could check it out, I'm not 100% certain that I've done it correctly. (thanks).

EDIT: xMod, yMod now default to the source clip natural colorspace alignment requirement rather than 2.
Now requires both RT_Stats and mt_tools v2.0.

EDIT Added check on xMod, yMod
Code:
    Assert(0 < xMod && xMod % DefXmod == 0, RT_String("%sIllegal xMod(%d, DefXMod=%d)",myName,xMod,DefXmod)) 
    Assert(0 < yMod && yMod % DefYmod == 0, RT_String("%sIllegal yMod(%d, DefYMod=%d)",myName,yMod,DefYMod))
EDIT: Added update to sister thread without thread bump.

EDIT: Oops, fixed cockup. Added in BLUE. EDIT: As we are resizing, it will not be Interlaced, will it !

Code:
    DefXmod = RT_ColorSpaceXMod     DefYmod = RT_ColorSpaceYMod(Laced=False)    # Natural ColorSpace alignment for input clip
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 17th April 2017 at 03:07.
StainlessS is offline   Reply With Quote
Old 5th August 2017, 21:13   #25  |  Link
Gser
Registered User
 
Join Date: Apr 2008
Posts: 418
Quote:
Originally Posted by MysteryX View Post
Personally I like the result of SSim very much -- but it does amplify mosquito noise. I'd suggest that in such case, mosquito noise should be removed first anyway.

Does anyone see other downsides to it? (besides performance)

Also, what Sharpness/Soft settings did you use for SSim? Perhaps using the Soft variant would reduce the mosquito amplification. I believe the ideal downsizer should have the same blurring metrics as the source. With your settings, SSim is just slightly too sharp. Also it would be good to compare Bicubic with suggested B and C settings.
MadVR has an anti-bloating feature that work wonderfully with SSim downscaling. I wonder if it is possible it add it to AvisynthShader. PS. Thanks a lot for your work, literally the only implementation I've seen of SSim for avisynth.
Gser is offline   Reply With Quote
Reply

Tags
downsize, padding, resize

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 14:46.


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