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. |
1st February 2023, 05:41 | #2221 | Link |
Registered User
Join Date: Jan 2018
Posts: 2,156
|
AviSynthPlus r3877 clang build
https://gitlab.com/uvz/AviSynthPlus-Builds |
1st February 2023, 07:29 | #2222 | Link |
Registered User
Join Date: Mar 2009
Posts: 3,650
|
Gave that clang build a shot & Test build 3 and both just freeze when I change to one of my avisynth scripts., so no change from build 2.
Maybe a filter isn't up to date or something, I'll report back when I look into it. Last edited by ryrynz; 1st February 2023 at 07:37. |
1st February 2023, 09:26 | #2223 | Link |
Registered User
Join Date: Jan 2018
Posts: 2,156
|
You need report here:
https://github.com/AviSynth/AviSynthPlus/issues |
5th February 2023, 04:53 | #2224 | Link |
Big Bit Savings Now !
Join Date: Feb 2007
Location: close to the wall
Posts: 1,546
|
I had no luck with uvz builds either.
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain) "Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..." |
5th February 2023, 05:59 | #2225 | Link |
Registered User
Join Date: Jan 2018
Posts: 2,156
|
You can report uvz's build issues here:
https://gitlab.com/uvz/AviSynthPlus-Builds/-/issues |
7th February 2023, 10:56 | #2226 | Link |
Registered User
Join Date: Dec 2005
Location: Denmark
Posts: 52
|
Feature request - propDelete() propKeep()
It would be handy to be able to specify multiple arguments to the propDelete() function, to get rid of several properties in one call.
Code:
propDelete(clip, "MyProp1", "MyProp2", "MyProp3") Code:
propKeep(clip, "MyKeep1", "MyKeep2", "MyKeep3") What do you think? EDIT: I see in the change log from 3.7.1 to 3.7.2 that:
Code:
- propCopy: able to specify that the property list is negative. bool "exclude" = false # default: "props" is positive list propCopy(org,true,props=["_Matrix", "_ColorRange"], exclude=false) # merge only two properties propCopy(org,true,props=["_Matrix", "_ColorRange"], exclude=true) # merge all, except listed ones propCopy(org,props=["_Matrix", "_ColorRange"]) # erase all then copy only selected propCopy(org,props=["_Matrix", "_ColorRange"], exclude = true) # erase all, then copy all, except listed ones ... - PropDelete: accept a non-empty array string as list of property names to remove Parameter is not optional, and has no name. It can be either a string (as before) or an array of strings propDelete("_Matrix") # old syntax, still accepted propDelete(["_Matrix", "_ColorRange"]) - PropCopy: new string parameter "props" as list of property names to remove "props": a non-empty array of strings old syntax, still accepted: propCopy(org,true) # merge from all org's properties propCopy(org,false) # erase all then copy all org's properties (exact copy) new syntax propCopy(org,true,props=["_Matrix", "_ColorRange"]) # merge propCopy(org,props=["_Matrix", "_ColorRange"]) # erase all then copy only selected Last edited by Fjord; 8th February 2023 at 01:19. Reason: Changes from 3.7.1 to 3.7.2 |
9th February 2023, 22:33 | #2227 | Link | |
Registered User
Join Date: Mar 2012
Location: Texas
Posts: 1,666
|
Quote:
Last edited by Reel.Deel; 9th February 2023 at 22:37. |
|
10th February 2023, 09:12 | #2229 | Link |
Registered User
Join Date: Dec 2005
Location: Denmark
Posts: 52
|
@Reel.Deel, does Sphinx have a "history" or "recent changes" function, to show what the latest updates are to readthedocs?
I cannot find your above update of the propCopy documentation in readthedocs (https://avisynthplus.readthedocs.io/...est/index.html). Where should I be looking? Or is this an offline change, yet to be merged into the online version? |
10th February 2023, 09:19 | #2230 | Link |
Registered User
Join Date: Mar 2012
Location: Texas
Posts: 1,666
|
It's on my hard drive ... The readthedocs automatically updates anytime there are changes so if you don't see a particular page there, it's yet to be finished. Hopefully I'll finish it in the coming week or so.
|
12th February 2023, 02:59 | #2231 | Link |
Registered User
Join Date: Jan 2018
Posts: 2,156
|
AviSynthPlus r3912 clang build
https://gitlab.com/uvz/AviSynthPlus-Builds |
12th February 2023, 09:59 | #2232 | Link |
Registered User
Join Date: Oct 2002
Location: France
Posts: 2,318
|
This r3912 version broke high bit format, the following script:
Code:
SetMemoryMax(192) AviSource("Dark_Crystal_HDR_16b.avi") ConverttoYUV444() The AvisynthPlus_3.7.3_20230118_test3 is working.
__________________
My github. |
12th February 2023, 12:26 | #2233 | Link | |
Registered User
Join Date: Jan 2018
Posts: 2,156
|
Quote:
https://gitlab.com/uvz/AviSynthPlus-Builds/-/issues |
|
12th February 2023, 18:48 | #2234 | Link | |
Registered User
Join Date: Mar 2012
Location: Texas
Posts: 1,666
|
Quote:
Just 3 hours ago pinterf merged this PR: https://github.com/AviSynth/AviSynthPlus/pull/332 All of that has been a work-in-progress in the last few weeks. There has not been any user related changes added ever since pinterf's test release (aside from "Text"). All has been internal API stuff and documentation. I guess wait for a new release that includes the changes from today. If the problem still continues then open up an issue on Github. Last edited by Reel.Deel; 12th February 2023 at 18:56. |
|
12th February 2023, 23:58 | #2235 | Link |
Registered User
Join Date: Dec 2005
Location: Denmark
Posts: 52
|
Problem with array arguments in demo script
I was having difficulty with array arguments to a user function I was working on. So I tried the demo script showing an example use of array arguments in a user function. No wonder I was having issues - the demo script throws an error on the example for array arguments! (I am running v3.7.3 test3 r3835 in latest AvsPMod).
The demo script comes from the 9 feb 2023 readme_history.txt, lines 1841-1886, at https://github.com/AviSynth/AviSynth...me_history.txt The same demo script is used in the 4th Example section in readthedocs page on Arrays: https://avisynthplus.readthedocs.io/...ef_arrays.html The error message (in AvsPMod) is: Script error: Invalid arguments to function 'FirstNSum' (C:\Users\...\...\test Array examples.avs, line 25) The error is fixed by putting quotes on the argument names in the function definition, and using the parameter names in the function call. In my own code, I experienced weird errors when trying array arguments to a user function for the first time -- they were named arguments, but I omitted the names= in the function call. It took quite a while to debug -- which was just to use all argument names in the function call, which included an array argument. If this is not a bug, then the requirement to always use argument names when calling functions with array arguments needs to be highlighted in the Array documentation. Here is the demo script from readme_history.txt, with comments showing the necessary corrections on two lines - call to FirstNSum() function, and the function definition. Code:
ColorBars() clip=last a = [[1,2],[3,4]] aa = [1] b = a[1,1] + ArrayGet(a, 1,0) + aa[0] empty_array = [] empty_array_2 = empty_array #n3 = empty_array_2.ArrayGet(0) # array index out out range error! black_yuv_16 = [0,32768,32768] grey_yuv_16 = [32768,32768,32768] white_yuv_16 = [65535,32768,32768] aSelectColors = [\ ["black", black_yuv_16],\ ["grey", grey_yuv_16],\ ["white",white_yuv_16],\ ["empty",empty_array]\ ] test_array = [99, 1.0, "this is a string"] # mixed types test_array2 = [199, 2.0, "This is a string"] n = ArraySize(test_array) # 3 n2 = ArraySize(empty_array_2) # 0 sum = FirstNSum(grey_yuv_16,2) # --> sum = FirstNSum(x=grey_yuv_16,n=2) b = b clip = clip.Text(e"Array size = " + String(n) +\ e"\n Empty array size = " + String(n2) +\ e"\n sum = " + String(sum) +\ e"\n b = " + String(b) +\ e"\n white_yuv_16[1]=" + String(aSelectColors["white"][1]) + \ e"\n [0]=" + String(ArrayGet(test_array,0)) + \ e"\n [1]=" + String(ArrayGet(test_array,1)) + \ e"\n [2]=" + ArrayGet(test_array,2), lsp=0, bold=true, font="info_h") return clip function FirstNSum(array x, int n) { # --> function FirstNSum(array "x", int "n") { a = 0 for (i=0, x.ArraySize()-1) { a = a + x[i] } return a } |
|
|