If you want to create a copy of a file, flipped in some way, good old ffmpeg can do this quickly. It has a 'transpose' feature, with 4 modes:
0 – Rotate by 90 degrees counter-clockwise and flip vertically. This is the default.
1 – Rotate by 90 degrees clockwise.
2 – Rotate by 90 degrees counter-clockwise.
3 – Rotate by 90 degrees clockwise and flip vertically.
the syntax is like this, the number N is 0, 1, 2, or 3
ffmpeg -i input.mp4 -vf "transpose=N" output.mp4It isn't restricted to mp4s, that's just an example.
if you want to go more than 90 degrees, you can stack the transposes, so, for example, to go 180 degrees clockwise or counter clockwise, (either of which turns the video upside-down) you can do this
ffmpeg -i 101.mkv -vf "transpose=2,transpose=2" 101.flip2-flip2.mkvNote the output filenames are entirely arbitrary and made up by myself.
Or you can just copy over the video file metadata (camera model, date, time, etc), if you want, and include a rotation, like this, but note that some media players ignore the rotation (so you'd have to do the above recodes)
ffmpeg -i original.mp4 -map_metadata 0 -metadata:s:v rotate="90" -codec copy meta90.output.mp4This was very quick and played as desired in VLC but I can't vouch for other players.
(1) Original video:
(2) transpose=0
ffmpeg -i original.mp4 -vf "transpose=0" original.flip0.mp4:
(3) transpose=1
ffmpeg -i original.mp4 -vf "transpose=1" original.flip1.mp4(4) transpose=2
ffmpeg -i original.mp4 -vf "transpose=2" original.flip2.mp4(5) transpose=3
ffmpeg -i original.mp4 -vf "transpose=3" original.flip3.mp4(6) transpose=2, transpose=2
ffmpeg -i original.mp4 -vf "transpose=2,transpose=2" original.flip2-flip2.mp4