Rotate an upside down video with the aid of ffmpeg
Tested by me:
ffmpeg -i in.mov -vf "transpose=2,transpose=2" -c:a copy -t 10 out.mov
See: rotation - Rotating videos with FFmpeg - Stack Overflow
If only rotating metadata:
ffmpeg -i input.mp4 -c copy -metadata:s:v:0 rotate=90 output.mp4