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 2nd February 2021, 00:06   #61  |  Link
Danette
Registered User
 
Join Date: Apr 2013
Posts: 346
Yet another request:

Can the text lines showing up as “No Combing” be removed? They don’t indicate moire/combing, but add to the number of frames.

When I try to do it, it throws off syntax errors. I guess there is some conditional intertwining and some of the symbols, e.g.; “: \” are befuddling me.
Danette is offline   Reply With Quote
Old 2nd February 2021, 01:49   #62  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
I have not really looked at it but suspect you only need call it with All=false.
__________________
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 ???
StainlessS is offline   Reply With Quote
Old 4th February 2021, 05:46   #63  |  Link
Danette
Registered User
 
Join Date: Apr 2013
Posts: 346
In addition to asking if the script adjustment that would eliminate the “No combing” lines can be done, I am reporting some odd behavior with VDub2 and running the “FindCombingRed” function, although I suspect that it is a flaw in VDub2.

When I run a single avs file through VDub2’s “Run video analysis pass”, the results are as expected. However, when I try to load these avs files into VDub2’s “Queue batch operation”, specifying “Run video analysis pass”, the resulting text files all have a doubled “Frame count” line at the end, instead of just the one “Frame count” line that should be there. Additionally, some files result in empty text files with batch mode, but are fully populated when run alone, outside the batch process.

Is this a flaw in VDub2, or is it somehow related to the script? Remember: the avs files run perfectly when fed through VDub2 one at a time. If you think it’s VDub2, I’ll post over there.

Last edited by Danette; 4th February 2021 at 05:49.
Danette is offline   Reply With Quote
Old 4th February 2021, 05:58   #64  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,374
Quote:
Originally Posted by Danette View Post
In addition to asking if the script adjustment that would eliminate the “No combing” lines can be done, I am reporting some odd behavior with VDub2 and running the “FindCombingRed” function, although I suspect that it is a flaw in VDub2.

When I run a single avs file through VDub2’s “Run video analysis pass”, the results are as expected. However, when I try to load these avs files into VDub2’s “Queue batch operation”, specifying “Run video analysis pass”, the resulting text files all have a doubled “Frame count” line at the end, instead of just the one “Frame count” line that should be there. Additionally, some files result in empty text files with batch mode, but are fully populated when run alone, outside the batch process.

Is this a flaw in VDub2, or is it somehow related to the script? Remember: the avs files run perfectly when fed through VDub2 one at a time. If you think it’s VDub2, I’ll post over there.


SS mentioned it opened a few times in vdub2, probably a few more when you queue it



Why not use batch avsr64 for the "analysis" pass. It will be faster than vdub for each run, also you don't have to queue them one by one - that ends up being much faster and less tedious

Code:
for %a in ("*.avs") do avsr64 "%a"
poisondeathray is offline   Reply With Quote
Old 4th February 2021, 22:11   #65  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Groucho is the man:- https://forum.doom9.org/showthread.php?t=173259
[But zeppo was better]

EDIT: Down link at top of page.

EDIT: This was in answer to Danette asking where avsr64 was. The post seems to have disappeared.
__________________
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; 4th February 2021 at 23:15.
StainlessS is offline   Reply With Quote
Old 4th February 2021, 23:38   #66  |  Link
Danette
Registered User
 
Join Date: Apr 2013
Posts: 346
Quote:
Originally Posted by poisondeathray View Post
SS mentioned it opened a few times in vdub2, probably a few more when you queue it



Why not use batch avsr64 for the "analysis" pass. It will be faster than vdub for each run, also you don't have to queue them one by one - that ends up being much faster and less tedious

Code:
for %a in ("*.avs") do avsr64 "%a"
Wow - ZOOM - it is quite a bit faster than VDub! Thanks for pointing me to that.

Incidentally, the bug I mentioned does seem to be specific to VDub2. I ran the batch function in my old VDub, v1.10.4, and it performed flawlessly.
Danette is offline   Reply With Quote
Old 6th February 2021, 23:43   #67  |  Link
hello_hello
Registered User
 
Join Date: Mar 2011
Posts: 4,829
Quote:
Originally Posted by Danette View Post
Yet another request:

Can the text lines showing up as “No Combing” be removed? They don’t indicate moire/combing, but add to the number of frames.

When I try to do it, it throws off syntax errors. I guess there is some conditional intertwining and some of the symbols, e.g.; “: \” are befuddling me.
From the avisynth Wiki:
http://avisynth.nl/index.php/Operators
b = (a==true) ? 1 : 2
means
if (a==true) then b=1 else b=2
Although you can abbreviate it further, assuming "a" is either true or false.
b = a ? 1 : 2

For
b = (a==false) ? 1 : 2
it'd be
b = !a ? 1 : 2

" \ " is simply a line break. It can only occur at the end of a line, or before any text at the beginning of a line.
So you can do this sort of thing to make long lines readable.

Code:
b = a ? 1 : \
2

  b = 
\ a ? 1 : 2
Anyway...

FindRed()

Code:
# ===============================================================================

function FindRed(clip Vid, bool "Append", string "FileName", bool "All", bool "Write")  {

Append = default(Append, false)
FileName = default(FileName, "")
All = default(All, false)
Write = default(Write, true)

N = ScriptFile()
LN = LCase(N)
NLen = StrLen(N)
ELen = FindStr(LN, ".avs") - 1
File_Name = LeftStr(N, NLen-(NLen-ELen))
FName = (FileName == "") ? File_Name : FileName
File = FName + "_Red.txt"
Vid = Vid.GreyScale()
CombTest = BlankClip(Vid, Color=color_red)
Vid = Vid.TFM(Clip2=CombTest).TDecimate()
global Everything = All

Out = FrameEvaluate(Vid, """

  IsRed = (AverageChromaV() > 128)
  IsEnd = (FrameCount() == (current_frame + 1))

  WriteThis = \
  (!IsRed && !Everything ? "" : string(current_frame)) + \
  (!IsRed ? "" : string(AverageChromaV()-128, "  -  %.2f")) + \
  (!IsEnd ? "" : (!IsRed && !Everything ? "" : chr(10)) + string(FrameCount(), "%.0f  -  Frame Count"))

""")

Out = !Write ? Vid : \
!All ? WriteFileIf(Out, File, "IsRed || IsEnd", "WriteThis", Append=Append) : \
WriteFile(Out, File, "WriteThis", Append=Append)

return Out  }

# ===============================================================================
Code:
73  -  30.60
75  -  24.92
76  -  112.00
77  -  26.79
79  -  28.62
80  -  112.00
81  -  34.56
92  -  14.91
93  -  16.27
162  -  42.75
163  -  112.00
164  -  35.61
208  -  Frame Count
If you want nothing aside from frame numbers:

Code:
  WriteThis = \
  (!IsRed && !Everything ? "" : string(current_frame)) + \
  (!IsEnd ? "" : (!IsRed && !Everything ? "" : chr(10)) + string(FrameCount(), "%.0f"))
Although you can't use All=true because it'll write every frame number without indicating if it contains red.

Code:
73
75
76
77
79
80
81
92
93
162
163
164
208

Last edited by hello_hello; 7th February 2021 at 00:29.
hello_hello is offline   Reply With Quote
Old 29th October 2021, 15:46   #68  |  Link
Danette
Registered User
 
Join Date: Apr 2013
Posts: 346
Quote:
Originally Posted by hello_hello View Post
File_Name = LeftStr(N, NLen-(NLen-ELen))
Something odd has happened. I had been using this function, successfully for many months. Then, haven't needed it for about 4 months. Now, I'm trying to use it again and I get the error message "LeftStr: Negative character count not allowed."

I've double-checked the code and it is as written, above. Nor can I recall any changes that might be interfering with it.

Any idea as to what is causing this?
Danette is offline   Reply With Quote
Old 29th October 2021, 18:56   #69  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Try insert this before error line,
Code:
RT_debugF("N=%s\nNLEN=%d\nELen=%d",N,NLen,ELen,name="Danette: ")    # view in DebugView
Does your script end in .AVS, ie not .avsi.
__________________
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 ???
StainlessS is offline   Reply With Quote
Old 29th October 2021, 21:07   #70  |  Link
Danette
Registered User
 
Join Date: Apr 2013
Posts: 346
Well, I struggled with this all morning. Then, after I inserted your debug line, it worked normally again. Go figure. Seems to be working now.

For completeness, the log for the DebugView is below. Note that this is after it started functioning again.

Quote:
00000542 436.54656982 [4020] SSETools 0.1
00000543 436.76296997 [4020] Unrecognized accel key 'n ', accel string ignored.
00000544 436.76312256 [4020] Unrecognized accel key 'o ', accel string ignored.
00000545 436.76333618 [4020] Unrecognized accel key 'n ', accel string ignored.
00000546 436.76351929 [4020] Unrecognized accel key 'w ', accel string ignored.
00000547 436.76367188 [4020] Unrecognized accel key 'w ', accel string ignored.
00000548 436.76388550 [4020] Unrecognized accel key 's ', accel string ignored.
00000549 436.76409912 [4020] Unrecognized accel key 's ', accel string ignored.
00000550 436.76428223 [4020] Unrecognized accel key 'f5 ', accel string ignored.
00000551 436.76470947 [4020] Unrecognized accel key 'o ', accel string ignored.
00000552 436.76486206 [4020] Unrecognized accel key 's ', accel string ignored.
00000553 436.76504517 [4020] Unrecognized accel key 'b ', accel string ignored.
00000554 436.76519775 [4020] Unrecognized accel key 'tab ', accel string ignored.
00000555 436.76541138 [4020] Unrecognized accel key 'tab ', accel string ignored.
00000556 436.76559448 [4020] Unrecognized accel key 'p ', accel string ignored.
00000557 436.76583862 [4020] Unrecognized accel key 'x ', accel string ignored.
00000558 436.76605225 [4020] Unrecognized accel key 'z ', accel string ignored.
00000559 436.76623535 [4020] Unrecognized accel key 'y ', accel string ignored.
00000560 436.76644897 [4020] Unrecognized accel key 'x ', accel string ignored.
00000561 436.76660156 [4020] Unrecognized accel key 'c ', accel string ignored.
00000562 436.76678467 [4020] Unrecognized accel key 'v ', accel string ignored.
00000563 436.76693726 [4020] Unrecognized accel key 'f ', accel string ignored.
00000564 436.76712036 [4020] Unrecognized accel key 'f3 ', accel string ignored.
00000565 436.76733398 [4020] Unrecognized accel key 'f3 ', accel string ignored.
00000566 436.76748657 [4020] Unrecognized accel key 'h ', accel string ignored.
00000567 436.76782227 [4020] Unrecognized accel key 'f4 ', accel string ignored.
00000568 436.76803589 [4020] Unrecognized accel key 'a ', accel string ignored.
00000569 436.76824951 [4020] Unrecognized accel key 'f7 ', accel string ignored.
00000570 436.76846313 [4020] Unrecognized accel key 'f9 ', accel string ignored.
00000571 436.76864624 [4020] Unrecognized accel key 'f9 ', accel string ignored.
00000572 436.76879883 [4020] Unrecognized accel key 'f10 ', accel string ignored.
00000573 436.76901245 [4020] Unrecognized accel key 'f12 ', accel string ignored.
00000574 436.76919556 [4020] Unrecognized accel key 'f12 ', accel string ignored.
00000575 436.76934814 [4020] Unrecognized accel key 'f11 ', accel string ignored.
00000576 436.76956177 [4020] Unrecognized accel key 't ', accel string ignored.
00000577 436.76974487 [4020] Unrecognized accel key 't ', accel string ignored.
00000578 436.76995850 [4020] Unrecognized accel key 'p ', accel string ignored.
00000579 436.77011108 [4020] Unrecognized accel key 'f7 ', accel string ignored.
00000580 436.77026367 [4020] Unrecognized accel key 'f9 ', accel string ignored.
00000581 436.77038574 [4020] Unrecognized accel key 'f9 ', accel string ignored.
00000582 436.77050781 [4020] Unrecognized accel key 'f10 ', accel string ignored.
00000583 436.77062988 [4020] Unrecognized accel key 'f12 ', accel string ignored.
00000584 436.77081299 [4020] Unrecognized accel key 'f12 ', accel string ignored.
00000585 436.77093506 [4020] Unrecognized accel key 'f11 ', accel string ignored.
00000586 436.77105713 [4020] Unrecognized accel key 't ', accel string ignored.
00000587 436.77117920 [4020] Unrecognized accel key 't ', accel string ignored.
00000588 436.77136230 [4020] Unrecognized accel key 'p ', accel string ignored.
00000589 436.77151489 [4020] Unrecognized accel key 'tab ', accel string ignored.
00000590 436.77169800 [4020] Unrecognized accel key 'tab ', accel string ignored.
00000591 436.77194214 [4020] Unrecognized accel key 'q ', accel string ignored.
00000592 436.77212524 [4020] Unrecognized accel key 'q ', accel string ignored.
00000593 436.77239990 [4020] Unrecognized accel key 'space ', accel string ignored.
00000594 436.77258301 [4020] Unrecognized accel key 'space ', accel string ignored.
00000595 436.77273560 [4020] Unrecognized accel key 'space ', accel string ignored.
00000596 436.77294922 [4020] Unrecognized accel key 'space ', accel string ignored.
00000597 436.77313232 [4020] Unrecognized accel key 'd ', accel string ignored.
00000598 436.77331543 [4020] Unrecognized accel key 'f1 ', accel string ignored.
00000599 436.77349854 [4020] Unrecognized accel key 'f5 ', accel string ignored.
00000600 436.77368164 [4020] Unrecognized accel key 'space ', accel string ignored.
00000601 436.77380371 [4020] Unrecognized accel key 'space ', accel string ignored.
00000602 436.77392578 [4020] Unrecognized accel key 'space ', accel string ignored.
00000603 436.77407837 [4020] Unrecognized accel key 'space ', accel string ignored.
00000604 436.77420044 [4020] Unrecognized accel key 'd ', accel string ignored.
00000605 436.77432251 [4020] Unrecognized accel key 'f1 ', accel string ignored.
00000606 436.77444458 [4020] Unrecognized accel key 'f5 ', accel string ignored.
00000607 436.77465820 [4020] Unrecognized accel key 'up ', accel string ignored.
00000608 436.77487183 [4020] Unrecognized accel key 'down ', accel string ignored.
00000609 436.77502441 [4020] Unrecognized accel key 'c ', accel string ignored.
00000610 436.77523804 [4020] Unrecognized accel key 'up ', accel string ignored.
00000611 436.77539063 [4020] Unrecognized accel key 'down ', accel string ignored.
00000612 436.77551270 [4020] Unrecognized accel key 'c ', accel string ignored.
00000613 436.77706909 [4020] Unrecognized accel key 'b ', accel string ignored.
00000614 436.77749634 [4020] Unrecognized accel key 'b ', accel string ignored.
00000615 436.77804565 [4020] Unrecognized accel key 'f2 ', accel string ignored.
00000616 436.77822876 [4020] Unrecognized accel key 'f2 ', accel string ignored.
00000617 436.77844238 [4020] Unrecognized accel key 'right ', accel string ignored.
00000618 436.77859497 [4020] Unrecognized accel key 'left ', accel string ignored.
00000619 436.77880859 [4020] Unrecognized accel key 'down ', accel string ignored.
00000620 436.77899170 [4020] Unrecognized accel key 'up ', accel string ignored.
00000621 436.77914429 [4020] Unrecognized accel key 'pgdn ', accel string ignored.
00000622 436.77932739 [4020] Unrecognized accel key 'pgup ', accel string ignored.
00000623 436.77966309 [4020] Unrecognized accel key 'f8 ', accel string ignored.
00000624 436.77987671 [4020] Unrecognized accel key 'g ', accel string ignored.
00000625 436.78002930 [4020] Unrecognized accel key 'f2 ', accel string ignored.
00000626 436.78018188 [4020] Unrecognized accel key 'f2 ', accel string ignored.
00000627 436.78030396 [4020] Unrecognized accel key 'right ', accel string ignored.
00000628 436.78042603 [4020] Unrecognized accel key 'left ', accel string ignored.
00000629 436.78054810 [4020] Unrecognized accel key 'down ', accel string ignored.
00000630 436.78067017 [4020] Unrecognized accel key 'up ', accel string ignored.
00000631 436.78079224 [4020] Unrecognized accel key 'pgdn ', accel string ignored.
00000632 436.78094482 [4020] Unrecognized accel key 'pgup ', accel string ignored.
00000633 436.78106689 [4020] Unrecognized accel key 'f8 ', accel string ignored.
00000634 436.78118896 [4020] Unrecognized accel key 'g ', accel string ignored.
00000635 436.78140259 [4020] Unrecognized accel key 'r ', accel string ignored.
00000636 436.78152466 [4020] Unknown accel modifier: 'numpad '
00000637 436.78161621 [4020] Unknown accel modifier: 'numpad '
00000638 436.78182983 [4020] Unrecognized accel key 'numpad / ', accel string ignored.
00000639 436.78198242 [4020] Unrecognized accel key 'numpad * ', accel string ignored.
00000640 436.78225708 [4020] Unrecognized accel key 'r ', accel string ignored.
00000641 436.78228760 [4020] Unknown accel modifier: 'numpad '
00000642 436.78231812 [4020] Unknown accel modifier: 'numpad '
00000643 436.78244019 [4020] Unrecognized accel key 'numpad / ', accel string ignored.
00000644 436.78262329 [4020] Unrecognized accel key 'numpad * ', accel string ignored.
00000645 436.78286743 [4020] Unrecognized accel key 'home ', accel string ignored.
00000646 436.78305054 [4020] Unrecognized accel key 'end ', accel string ignored.
00000647 436.78326416 [4020] Unrecognized accel key 'v ', accel string ignored.
00000648 436.78363037 [4020] Unrecognized accel key 'home ', accel string ignored.
00000649 436.78378296 [4020] Unrecognized accel key 'end ', accel string ignored.
00000650 436.78390503 [4020] Unrecognized accel key 'v ', accel string ignored.
00000651 436.78436279 [4020] Unrecognized accel key 'numpad / ', accel string ignored.
00000652 436.78457642 [4020] Unknown accel modifier: 'numpad '
00000653 436.78469849 [4020] Unknown accel modifier: 'numpad '
00000654 436.78491211 [4020] Unrecognized accel key 'numpad / ', accel string ignored.
00000655 436.78494263 [4020] Unknown accel modifier: 'numpad '
00000656 436.78500366 [4020] Unknown accel modifier: 'numpad '
00000657 436.78613281 [4020] Unrecognized accel key 'f5 ', accel string ignored.
00000658 436.78662109 [4020] Unrecognized accel key 'numpad 0 ', accel string ignored.
00000659 436.78683472 [4020] Unrecognized accel key 'numpad 1 ', accel string ignored.
00000660 436.78701782 [4020] Unrecognized accel key 'numpad 2 ', accel string ignored.
00000661 436.78723145 [4020] Unrecognized accel key 'numpad 3 ', accel string ignored.
00000662 436.78741455 [4020] Unrecognized accel key 'numpad 4 ', accel string ignored.
00000663 436.78759766 [4020] Unrecognized accel key 'numpad 5 ', accel string ignored.
00000664 436.78784180 [4020] Unrecognized accel key 'numpad 0 ', accel string ignored.
00000665 436.78805542 [4020] Unrecognized accel key 'numpad 1 ', accel string ignored.
00000666 436.78820801 [4020] Unrecognized accel key 'numpad 2 ', accel string ignored.
00000667 436.78842163 [4020] Unrecognized accel key 'numpad 3 ', accel string ignored.
00000668 436.78863525 [4020] Unrecognized accel key 'numpad 4 ', accel string ignored.
00000669 436.78884888 [4020] Unrecognized accel key 'numpad 5 ', accel string ignored.
00000670 436.78903198 [4020] Unrecognized accel key 'numpad 1 ', accel string ignored.
00000671 436.78915405 [4020] Unrecognized accel key 'numpad 2 ', accel string ignored.
00000672 436.78927612 [4020] Unrecognized accel key 'numpad 3 ', accel string ignored.
00000673 436.78939819 [4020] Unrecognized accel key 'numpad 4 ', accel string ignored.
00000674 436.78952026 [4020] Unrecognized accel key 'numpad 5 ', accel string ignored.
00000675 436.78970337 [4020] Unrecognized accel key 'numpad 0 ', accel string ignored.
00000676 436.78982544 [4020] Unrecognized accel key 'numpad 1 ', accel string ignored.
00000677 436.78994751 [4020] Unrecognized accel key 'numpad 2 ', accel string ignored.
00000678 436.79006958 [4020] Unrecognized accel key 'numpad 3 ', accel string ignored.
00000679 436.79022217 [4020] Unrecognized accel key 'numpad 4 ', accel string ignored.
00000680 436.79034424 [4020] Unrecognized accel key 'numpad 5 ', accel string ignored.
00000681 436.79046631 [4020] Unrecognized accel key 'numpad 0 ', accel string ignored.
00000682 436.79064941 [4020] Unrecognized accel key 'numpad 1 ', accel string ignored.
00000683 436.79077148 [4020] Unrecognized accel key 'numpad 2 ', accel string ignored.
00000684 436.79089355 [4020] Unrecognized accel key 'numpad 3 ', accel string ignored.
00000685 436.79101563 [4020] Unrecognized accel key 'numpad 4 ', accel string ignored.
00000686 436.79113770 [4020] Unrecognized accel key 'numpad 5 ', accel string ignored.
00000687 436.79153442 [4020] Unrecognized accel key 'f5 ', accel string ignored.
00000688 436.79174805 [4020] Unrecognized accel key 'escape ', accel string ignored.
00000689 436.79190063 [4020] Unrecognized accel key 'f5 ', accel string ignored.
00000690 436.79211426 [4020] Unrecognized accel key 'f5 ', accel string ignored.
00000691 436.79223633 [4020] Unrecognized accel key 'escape ', accel string ignored.
00000692 436.79235840 [4020] Unrecognized accel key 'f5 ', accel string ignored.
00000693 436.79257202 [4020] Unrecognized accel key 'f6 ', accel string ignored.
00000694 436.79278564 [4020] Unrecognized accel key 'f6 ', accel string ignored.
00000695 436.79824829 [4020] Unrecognized accel key 'f1 ', accel string ignored.
00000696 436.81378174 [4020] Unknown accel modifier: 'numpad '
00000697 436.81381226 [4020] No accel key found, accel string ignored.
00000698 436.81393433 [4020] Unknown accel modifier: 'numpad '
00000699 436.81399536 [4020] No accel key found, accel string ignored.
00000700 436.81420898 [4020] Unrecognized accel key 'numpad /', accel string ignored.
00000701 436.81436157 [4020] Unrecognized accel key 'numpad *', accel string ignored.
00000702 436.81457520 [4020] Unrecognized accel key 'numpad 0', accel string ignored.
00000703 436.81475830 [4020] Unrecognized accel key 'numpad 1', accel string ignored.
00000704 436.81491089 [4020] Unrecognized accel key 'numpad 2', accel string ignored.
00000705 436.81509399 [4020] Unrecognized accel key 'numpad 3', accel string ignored.
00000706 436.81524658 [4020] Unrecognized accel key 'numpad 4', accel string ignored.
00000707 436.81542969 [4020] Unrecognized accel key 'numpad 5', accel string ignored.
00000708 436.81564331 [4020] Unrecognized accel key 'numpad 0', accel string ignored.
00000709 436.81579590 [4020] Unrecognized accel key 'numpad 1', accel string ignored.
00000710 436.81597900 [4020] Unrecognized accel key 'numpad 2', accel string ignored.
00000711 436.81613159 [4020] Unrecognized accel key 'numpad 3', accel string ignored.
00000712 436.81631470 [4020] Unrecognized accel key 'numpad 4', accel string ignored.
00000713 436.81649780 [4020] Unrecognized accel key 'numpad 5', accel string ignored.
00000714 436.81698608 [4020] Unrecognized accel key 'numpad /', accel string ignored.
00000715 436.81710815 [4020] Unknown accel modifier: 'numpad '
00000716 436.81716919 [4020] No accel key found, accel string ignored.
00000717 436.81726074 [4020] Unknown accel modifier: 'numpad '
00000718 436.81729126 [4020] No accel key found, accel string ignored.
00000719 452.78814697 [4020] SSETools 0.1
00000720 452.90887451 [4020] Danette: N=01 Destination Tucson (1)_Track01.avs
00000721 452.90890503 [4020] Danette: NLEN=38
00000722 452.90896606 [4020] Danette: ELen=34
Danette is offline   Reply With Quote
Old 29th October 2021, 21:25   #71  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Very strange [a bit Halloweeny].

I get same "unrecognized accel key" stuff as you from AvsPMod, maybe we got some optional script missing or something.
(I usually use PsPad and VDub2)
__________________
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 ???
StainlessS is offline   Reply With Quote
Old 29th October 2021, 22:42   #72  |  Link
Danette
Registered User
 
Join Date: Apr 2013
Posts: 346
Yes: I am using AvsPmod, also.
Danette is offline   Reply With Quote
Old 2nd November 2021, 08:30   #73  |  Link
kuchikirukia
Registered User
 
Join Date: Oct 2014
Posts: 476
Quote:
Originally Posted by hello_hello View Post
I even try to avoid mice with back/forward navigation buttons on them
Remap them to copy and paste. It's a game-changer.
kuchikirukia is offline   Reply With Quote
Old 2nd November 2021, 16:00   #74  |  Link
hello_hello
Registered User
 
Join Date: Mar 2011
Posts: 4,829
Quote:
Originally Posted by kuchikirukia View Post
Remap them to copy and paste. It's a game-changer.
That's not a bad idea.

Do you remap the Windows key on the keyboard? I've been thinking of doing that for a long time but never got around to it. One day I'll accidentally tap it and my head will explode.
hello_hello is offline   Reply With Quote
Old 10th November 2021, 17:45   #75  |  Link
Danette
Registered User
 
Join Date: Apr 2013
Posts: 346
Well, I'm back with the same problem. This time, inserting and removing the DebugView line did not cause that odd recovery that I mentioned, above, in post 70.

It was working fine for a while. The only change, since last running it, is that I moved to AviSynth+ 3.7 and updated a lot of filters.
Danette is offline   Reply With Quote
Old 10th November 2021, 17:53   #76  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Yeah but,
what did the output to DebugView say
Code:
RT_debugF("N=%s\nNLEN=%d\nELen=%d",N,NLen,ELen,name="Danette: ")
Same line where error occurs I take it.
[EDIT: Just the RT_DebugF line, not all the AvsPMod accelerator stuff. and of course the error message]
EDIT: The line will begin with "Danette: "

EDIT: And temp remove all non used filters from plugins.

EDIT: Change to this, just incase.
Code:
RT_debugF("N=%s\nNLEN=%d\nELen=%d",string(N),string(NLen),string(ELen),name="Danette: ")
__________________
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; 10th November 2021 at 18:00.
StainlessS is offline   Reply With Quote
Old 10th November 2021, 19:08   #77  |  Link
Danette
Registered User
 
Join Date: Apr 2013
Posts: 346
I removed nearly all filters, leaving just enough to keep this particular script operating, but the same error appeared. The error, referring to line 14, is:
Quote:
LeftStr: Negative character count not allowed
I could not get this line to work:
Quote:
RT_debugF("N=%s\nNLEN=%d\nELen=%d",string(N),string(NLen),string(ELen),name="Danette: ")
It threw the error message: RT_DebugF: Type='d', Expecting Int data (2)

So, I ran this, again:
Quote:
RT_debugF("N=%s\nNLEN=%d\nELen=%d",N,NLen,ELen,name="Danette: ")
The DebugView results are:

Quote:
[6800] Danette: N=New File (2)
[6800] Danette: NLEN=12
[6800] Danette: ELen=-1
Similar to the earlier post.
Danette is offline   Reply With Quote
Old 10th November 2021, 19:15   #78  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Oops, I changed from int (requires %d) to string() [requires %s], so should have been
Code:
RT_debugF("N=%s\nNLEN=%s\nELen=%s",string(N),string(NLen),string(ELen),name="Danette: ")
No matter.
I'll look again at the script [I remember it does look a bit wierd, but as it worked, I did not look further].

EDIT: Is it [hello_hello] script from post 46 ?
__________________
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; 10th November 2021 at 19:19.
StainlessS is offline   Reply With Quote
Old 10th November 2021, 19:43   #79  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
From previous post edit,
Quote:
EDIT: Is it [hello_hello] script from post 46 ?
If it is post #46, then [EDIT: or 67]
Code:
N = ScriptFile()      # Name of current script (no path)
LN = LCase(N)
NLen = StrLen(N)
ELen = FindStr(LN, ".avs") - 1       # Length left of Extension, of current scipt
File_Name = LeftStr(N, NLen-(NLen-ELen))  # Error
Quote:
Originally Posted by Danette View Post
The DebugView results are:

[6800] Danette: N=New File (2)
[6800] Danette: NLEN=12
[6800] Danette: ELen=-1
So, looks like current script is called "New File (2)",

and this line
Code:
ELen = FindStr(LN, ".avs") - 1       # Length left of Extension, of current scipt
Cannot find the ".avs" extension in "New File (2)". (so Elen= -1, and produces error in LeftStr)

So,
question is, how come you have a avs script called "New File (2)" [without .avs extension]

EDIT: and this bit did my head in a bit,
Code:
File_Name = LeftStr(N, NLen-(NLen-ELen))  # Error Line
should it be
Code:
File_Name = LeftStr(N, ELen)  # Where -ve ELen is error for LeftStr
__________________
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; 10th November 2021 at 20:59.
StainlessS is offline   Reply With Quote
Old 10th November 2021, 21:49   #80  |  Link
Danette
Registered User
 
Join Date: Apr 2013
Posts: 346
Yes, the script is from [hello_hello] post 46, which I renamed to MoireEffect for the avsi. Don’t remember why I didn’t use post 67 (which doesn’t work, either).

Why it’s called "New File (2)", I have no idea. It is in a file having the avsi extension.

I tried replacing the
Quote:
File_Name = LeftStr(N, NLen-(NLen-ELen)) # Error Line
with
Quote:
File_Name = LeftStr(N, ELen) # Where -ve ELen is error for LeftStr
but the error message remains.
Danette is offline   Reply With Quote
Reply

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 10:32.


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