Skip to content
UniKit

Video reverse

Reverse a video for real by re-encoding its frames in reverse order in the browser and export a WebM, reporting source → output duration; 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, redrawn in reverse order 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

  • Actually play a clip backwards: frames are re-encoded in reverse order into a playable, downloadable WebM
  • Reverse just one segment by picking a range on the timeline first
  • Check the real source→output duration, frame count, size and elapsed time in the result panel

Example

Input

clip.mp4 (160×120, 1.05 s, 24,000 bytes) · quality medium · output frame rate 10 fps · container WebM · reverse audio in the reference command · range 0.000–1.050 s

Output

Source video: 160×120 · duration 0:01 · 24.0 KB
Method: reverse playback (frames are re-encoded from a reversed frame table: the last frame plays first, the first frame plays last)
Range: 0.000 → 1.050 s (1.050 s)
Reversed frame table: 11 frames · frame 1 takes source 0.950 s → the last frame takes source 0.000 s
Output size: 160×120
Output frame rate: 10 fps · frames: 11 (output duration 1.10 s)
Duration check: source range 1.050 s → output 1.100 s (reversing only changes the frame order, not the length of each frame)
Target bitrate: 150 kbps (quality medium) · estimated size 0.02 MB
Audio: canvas recording is video only, so reversing does not carry the original sound; the local command below uses -af areverse so you can reverse the audio locally as well
Output file name: clip-reverse.webm

These ten lines are what the pure logic computes for the input above (the first ten 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 play the video backwards?

Yes. The frame table is expanded in order and then the source times are reversed, so the first output frame comes from the end of the range and the last one from its start. Every frame is seeked in a hidden <video>, painted into a <canvas> and re-encoded to WebM via canvas.captureStream + MediaRecorder.

Does the export keep the audio?

No — canvas recording has no audio track at all, and browsers cannot reverse audio here either. To reverse the sound too, run the local ffmpeg command printed in the panel (it uses -af areverse); note that it is a command, not the result of this tool.

Why is MP4 not supported?

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 — it never pretends to have transcoded anything.

How long a clip can it reverse 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:reversevideo

Related tools