GridVideo
GridVideo[{v1,v2,…}]
creates a video in which each frame is a grid of frames of all vi at the corresponding time.
GridVideo[{{v11,v12,…},…}]
uses the array position of each video vij to create the video grid.
Details


- GridVideo is also known as video collage.
- GridVideo can be used to show multiple videos at the same time. Creating video grids is very common when showing multiple people in a meeting, playing instruments or showing a scene from different view points.
- Any of the grid elements vij can also be a still image or graphics that are represented as a still video for the duration of other videos. Missing can be used to introduce open spaces filled with the background color.
- Options to control assembly of frames are:
-
Background GrayLevel[0.2] background color ConformationMethod Automatic how to conform frames of different sizes PaddingSize Automatic padding size around the output frame Spacings Automatic spacing between input frames - Settings for Spacings can have the following forms:
-
n use n pixels for spacing between frames Scaled[s] use a fraction s of the image size for spacing {specx,specy} use specific spacing for each dimension - Options to control properties of the output video are:
-
CompressionLevel Automatic compression level to use FrameRate Automatic the frame rate to use GeneratedAssetFormat Automatic the format of the result GeneratedAssetLocation $GeneratedAssetLocation the location of the result OverwriteTarget False whether to overwrite an existing file RasterSize Automatic raster size of the output video VideoEncoding Automatic video encoding to use

Examples
open allclose allScope (4)
Create a grid video from a list of videos:
Create a grid video from a 2D array of videos to enforce the position of each video in the grid:
Create a grid video from a list of odd number of videos:
Use Missing to specify where the empty space should be:
Options (4)
Background (1)
ConformationMethod (1)
By default, videos with different frame sizes are conformed using the "Fit" method:
Use the ConformationMethod option to specify how videos should be conformed:
PaddingSize (1)
Use the PaddingSize option to control the padding size around the output frame:
Spacings (1)
Use the Spacings option to control the spacings between the input frames:
Use both Spacings and PaddingSize to add spaces between and around images:
Text
Wolfram Research (13), GridVideo, Wolfram Language function, https://reference.wolfram.com/language/ref/GridVideo.html.
CMS
Wolfram Language. 13. "GridVideo." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/GridVideo.html.
APA
Wolfram Language. (13). GridVideo. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/GridVideo.html