Skip to content

Align video using PNSR (worst) or SSIM (better) metrics.

Notifications You must be signed in to change notification settings

mbertini/video_align

Repository files navigation

Description: This script aligns two videos by finding the best alignment point in the first video using the peak signal-to-noise ratio (PSNR) and structural similarity index (SSIM) metrics. The aligned videos are then composited side-by-side into a single video.

Usage: python video_align.py video_a_path video_b_path [--output_dir OUTPUT_DIR] [--output_filename OUTPUT_FILENAME] [--metrics METRICS [METRICS ...]] [--verbose]

Example: python video_align.py long_high_quality.mp4 short_compressed.mp4 --output_dir . --output_filename aligned_composite_ --metrics psnr ssim --verbose

About

Align video using PNSR (worst) or SSIM (better) metrics.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages