GridVideo
Details and Options


- 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 viewpoints.
- Any of the grid elements vij can be any of the following:
-
video a Video object image an Image or Graphics func an arbitrary function returning an image or graphics Missing[…] introduces open space 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 VideoPadding Automatic video track padding scheme for shorter videos - 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 - By default, GridVideo places the new video under the "Video" directory in $WolframDocumentsDirectory.
- 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 VideoTransparency False whether the output video should have a transparency channel

Examples
open allclose allBasic Examples (1)Summary of the most common use cases
Scope (4)Survey of the scope of standard use cases
Create a grid video from a list of videos:

https://wolfram.com/xid/0en0fvhtq-y9pdqz


https://wolfram.com/xid/0en0fvhtq-30qekp

Create a grid video from a 2D array of videos to enforce the position of each video in the grid:

https://wolfram.com/xid/0en0fvhtq-7wa2q2


https://wolfram.com/xid/0en0fvhtq-tn3d4c

Create a grid video from a list of an odd number of videos:

https://wolfram.com/xid/0en0fvhtq-c3nk1n

Use Missing to specify where the empty space should be:

https://wolfram.com/xid/0en0fvhtq-vmxu2c

Options (5)Common values & functionality for each option
Background (1)
ConformationMethod (1)
By default, videos with different frame sizes are conformed using the "Fit" method:

https://wolfram.com/xid/0en0fvhtq-h1h28x

https://wolfram.com/xid/0en0fvhtq-r19zid

Use the ConformationMethod option to specify how videos should be conformed:

https://wolfram.com/xid/0en0fvhtq-v3deg4

PaddingSize (1)
Use the PaddingSize option to control the padding size around the output frame:

https://wolfram.com/xid/0en0fvhtq-7psgza

Spacings (1)
Use the Spacings option to control the spacings between the input frames:

https://wolfram.com/xid/0en0fvhtq-17naya

Use both Spacings and PaddingSize to add spaces between and around images:

https://wolfram.com/xid/0en0fvhtq-m7smyu

VideoPadding (1)
Create a list of videos of different durations:

https://wolfram.com/xid/0en0fvhtq-ho7zqg

https://wolfram.com/xid/0en0fvhtq-786av0

By default, shorter videos are padded using black frames:

https://wolfram.com/xid/0en0fvhtq-pkhiit

Specify a different color padding:

https://wolfram.com/xid/0en0fvhtq-3cxwpb

Use "Fixed" padding to repeat the last available frame:

https://wolfram.com/xid/0en0fvhtq-tk3416

Wolfram Research (2021), GridVideo, Wolfram Language function, https://reference.wolfram.com/language/ref/GridVideo.html (updated 2022).
Text
Wolfram Research (2021), GridVideo, Wolfram Language function, https://reference.wolfram.com/language/ref/GridVideo.html (updated 2022).
Wolfram Research (2021), GridVideo, Wolfram Language function, https://reference.wolfram.com/language/ref/GridVideo.html (updated 2022).
CMS
Wolfram Language. 2021. "GridVideo." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2022. https://reference.wolfram.com/language/ref/GridVideo.html.
Wolfram Language. 2021. "GridVideo." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2022. https://reference.wolfram.com/language/ref/GridVideo.html.
APA
Wolfram Language. (2021). GridVideo. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/GridVideo.html
Wolfram Language. (2021). GridVideo. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/GridVideo.html
BibTeX
@misc{reference.wolfram_2025_gridvideo, author="Wolfram Research", title="{GridVideo}", year="2022", howpublished="\url{https://reference.wolfram.com/language/ref/GridVideo.html}", note=[Accessed: 18-April-2025
]}
BibLaTeX
@online{reference.wolfram_2025_gridvideo, organization={Wolfram Research}, title={GridVideo}, year={2022}, url={https://reference.wolfram.com/language/ref/GridVideo.html}, note=[Accessed: 18-April-2025
]}