How do you test if 2 large videos are identical?
问题 I have a system where video files are ingested and then multiple CPU intensive tasks are started. As these tasks are computationally expensive I would like to skip processing a file if it has already been processed. Videos come from various sources so file names etc are not viable options. If I was using pictures I would compare the MD5 hash but on a 5GB - 40GB video this can take a long time to compute. To compare the 2 videos I am testing this method: check relevant metadata matches check