FFmpeg: Diff 2 videos in realtime

Step-by-Step descriptions of how to do things.

FFmpeg: Diff 2 videos in realtime

Postby peter_b » Wed Nov 21, 2018 12:49 am

FFmpeg's video player "ffplay" can be used to quickly render the visual difference between 2 videos:
Code: Select all
ffplay -f lavfi \
"movie=original.mkv[org]; \
 movie=encoded.mkv[enc]; \

If you want/need to render this difference to a file, in lossless encoding for full "pixel-forensic" possibilities 8) :
Code: Select all
ffmpeg -i original.mkv -i encoded.mkv \
-filter_complex "blend=all_mode=difference" \
-c:v ffv1 -slices 24 -c:a copy output.mkv

Thanks to LordNeckbeard's answer on Stackoverflow
  • 0

User avatar
Posts: 302
Joined: Tue Nov 12, 2013 2:05 am
Reputation: 3

Return to HowTo's

Who is online

Users browsing this forum: No registered users and 1 guest

Who is online over last 24 hours

Users browsed this forum in the last 24 hours: No registered users and 13 guests

Reputation System ©'