Play a clip backwards and save it as a new file. The picture and the soundtrack are both reversed, and the export keeps the source container family.
How the clip is reversed
Compressed video can only be decoded forward, because most frames are stored as changes from the frames before them. So the export works backward in windows:
- Take the last window of the clip, decode it forward into memory.
- Encode those frames last one first.
- Move one window earlier and repeat until the start.
Each window is a fixed amount of memory rather than a fixed number of seconds. At 1080p that is 24 frames, at 720p 54. The rail shows the window for the loaded file.
Audio
The soundtrack is reversed with the same windowed method the audio reverser uses, decoded with a short run-up before each window so the seams are sample accurate. Reversed speech is unintelligible by nature; reversed music and ambient sound often work as a transition.
Speed
Reversing costs more than a normal re-encode because every window starts decoding at the key frame before it. Phone and camera footage has a key frame every second or two, so the overhead is small. Screen recordings can go ten seconds between key frames, and there every window repeats part of that decoding. Exporting them at 720p doubles the window length against 1080p, which halves the number of windows.
Preview
The preview plays the source forward, with sound. Browsers cannot play a compressed file backwards smoothly, which is the same reason the export needs windows.
Related jobs
Trim the clip first if you only need a few seconds reversed; a shorter source reverses proportionally faster. For a slow motion rewind, reverse the clip and then run it through the video speed changer.