** [[FFmpeg/Crop]] [#kec61a38]
>
ffmpeg -i input -vf crop=w=100:h=100:x=0:y=0 output
>
crop=iw/2:ih:iw/2:0 (縦横 1/2 サイズ)
** [[FFmpeg/Rotate]] [#e8b20f0a]
>
ffmpeg -i input.mp4 -vf transpose=1 output.mp4
- 手ブレ補正 (あまり効いてるがしない)
>
-vf vidstabdetect
- 解析結果を mytransforms.trf に格納。
>
vidstabdetect=shakiness=10:accuracy=15:result="mytransforms.trf"
- 補正処理
>
- http://underpop.online.fr/f/ffmpeg/help/vidstabtransform.htm.gz
crop, unsharp, zoom 何でもできる感じ?
* コントラスト [#e7fad8db]
>
ffmpeg -i input.mov -vf eq=contrast=1.6:brightness=0.2 output.mp4
* [[Sepia]] tone [#j77ad605]
- ffmpeg sepia effect on video
-- https://stackoverflow.com/questions/30972646/ffmpeg-sepia-effect-on-video
>
ffmpeg -i input_video -filter_complex "
[0:v]colorchannelmixer=.393:.769:.189:0:.349:.686:.168:0:.272:.534:.131[colorchannelmixed];
[colorchannelmixed]eq=1.0:0:1.3:2.4:1.0:1.0:1.0:1.0[color_effect]" -map [color_effect] -c:v libx264 -c:a copy output_video
* Vinette [#s9e09715]
>
ffmpeg -i input.mov -vf vignette=0.2 output.mp4
* 複数のフィルタ [#wafb43a8]
>
フィルタを , 区切りでいける
>
ffmpeg -i input.mov -vf eq=contrast=1.6:brightness=0.2,vignette=0.2 output.mp4
* Normalize [#w512381c]
- normalize
-- http://underpop.online.fr/f/ffmpeg/help/normalize.htm.gz