logoalt Hacker News

Habgdnvtoday at 5:42 AM3 repliesview on HN

An amateur tip that I sometimes use after I reencode something to check what i lost:

ffmpeg -i source.mkv -i suspect.mkv -filter_complex "blend=all_mode=difference" diff_output.mkv

I saw these claims before but still have not found someone to show a diff or post the source for comparison. It would be interesting.


Replies

randoomedtoday at 11:55 AM

Jill Bearup posted a video about this a while ago, showing a short and the original side by side: https://www.youtube.com/watch?v=kd692naF-Cc (note the short is shown at 0:31)

Edit: The changes made by the ai are a lot more vissible in the higher quality video uploaded to patreon: https://www.patreon.com/posts/136994036 (this was also linked in the pinned comment on the youtube video)

show 1 reply
rpastuszaktoday at 9:52 AM

Hehe, I occasionally use a similar approach for visual regression testing: https://untested.sonnet.io/notes/visual-snapshot-tests-cheap...

jbabertoday at 9:57 AM

Thank you for this good idea and oneliner.