Split Screen Video Maker
Operator: Abdulla Al Fahad. How tools are built and checked
Two clips side by side in a 1920 by 1080 frame with an 8 px divider get cells of 956 by 1080 pixels at x = 0 and x = 964, so a 1920 by 1080 source is cropped to its middle 956 columns (starting at column 482) unless you ask for the whole picture with bars. This page sets two to four videos in one of nine layouts, lets you choose whose sound is heard, and records the result as one MP4 or WebM file.
Key features
- Nine layouts with a sketch that shows the exact cell arrangement, and per-cell sizes derived from the frame, border and gap
- Fill-and-crop or show-whole-picture for each clip, with a left-to-right focus slider for the crop
- A tick and a 0 to 150% volume for each clip, so one, several or none of the soundtracks are used
- Looping or freezing for clips shorter than the output
- An estimate of bitrate, size and length before recording starts
How the grid, the fit and the length are worked out
Each video can be any file the browser plays (MP4, WebM, MOV, M4V) up to 10 minutes, and the output is capped at the same length. The frame is one of five sizes: 1920 by 1080, 1280 by 720, 1080 by 1920, 1080 by 1350 or 1080 by 1080. The layouts are side by side and stacked for two clips; three columns, three rows, one wide on top with two below, and one tall on the left with two on the right for three; a 2 by 2 grid, four columns and four rows for four.
The output is as long as the longest clip, the shortest, or the first, as you choose. A clip that is shorter than the output either loops or freezes on its last frame. Borders run from 0 to 40 px between clips and around the edge, in one colour that also fills any bars.
How it works
Rendering is a real-time recording; Picture in Picture Video Maker, GIF to Video Converter and Blur Video Region on this site use the same recorder. Each clip is opened in its own hidden video element and played once. A canvas the size of the frame is redrawn about 31 times a second from those elements, and canvas.captureStream() plus a MediaRecorder turn it into MP4 (H.264 and AAC) where the browser offers it, or WebM otherwise. Sound from the chosen clips goes through Web Audio gain nodes into the recorder, never to the speakers.
The recorder's own clock is the master. If a clip drifts more than 0.35 s from where it should be, it is seeked back; if a clip stalls while buffering, the clock pauses until it plays again, and it also pauses while the tab is hidden, so a render can take longer than the video but will not lose frames. Bitrate comes from the pixel count at 30 frames a second times 0.1, 0.06 or 0.035 bits per pixel for High, Balanced and Smallest, between 150 kbps and 16 Mbps. A WebM file gets its duration written into the header afterwards so players can seek.
Common use cases
- Showing a 75-second screen recording beside a phone clip of the same bug, each in its own 960 by 1080 half, with only the screen recording's sound
- Putting four 15-second takes of one line in a 2 by 2 grid in a 1080 by 1080 square for a casting comparison
- Stacking a 30-second before clip over its after clip in a 1080 by 1920 vertical frame for a phone feed, with a 12 px divider
- Using one wide clip on top and two close-ups beneath it to show a 60-second presentation with two reactions
How to use this tool
- Add two videos, then use Add video 3 or Add video 4 for more. Each has a small preview and its size and length.
- Choose a layout and a frame size, then set the border widths and colour. The sketch shows the result.
- For each clip pick fill-and-crop (and where to crop) or the whole picture, and tick the clips whose sound you want.
- Choose the output length and whether short clips loop, then the quality and file type.
- Click Render split screen and watch the live preview. The result plays below with a download button.
Example
Two 1920 by 1080 clips of 60 s and 40 s, side by side in a 1920 by 1080 frame, 8 px gap, Balanced, first clip's sound
Output length: longest
Loop shorter clips: onCell sizes, crop and cost for that layout
Cells: 956 × 1080 at x = 0 and 956 × 1080 at x = 964
Crop: source columns 482 to 1438 shown (focus 50%)
Length: 60 s, the 40 s clip plays one and a half times
Bitrate: video 3,732 kbps + sound 128 kbps, about 28.4 MBTips for best results
- For footage with a subject off to one side, move the crop focus rather than choosing the whole picture: 20% keeps the left of a wide clip, 80% the right.
- Pick Shortest clip as the length when the clips are takes of the same action and you only want to compare them while all are playing.
- If two clips have sound and one is much louder, lower its volume here instead of turning it off; the volumes are added together.
- The edge border is taken out of the frame, not added to it: in a 1080 by 1920 frame with a 6 px edge and a 12 px gap, each cell of a 2 by 2 grid is 528 by 948.
Common pitfalls
Four 1080p clips decoding at once is heavy for a laptop. If rendering stutters or the clock keeps pausing, choose a 1280 by 720 frame or trim the clips first.
A clip's frames are drawn when the player presents them, not by frame number, so two clips will not be frame-locked to each other; expect differences of a few frames.
Common errors and how to fix them
- Render split screen stays greyed out.
- Every shown slot needs a video that has finished loading. Use Drop video 3 or 4 to hide a slot you do not want.
- A clip says the browser cannot play it.
- HEVC (H.265) footage from recent phones is the usual cause. Open the same clip in Safari, or use an MP4 (H.264) or WebM copy.
- The length is flagged as too long.
- The output is capped at 10 minutes. Choose Shortest clip as the length or trim the longer clips first.
Best practices
- Give every clip the same frame rate and orientation before combining; a vertical clip in a landscape cell either loses most of its picture to the crop or leaves wide bars.
Frequently asked questions
Can the clips have different lengths?
Yes. The output follows the longest, shortest or first clip, and shorter clips loop or freeze on their last frame.
Why does rendering take as long as the video?
The picture is recorded from live playback, so a 60-second output takes about 60 seconds.