Usage
Cut
ffmpeg -i input -vf crop=w=100:h=100:x=0:y=0 output
crop=iw/2:ih:iw/2:0 (縦横 1/2 サイズ)
ffmpeg -i input.mp4 -vf transpose=1 output.mp4
その他
- 解析結果を mytransforms.trf に格納。
vidstabdetect=shakiness=10:accuracy=15:result="mytransforms.trf"
サンプル
- ノイズ削減、コントラスト補正、ヴィネット効果
fmpeg -i input.mov -af anlmdn=0.00001:0.002:0.1:1:1000 -vf eq=contrast=1.6:brightness=0.2,vignette=0.1 output.mp4