My order would be decode-ability first, then near-duplicates. Run every file once through the exact decoder and fps/resolution your DataLoader will use and log failures, because a corrupt clip that only crashes a worker on day two is the most expensive kind of bug. Then perceptual-hash a few sampled frames per clip and do creator-level splits on top of that, so re-uploads don’t leak between train and test and quietly inflate your eval. For caption alignment, a cheap CLIP-style similarity score between sampled frames and the caption, flagging the bottom few percent for manual review, catches most of the junk. (I’m with aicost.tools, just sharing what I’d automate.)
That ordering makes a lot of sense. Decodeability and near-duplicate checks should come before splitting, otherwise corrupted or repeated samples can distort both training and evaluation.
I would also keep a quarantine manifest for failed files instead of silently dropping them. Recording the source ID, failure reason, codec, duration, and resolution makes the cleanup process measurable.
For caption alignment, do you compare captions with sampled frames using CLIP, or do you also use ASR timestamps? I’m curious how you choose the threshold for manual review.