Skip to content
UniKit

Video flip

Mirror (horizontal / vertical) or rotate the video frame by frame in the browser 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.

Progress: Idle0 / 0 · 0%

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 video for real: frames are flipped, not just described in an ffmpeg command
  • Rotate a portrait clip 90° either way; the output canvas swaps width and height
  • Flip just one segment by picking a range on the timeline first

Example

Input

clip.mp4 (160×120, 1.05 s, 24,000 bytes) · mode: horizontal mirror · output frame rate: 10 fps

Output

Source video: 160×120 · duration 0:01 · 24.0 KB
Method: Horizontal mirror (left-right flip)
Canvas transform: scale(-1, 1)
Range: 0.000 → 1.050 s (1.050 s)
Output size: 160×120
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 are the lines the pure logic computes for the input above (the first lines of the result panel). The panel then appends the real size, MIME type and elapsed time of this recording — numbers only known after recording.

Frequently asked questions

Does it really flip the picture?

Yes. Every frame is seeked in a hidden <video>, painted into a <canvas> with translate + scale(-1, 1) or rotate, then re-encoded to WebM through canvas.captureStream + MediaRecorder, so you can play and download it.

Why is WebM the only export?

The native MediaRecorder can only mux WebM (VP8/VP9). When you pick MP4 the tool does not pretend to transcode: it prints a local ffmpeg command and states that it is a command, not the result of this tool.

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 the tool prints (it includes -c:a copy) if you need sound.

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:hflipvideo

Related tools