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. |
4th November 2016, 10:07 | #2561 | Link | |
Registered User
Join Date: Jan 2014
Posts: 2,314
|
Quote:
Final solution should be something like that Code:
black = [0,128,128] test_array = [ ["ciao", black], ["hello",[1,1,2.718281]], ["null", []] ] test_array = test_array + ["dummy"] item = test_array[0] item2 = test_array["hello"] e = item2[2] Or { and }. Language experts will decide. |
|
4th November 2016, 12:16 | #2562 | Link | |
Avisynth language lover
Join Date: Dec 2007
Location: Spain
Posts: 3,431
|
Quote:
Although technically possible, I recommend not using { and } as these are already well established as code block delimiters, whereas [] is familiar from other languages as indicating array indexing. You could argue for using a different symbol, like { ... }, for array creation (as in C/C++ and Java), but I would prefer [] for both indexing and creation. There is no problem in distinguishing the two contexts in the parser even if the same symbol is used for both. On a wider note... You have so far shown examples of how the array features would be used in the script language. From the plugin writer's point of view, I would also like to see a list of proposed API changes. I imagine there will be changes to the public interface of AVSValue and possibly new ScriptEnvironment functions. |
|
4th November 2016, 12:47 | #2563 | Link | |
Registered User
Join Date: Jan 2014
Posts: 2,314
|
Quote:
I also wonder how can I do that with keeping backward compatibility. Anyway, I will return to the problem later, this will definitely need more time than that day I spent on it so far. |
|
4th November 2016, 14:00 | #2567 | Link |
Registered User
Join Date: Jul 2011
Posts: 50
|
I'm getting a "display error" with r2294 using ProRes 422LT source. Pre-2000 releases work fine. I have seen r2003+ releases support high bit depth colorspace so i'm not sure whats the problem.
Edit: I'm using FFMS2 2.23. |
4th November 2016, 14:13 | #2568 | Link | |
Registered User
Join Date: Jan 2014
Posts: 2,314
|
Quote:
|
|
4th November 2016, 14:36 | #2570 | Link |
Registered User
Join Date: Jan 2014
Posts: 2,314
|
If you have installed 32 bit avisynth+ and have a 64 bit windows, the avisynth.dll must be placed to the SysWOW64 folder.
On 32 bit windows, system32 is O.K. for 32 bit avisynth. But the installer should do this instead of you. I suppose, there is another avisynth.dll somewhere, can it be set in avspmod? |
4th November 2016, 14:42 | #2571 | Link | |
Registered User
Join Date: Oct 2016
Posts: 111
|
Quote:
Thank you very much |
|
4th November 2016, 14:52 | #2572 | Link | |
Registered User
Join Date: Aug 2006
Location: Stockholm/Helsinki
Posts: 805
|
Quote:
Though I agree that []-brackets are better for arrays. |
|
5th November 2016, 01:22 | #2573 | Link |
Registered User
Join Date: Feb 2002
Posts: 303
|
I have an interesting problem. I have a Lagarith source AVI in RGB32 colorspace with the resolution of 350x240. If I open this AVI with AVS+, I get distorted video. From Info(), I noticed the video pitch is wrong. Then I realized 350 is not mod 4. Is this a known problem?
|
5th November 2016, 01:25 | #2574 | Link | |
Registered User
Join Date: Mar 2012
Location: Texas
Posts: 1,666
|
Quote:
|
|
5th November 2016, 01:31 | #2576 | Link |
Registered User
Join Date: Mar 2012
Location: Texas
Posts: 1,666
|
IIRC someone reported a similar problem way back. I believe it was fixed, try updating to the latest version. Report your findings .
Edit: maybe this? https://github.com/AviSynth/AviSynthPlus/issues/36 Last edited by Reel.Deel; 5th November 2016 at 01:37. |
5th November 2016, 01:34 | #2577 | Link | |
Registered User
Join Date: Feb 2002
Posts: 303
|
Quote:
Edit: r2294 works fine =) Last edited by Aktan; 5th November 2016 at 14:38. |
|
5th November 2016, 17:09 | #2578 | Link | |
Registered User
Join Date: Nov 2009
Posts: 327
|
Quote:
|
|
5th November 2016, 19:17 | #2579 | Link | |
Avisynth language lover
Join Date: Dec 2007
Location: Spain
Posts: 3,431
|
Quote:
However, I don't think that would be a good idea and the availability of [] makes it unnecessary. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|