unhandled exception when reading sequence using videocapture()
I test my code with .png format it run as I wish. But when I run with .jpg, the program break. My jpg images have 24-bit depth, while my png images are 16-bit depth. I guess this is related to the problem. Any solution?