Video mirror
Mirror the video frame by frame: horizontal, vertical or both really change the output pixels and re-encode to WebM; MP4 is a local ffmpeg command only.
Runs in your browserEvery computation happens in your browser — your data never leaves this device.
The video is decoded, flipped and re-encoded locally in your browser and never uploaded.
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 this tool does
- Mirror a selfie or webcam clip for real: frames are flipped in a canvas, not just described in an ffmpeg command
- Flip vertically (vflip) or both ways; the output canvas size and the range come from the timeline selector
- Compare the real frame count, size and elapsed time of the export — and download a playable WebM
Example
Input
clip.mp4 (160×120, 1.05 s, 24,000 bytes) · mode: horizontal mirror · quality medium · output frame rate 10 fps · container WebM · range 0.000–1.050 s
Output
Source video: 160×120 · duration 0:01 · 24.0 KB Method: Horizontal mirror (left-right flip) (repainted frame by frame — the output pixels really change) Canvas transform: translate(160, 0) + scale(-1, 1) Range: 0.000 → 1.050 s (1.050 s) Output size: 160×120 (mirroring does not change width or height) Output frame rate: 10 fps · frames: 11 (output duration 1.10 s) Target bitrate: 150 kbps (quality medium) · estimated size 0.02 MB Audio: canvas recording is video only, so the source audio is not carried over (use the local ffmpeg command below if you need the original sound) Output file name: clip-hflip.webm
These nine lines are what the pure logic computes for the input above (the first nine lines of the result panel). The panel then appends the frame count, size, MIME type and elapsed time of this real recording.
Frequently asked questions
Does it really flip the pixels?
Yes. Every frame is seeked in a hidden <video> and painted into a <canvas>: first translate to the opposite edge (translate(width, 0) for a horizontal mirror), then scale(-1, 1) or scale(1, -1). The result is re-encoded to WebM through canvas.captureStream + MediaRecorder.
Does the export keep the audio?
No — canvas recording is video only, so the source audio track is not carried over. Use the local ffmpeg command printed in the panel (it includes -c:a copy); that line is a command, not the result of this tool.
Why is WebM the only export?
The native MediaRecorder can only mux WebM (VP8/VP9). Picking MP4 makes the tool state plainly that a browser cannot mux MP4 and print a local ffmpeg command instead.
How long a clip can it handle at once?
One export is capped at 900 frames (900 ÷ frame rate seconds); anything beyond that is truncated and stated in the result. Recording is throttled to real time, so a 30 second export takes about 30 seconds.
Keywords:mirrorhflipvflipvideo