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. |
14th April 2017, 11:39 | #21 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
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. |
15th April 2017, 09:45 | #22 | Link |
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. |
15th April 2017, 10:11 | #23 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
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. |
16th April 2017, 22:36 | #24 | Link |
HeartlessS Usurer
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" 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: 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. |
5th August 2017, 21:13 | #25 | Link | |
Registered User
Join Date: Apr 2008
Posts: 418
|
Quote:
|
|
Tags |
downsize, padding, resize |
Thread Tools | Search this Thread |
Display Modes | |
|
|