As it is a tedious work to find (and cut) all bad frames in a video,I'm looking for a filter/program that can do this task.If there isn't any, I willing to program a filter with the VDup sdk.Problem is, how to identify a bad frame correctly, as you can't look up a future frame.My algor. would comparing each 16x16 block within a frame with it's pre- and postcedessor and counting the different blocks (if you look closely at a bad frame, you can see, that bad bits are clustered within such blocks.
ON PAL DV you have 5x4 144x144 Blocks and each 144x144 Block is composed of 9x9 16x16 Blocks.
You need to compare both neighboured frames, because at scene changes, the difference between frame n-1 and frame n can be big but not frame n compared to frame n+1.
If someone has an advice for a different algo. - which could work in the VDup SDK paradigm - I'd be thankful.If successful, I'd of course publish the filter.
You can see an example here: