ffmpeg

图片视频旋转

ffmpeg -i {input_file} -vf "transpose=1" {output_file}
# Use -vf "transpose=2,transpose=2" for 180 degrees.
0 = 90CounterCLockwise and Vertical Flip (default)
1 = 90Clockwise
2 = 90CounterClockwise
3 = 90Clockwise and Vertical Flip