Home > Software > Media > Analysis > video-compare

video-compare logo

Details

Package ID
video-compare
Version
2026.10.4
Downloads
3757
Website
https://github.com/pixop/video-compare

Summary

Split screen video comparison tool written in C++14 using FFmpeg libraries and SDL2.

Description

Split screen video comparison tool written in C++14 using FFmpeg libraries and SDL2.

video-compare can be used to visually compare, e.g., the effect of codecs and resizing algorithms on two video files played in sync. The tool is flexible, allowing videos of differing resolutions, frame rates, scanning methods, color formats, container formats, codecs, or durations.

A movable slider enables easy viewing of the difference across any region of interest.

Thanks to the versatility of FFmpeg, it is actually also possible to use video-compare to compare two images. The common PNG and JPEG formats have been successfully tested to work.

Usage

Launch using the operating system’s DPI setting. Video pixels are doubled on devices like a Retina 5K display; therefore, it is the preferred option for displaying HD 1080p videos on such screens:

video-compare video1.mp4 video2.mp4

Controls

  • Space: Toggle play/pause
  • Comma ,: Toggle bidirectional in-buffer loop/pause
  • Period .: Toggle forward-only in-buffer loop/pause
  • Escape: Quit
  • Down arrow: Seek 15 seconds backward
  • Left arrow: Seek 1 second backward
  • Page down: Seek 600 seconds backward
  • Up arrow: Seek 15 seconds forward
  • Right arrow: Seek 1 second forward
  • Page up: Seek 600 seconds forward
  • J: Reduce playback speed
  • L: Increase playback speed
  • S: Swap left and right video
  • A: Move to the previous frame in the buffer
  • D: Move to the next frame in the buffer
  • F: Save both frames as PNG images in the current directory
  • P: Print mouse position and pixel value under cursor to console
  • Z: Magnify area around cursor (result shown in lower left corner)
  • C: Magnify area around cursor (result shown in lower right corner)
  • R: Re-center and reset zoom to 100% (x1)
  • 1: Toggle hide/show left video
  • 2: Toggle hide/show right video
  • 3: Toggle hide/show HUD
  • 5: Zoom 50% (x0.5)
  • 6: Zoom 100% (x1)
  • 7: Zoom 200% (x2)
  • 8: Zoom 400% (x4)
  • 0: Toggle video/subtraction mode
  • Plus +: Time-shift right video 1 frame forward
  • Minus -: Time-shift right video 1 frame backward

Comments

Loading comments...