A browser-based tool that allows you to merge two videos vertically - with the color video on top and the mask video on the bottom.
- Upload and merge two videos with ease
- Client-side processing (no server uploads needed)
- Support for both MP4 and MOV input formats
- Output as MP4 with combined height
- Responsive design that works on various screen sizes
Access the live demo at this Page
This tool uses FFmpeg.js to process and merge videos entirely in your browser. When you upload two videos, it:
- Converts both videos to a compatible format
- Stacks them vertically using the
vstackfilter - Provides a preview and download link for the merged video
- Combining instructional content with demonstrations
- Creating before/after video comparisons
- Merging synchronized video footage from different angles
- Making split-screen presentations
- Both videos should have the same length, resolution, and aspect ratio
- Works best with modern browsers (Chrome, Firefox, Edge)
- Requires browser that supports WebAssembly
- Clone this repository
- Run a local web server (Python example below)
python3 -m http.server 8000Or use the included server with CORS headers for better compatibility:
python3 server.py- Open your browser to http://localhost:8000 or http://localhost:9999 (if using server.py)
This tool requires a modern browser with WebAssembly support. For best results:
- Use Chrome, Firefox, or Edge
- Safari may have limited compatibility
- Enable JavaScript
- Processing large videos may be slow or cause browser memory issues
- Maximum video resolution depends on your device's capabilities
- Both videos must have the same width for optimal results
MIT License
- FFmpeg.js - WebAssembly port of FFmpeg