I need to scan for black frames in my video. I can manually do this with VirtualDub(Mod) when setting intraframe to 70. However, I would like to set up a script to scan the video and report black frames throughout the video. These are fades between seperate clips. So I can easily identify where to edit in a several hour video but identifying these black frames.

Is there a way to do this in batch format and print out the frames or times in VirtualDub or AVIdemux or AviSynth (or anything else)?