顺时针旋转画面90度
ffmpeg -i input.mp4 -vf "transpose=1" out.mp4
逆时针旋转画面90度
ffmpeg -i test.mp4 -vf "transpose=2" out.mp4
顺时针旋转画面90度再水平翻转
ffmpeg -i test.mp4 -vf "transpose=3" out.mp4
逆时针旋转画面90度水平翻转
ffmpeg -i test.mp4 -vf "transpose=0" out.mp4
水平翻转视频画面
ffmpeg -i test.mp4 -vf hflip out.mp4
垂直翻转视频画面
ffmpeg -i test.mp4 -vf vflip out.mp4

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

Captcha Code