Video format converter
Re-encode a video frame by frame into WebM in the browser (optional resolution preset and frame rate); MP4 / MOV cannot be muxed by browsers, so only a reference ffmpeg command is produced.
Runs in your browserEvery computation happens in your browser — your data never leaves this device.
Pick a local video (MP4 / WebM / MOV all decode), nothing is uploaded; the output can only be WebM.
Pick a video file first.
Result
These are the real numbers from this run — play and download them right here.
Pick a video and set the options; the real result shows up here.
What about MP4 / MOV?
Browsers have no MP4 / MOV muxer, so this tool does not pretend to produce one. The command below is a reference for **ffmpeg on your own machine**.
ffmpeg -i input.mp4 -c:v libx264 -pix_fmt yuv420p -crf 23 -vf scale=1280:720 -r 30 -c:a aac -b:a 128k output.mp4
That is a command, not a result of this tool. Pick WebM above if you want a real, playable file from the browser.
What this tool does
- Turn a MOV / MP4 into WebM: re-encoded frame by frame in the browser, and the file drops straight into a web page
- Step a video down one resolution and record it again: 1280×720 to 640×360 cuts the size while the picture stays legible
- When you need MP4 / MOV, get a copy-pasteable ffmpeg command (browsers have no muxer for those containers, and this tool does not fake one)
Example
Input
clip.webm (1280×720, 2 s, 3.81 MB) → target WebM / quality medium / 30 fps / preset source resolution
Output
clip-converted.webm: output 1280×720 @ 30 fps (preset source); quality medium (0.075 bit/pixel/frame) · target bitrate 2.07 Mbps; estimated size at that bitrate 0.52 MB (518500 B); 60 output frames; container WEBM · video codec libvpx-vp9 · pixel format yuv420p
The real recorded size and elapsed time come from the result lines (the same settings can differ between runs because VP8/VP9 is content-adaptive); the estimate above is bitrate × duration.
Frequently asked questions
Why is there no file when I pick MP4 / MOV?
Because browsers have no MP4 / MOV muxer (MediaRecorder records WebM only), and this tool does not pretend to have produced a file: the result says the browser cannot mux MP4 and shows a reference command to run with ffmpeg on your own machine. A command is not a result of this tool.
Why does the exported WebM have no audio?
Re-encoding goes through canvas.captureStream + MediaRecorder, which records the canvas picture and carries no audio track. To keep the original audio, mux it with your source, for example: ffmpeg -i clip-converted.webm -i clip.mp4 -map 0:v:0 -map 1:a:0 -c:v copy -c:a aac merged.mp4 (a reference command; this tool does not run it).
Why do long videos hit the 900-frame limit?
MediaRecorder records against the wall clock, so a longer output literally takes longer. One run is therefore capped at 900 frames (about 30 s at 30 fps). Past that the tool reports the limit instead of silently recording a truncated clip; lower the frame rate, use a shorter range, or switch the target to MP4 / MOV and use the command.
How is the target bitrate computed, and does it match the real size?
Bitrate = width × height × frame rate × bits per pixel (low 0.045 / medium 0.075 / high 0.12), clamped to 150 kbps–30 Mbps. The estimated size is bitrate × duration; the recorded size varies with picture complexity, so the result lines report both the real size and the real elapsed time for comparison.
How does it differ from Video compression and Target-size compression?
This tool is about container compatibility: it outputs WebM and re-arranges resolution and frame rate by preset. Use Video compression for a size or bitrate budget, and Target-size compression for resolution presets plus a quality level. Decoding and recording are identical across the three; the parameters and statistics differ.
Keywords:mp4webmmovvideo format