I used to have a number of MP4 video files on an SD card in my phone, and a few months ago, I ran md5deep on them and stored the MD5 checksums alongside the files. Today, I noticed that some of the video files now have a different checksum compared to the ones I had generated. I tried copying them from the SD card again, to another directory, and even this time, the checksums differ from the last but recent one.
How can I best identify what difference these files have that their checksums mismatch? I remember I read somewhere about a way to compare two video files only by their actual video content that gets decoded. How do I do that?
I'm on Fedora Linux 37.
+ Reply to Thread
Results 1 to 3 of 3
-
-
It's impossible to generate the source from the generated hash number. Well, it is possible in theory, but since it's an nP-complete problem, if you had all the computer power in the world it'd still take thousands of years. So it may as well be technically impossible. Hashing would be useless otherwise.
-
You can run ffmpeg psnr to compare decoded video frames between 2 files and print out a per frame log . No difference or "same frame" will show up as "inf" or infinity. But you can only compare the "corrupted versions" with the "more corrupted versions" that you recently copied over, since you no longer have the originals according the the MD5
Note that there could be other differences - such as audio corruption - that are not detected by the ffmpeg psnr measurement (which only measures video signals)
At this point I would try to avoid using the card at all to reduce farther data loss. Clone the card contents to a computer if you want to salvage anything
Similar Threads
-
x264 BD encodes - suddenly getting timebase mismatch with 1st pass
By TenementLady in forum MacReplies: 0Last Post: 19th Sep 2021, 05:35 -
How to find m3u8 really?
By Bekkeh in forum Video Streaming DownloadingReplies: 10Last Post: 8th Jan 2021, 22:50 -
Can anyone help me to find icons like this?
By BlurayHD in forum Newbie / General discussionsReplies: 13Last Post: 18th Dec 2020, 17:18 -
Debugging codec mismatch when merging media
By satinesmith in forum Newbie / General discussionsReplies: 3Last Post: 12th May 2020, 12:44 -
Where to find this - help please
By vidblue in forum Newbie / General discussionsReplies: 1Last Post: 21st Jul 2019, 01:57