I agree with the DaveRage's opinion about the problem:
My experiment:
1. copy the c.p.; 2. Paste in the IrfanV;3.Dec. the c. depth. 4. And got the following img:
Attachment 97458
Can you analyze that video? E.g. I pass my video through a filter to extirpate any P-info.
But the q. — „Could that be done programmatically?“ — is highly interesting.