How are you generating the frames? Is there a chance you’re looking trough the frames at regular intervals and have to actually “render” the video (I don’t know the proper term for this)? Did you try just extracting the keyframes where an actual full image is stored in the video file instead?