/home/ffpmeg/ffmpeg -i in.mov -vf "transpose=1" out.mov
0 = 90CounterCLockwise and Vertical Flip (default) 1 = 90Clockwise 2 = 90CounterClockwise 3 = 90Clockwise and Vertical Flip
이미지 추출
/home/ffmpeg/ffmpeg -i a.mp4 -f image2 -vframes 1 a.png
/home/ffmpeg/ffmpeg -i a.mov -vcodec copy -acodec copy a.mp4
===============================================================
/home/ffmpeg/ffmpeg -i in.mov -vf "transpose=1:landscape" out.mov
==============================================================
/home/ffmpeg/ffmpeg -i in.mov -vf "transpose=1" -metadata:s:v:0 rotate=0 out.mov
-metadata:s:v:0 rotate=0
faststart for web video
You can add -movflags +faststart as an output option if your videos are going to be viewed in a browser. This will move some information to the beginning of your file and allow the video to begin playing before it is completely downloaded by the viewer. It is not required if you are going to use a video service such as YouTube.
|