Pinned Post

Recent Posts

ffmpeg

ffmpeg -i file.mov  -vf "transpose=0" -vf "scale=iw/2:-1"  file_fixed.mp4
ffmpeg -i file.mov  -vf "scale=iw/2:-1" -an  file_fixed_2.mp4




ffmpeg -i file.mov -t 10 -vf "transpose=1,scale=iw/2:-1"  file_fixed_1.mp4
-vf "vflip" 画面内容翻转(镜像)
 -vf "transpose=0" 视频翻转(长宽翻转)

顺时针旋转画面90度ffmpeg -i test.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