The missing frames are the ones that have a rotation angle from 0 - 90 degrees. The frames shot while the camera was rotating. Rotating them manually would take more time than writing a python script to correct the rotation angle in each frame, if that is possible, imho.