Get same results in C++ and python code

excuse me, why do you try to treat a jpeg image as if it were a video file?

I know you to be generally competent. lapses in mental capacity and communication abilities could indicate a stroke. I’m being serious. please make sure you’re okay.