View Full Version : How to have a video without a frame?
wrybread
28th September 2009, 09:28
I'd like to make a grid of 4 movies playing back on a fullscreen monitor. I was thinking I'd have 4 AVISynth videos playing, by specifying their positions, and no frame. I was thinking AVI Synth would be a good method since I want to alter the color of each video.
I was wondering if this is possible? If so, any tips on the filter or syntax to have a frameless video playing back at a specified position?
Or is there some other way to do this, like maybe a single AVS script with targetable movies?
Anyway, thanks for the help.
Gavino
28th September 2009, 09:56
I don't understand what you mean by 'frameless'.
But anyway, you can join clips together in a grid using StackHorizontal (http://avisynth.org/mediawiki/StackHorizontal) and StackVertical (http://avisynth.org/mediawiki/StackVertical). For example,
a = AviSource( ... ) # or whatever
b = ...
c = ...
d = ...
StackVertical(StackHorizontal(a,b), StackHorizontal(c,d))
Overlay (http://avisynth.org/mediawiki/Overlay) can also be used to position one clip on top of another.
wrybread
28th September 2009, 10:39
The "stack" function is extremely cool, thanks for that.
What I mean by "frameless" is that I'd like to play the videos without seeing the program interface. In other words I'd like to play them at specific spots on a monitor, with no interface. I realize now that this isn't really a question for AVI Synth, but rather for the player I'm using.
I may be able to use the stack function though, since that looks good full screen. Is there a way to change what video is playing in a specific quadrant of the stack? In other words, if I have 4 videos playing in the stack, can I change what video is playing in position 2 while its playing?
Gavino
28th September 2009, 11:04
Depends what you mean by 'while it's playing'. Once the script is passed to the player, it can't be changed, but certainly you can program your script in advance to show one video after another by joining them with the '+' operator.
In the previous example, if you had
b = AviSource("vid1.avi")+AviSource("vid2.avi")
then slot 2 would show vid1 followed by vid2.
If you want vid2 to start at a specific time, you would Trim (http://avisynth.org/mediawiki/Trim) vid1 to the appropriate length before adding vid2. For example,
b = AviSource("vid1.avi").Trim(0,999)+AviSource("vid2.avi")
would show the first 1000 frames of vid1 before switching.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.