LoginSignup
0
0

More than 1 year has passed since last update.

ffmpegのfilter_complexのメモ

Posted at

基本

[0:v](何らかの処理)[hoge1]
[hoge1][1:v](何らかの処理)[hoge2]

上みたいに[入力](何らかの処理)[出力変数]みたいなのを何個も繋げて複雑な処理を実現していく.

コマンド

使ったやつをメモ

adelay

音の最初に無音を挿入するフィルタ.ミリ秒なのに注意

[入力]adelay=(ミリ秒)|(ミリ秒)

[0:a]adelay=3000|3000[aout]

overlay

映像や画像を重ねる.

[入力1][入力2]overlay=(x座標):(y座標)

[background][1scv]overlay=80:80:enable='between(t,0.20,14.26)'[v1]

scale

映像や画像を拡大縮小する.

[入力]scale=():(高さ)

[1:v]scale=1760:120[1scv]

trim

映像をトリミングする

[入力]trim=(始まり):(終わり)

[background0]trim=0:14.46[background]

amix

音声を合成(混ぜる)する.

[入力1][入力2][…]amix=inputs=(入力の数)

[a0][a1][a2][a3]amix=inputs=4[aout]
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0