Grid & Layout Builder
Build complex video layouts. Create 2x2 video walls, side-by-side comparisons, and picture-in-picture effects.
2x2 Video Wall
Combine 4 videos into a single grid.
ffmpeg -i 1.mp4 -i 2.mp4 -i 3.mp4 -i 4.mp4 -filter_complex "[0:v][1:v]hstack[top];[2:v][3:v]hstack[bottom];[top][bottom]vstack" output.mp4
Note:Uses
hstack (horizontal stack) and vstack (vertical stack) to build the grid. Inputs should have same resolution.Side-by-Side Comparison
Place two videos next to each other.
ffmpeg -i left.mp4 -i right.mp4 -filter_complex "[0:v][1:v]hstack=inputs=2" output.mp4
Note:Simple
hstack of two inputs.VIDEO API
Discover why Hunt is the preferred API provider for developers.