Stabilization of video streams using rotational and translational