Fix video2image and video2video autorotation