Flip Video Images with ffmpeg

Flip video vertically:

$ ffmpeg -i /path/to/original_file.mp4 -vf vflip -c:a copy /path/to/destination_file.mp4

Flip video horizontally:

$ ffmpeg -i /path/to/original_file.mp4 -vf hflip -c:a copy /path/to/destination_file.mp4

Rotate 90 degrees clockwise:

$ ffmpeg -i /path/to/original_file.mp4 -vf transpose=1 -c:a copy /path/to/destination_file.mp4

Rotate 90 degrees counterclockwise:

$ ffmpeg -i /path/to/original_file.mp4 -vf transpose=2 -c:a copy /path/to/destination_file.mp4

Sources:

Ubuntu ffmpeg Manual