Thread: Avisynth+
View Single Post
Old 25th February 2019, 01:05   #4545  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
I would class below as a definite bug. We had something similar where Trim() was not trimming audio where source was Colorbars.

Code:
A=AVISource("D:\L&M.avi")
B=AVISource("D:\B2.avi")
F=B.trim(0,-1)               # Should be single frame
A=A.Trim(18000,0)
#Return F                    # Returns single frame OK
StackHorizontal(A,F)         # SHOULD Stack clip alongside a Fixed Single frame, but F is NOT single frame
StackHorizontal, is ignoring the trim(somehow), this must be fixed.

EDIT:
Quote:
We had something similar where Trim() was not trimming audio where source was Colorbars.
Perhaps it is the very same problem, in Trim (that problem also incorporated StackHorizontal). Not trimming properley will break scripts.

EDIT: Managed a temporary fix so that I could do as required by inserting an "F=FrameStore(F)" line before the Stackhorizontal line.
__________________
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 February 2019 at 01:40.
StainlessS is offline