HI my friend... This is Fredy do you use a other library for read the frames? You should use a library like Gstreamer. You can see this library, I used it with OpenCV, but if you want to pay i can do it for you. I receive pays through Western Union
Thanks