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. |
25th April 2019, 19:47 | #321 | Link |
Registered User
Join Date: Nov 2009
Posts: 2,361
|
The lens is a fixed circle, so it must keep the lens geometry otherwise we get an oval. When shooting square the corners are not black so the maths can be improved, and specially to deal with bitdepth and scale_inputs parameter.
|
25th April 2019, 20:09 | #322 | Link | |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Thanks, that clarifies it (thought I had better mention it in case a typo).
Quote:
EDIT: I think real.finder is the only scriptor that understands all that bitdepth and scale_input stuff, and he's way too busy to assist here
__________________
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; 25th April 2019 at 21:11. |
|
9th July 2019, 23:48 | #324 | Link |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
I think I get bug
MessageClip(mt_infix("x range_half - range_half * 112 scaleb / range_half +")) will give and aside from that, the float (32bit) chroma scale in Dither_Luma_Rebuild seems broke since the zero-chroma-center transition, I think most if not all scripts that has chroma lut/expr was also affected and they need review
__________________
See My Avisynth Stuff Last edited by real.finder; 10th July 2019 at 00:20. |
10th July 2019, 09:47 | #325 | Link | |
Registered User
Join Date: Jan 2014
Posts: 2,314
|
Quote:
EDIT: I wonder whether mt_infix handles all the newer stuffs properly. EDIT: Fixed on git, no release yet. Last edited by pinterf; 10th July 2019 at 11:18. |
|
11th July 2019, 16:03 | #326 | Link |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
thanks, I send you pm
__________________
See My Avisynth Stuff |
21st July 2019, 05:36 | #327 | Link |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
another case for mt_infix
x range_half - dup * dup y range_half - dup * + / range_max * seems mt_infix not handle dup, maybe mt_polish too
__________________
See My Avisynth Stuff |
21st July 2019, 08:06 | #328 | Link |
Registered User
Join Date: Jan 2014
Posts: 2,314
|
Yes, dup is a newer addition, technically it's like reusing an existing short or compex expression using a temporary variable (not 100% but somethong like this)
I think this syntax conversion is beyond my_infix functionality. var1 = (x - range_half) var2 = var1 * var1 var3 = y - range_half (var3 * var3 + var2) / var1 * range_max The same applyes for the opposite conversion case, repeating expression patterns should be recognized somehow and replaced with dup? |
29th January 2020, 05:36 | #329 | Link |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
is there bitdepth scale in mt_lutf, mt_luts, mt_lutsx and mt_lutspa? they should has at least scale_inputs
__________________
See My Avisynth Stuff |
3rd March 2020, 14:53 | #330 | Link |
Registered User
Join Date: Jan 2014
Posts: 2,314
|
New release: v2.2.20
https://github.com/pinterf/masktools...ses/tag/2.2.20 Minor fixes, lut expression syntax additions just like in Avisynth+ 3.5 Now with both Microsoft and ClangCL (LLVM 9.0) versions inside. Code:
Changelog **v2.2.20 (20200303) - new "yscalef" and "yscaleb" keywords similar to "scalef" and "scaleb" but scaling is forced to use rules for Y (non-UV) planes - mt_lutspa: add parameters "scale_inputs", "clamp_float" and "clamp_float_UV" - new predefined constants in expressions: yrange_min, yrange_half, yrange_max Unlike range_min, range_half, range_max the y-prefixed versions do not depend on whether the currently processed plane is luma(Y) or chroma(U/V). They are always returning the values of Y plane. - new parameter to lut functions: Boolean "clamp_float_UV": default false, as an addition to clamp_float (since v2.2.20). - New: Parameter "scale_inputs" can now be set to "floatUV" (chroma pre-shift by 0.5 for 32 bit float pixels) - Fix: mt_motion mask contained out-of range pixels for 10-14 bit inputs - Fix: mt_edge convolution mode incorrect result on 10-32 bits when normalizer weight is not power of 2 e.g. mode = "1 2 1 0 0 0 -1 -2 -1 15.0" (normalizer: 10th parameter or maximum of (sum_positive/sum_negative)) Note: when processing chroma (u=3,v=3) on 32 bit float clip will result 0..1.0 ranged masks in chroma planes as well. - Source: - add LLVM-clangCl to VC project configuration (built-in clang support in VS2019) - fix LLVM build for VS2019 - silence many warnings - project configurations: use current SDK version 10.0.18362.0 **v2.2.19 (20190710 - not released) - Fix: mt_infix to recognize scaleb and scalef - Fix: mt_infix to recognize ymin, ymax, abs, atan, etc... tokens beginning with 'a' and 'y' were not converted - Move project to VS2019 v142 toolset, xp builds still at v141_xp - update current Avisynth+ headers - update source to use boost 1.70 lib v142 for non-xp builds |
3rd March 2020, 15:33 | #331 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
OOOooooooh, its just like Christmas, thanx
__________________
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 ??? |
3rd March 2020, 17:19 | #332 | Link |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
but why "with_dual_filter_signatures" has no Clang?
__________________
See My Avisynth Stuff |
4th March 2020, 08:19 | #334 | Link | |
Broadcast Encoder
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,905
|
Thank you for the new release! And yes, I'm one of those people using the dll "with_dual_filter_signatures".
Quote:
|
|
4th March 2020, 09:39 | #335 | Link | |
Registered User
Join Date: Jan 2014
Posts: 2,314
|
Quote:
I wonder why are you using dual signature versions? |
|
4th March 2020, 14:42 | #337 | Link | |||
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
Quote:
if you has 2.5 masktools it will be used instead of new one in these cases cuz new masktools use float in many parameters since HBD so with "with_dual_filter_signatures" it has both float and int so it's fix the problem so maybe instead of remove with_dual_filter_signatures it's better to make it the main one from pinterf in PM when I discussed the problem with him Quote:
Quote:
edit2: at least with mvtools2 after update limit to float SMDegrain limit parameter seems work fine even if there no dual interface, I think it because it use it as limit=limit
__________________
See My Avisynth Stuff Last edited by real.finder; 4th July 2020 at 05:34. |
|||
5th March 2020, 22:03 | #338 | Link |
Broadcast Encoder
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,905
|
Although on my machine I have the very latest build of Avisynth+ on both XP and Win10, I sneaked a series of portable installation at work long before they accepted to let me (and my colleagues) use Avisynth officially. It was on C:\Encoding\ and it was using a series of commands to call Avisynth and encode some 8bit MPEG-2 files. It was years ago, way before StainlessS convinced me to switch to Avisynth+, so I don't remember whether I deployed Avisynth 2.5.8 or 2.6.0 to each and every machine along with my collection of plugins; all my workflows were either 8bit or 16bit stacked/interleaved back then. Today, all the installation I officially make within the company are running Avisynth+ but I kinda lost track of the first "sneaky" ones (but I'm pretty sure they are still used by someone somewhere), so I keep my plugins as compatible as possible so that if people copy the plugin folder from another official machine running AVS+ (and I know they do it every once in a while) they don't get weird errors and they don't break workflows, especially 'cause most of them are automatized. It's funny how complicated it is for some company to simply accept that open source software is better and more reliable than crappy and expensive professional one... One day I'll tell you the story of how I "brought" Avisynth into one of the leading TV company and how hard it was for them to accept it...
Last edited by FranceBB; 5th March 2020 at 22:09. |
13th March 2020, 07:51 | #339 | Link | |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
Quote:
also seems the scaling parameter didn't work well in this case with chroma float Code:
ColorBars(width=640, height=480, pixel_type="yv12") convertbits(32) mt_binarize(threshold=128, U=3, V=3) edit: seems mt_binarize need 0..1.0 ranged for chroma Code:
ColorBars(width=640, height=480, pixel_type="yv12") convertbits(32) mt_lut("x 0.5 +",y=2, U=3, V=3) mt_binarize(threshold=128, U=3, V=3) mt_lut("x 0.5 -", y=2,U=3, V=3) so I think it's not a bug since it's should be used with masked clip
__________________
See My Avisynth Stuff Last edited by real.finder; 13th March 2020 at 08:06. |
|
15th March 2020, 16:02 | #340 | Link |
Registered User
Join Date: Mar 2020
Posts: 49
|
Listen, I dont understand your development
WTF is masktools2? It's useful for 60FPS Can it be processed in real time? Yes, using SVP Can SVP be free? Yeah, I ported to Uplavnyalka this https://forum.doom9.org/showthread.php?t=180656 What is SVP? Its mvtools+render plugin And this plugin can be friendly with mvtools as I know May be you can friend this with svpflow2 and give people simple presets? Its how ported svp (Uplavnyalka) 'gui' looks like PotPlayer developer integrated avisynth from ffdshow to this project, why people cant do this too? Or rewrite analogue of render plugin? |
|
|