LoginSignup
1

More than 5 years have passed since last update.

ffmpegで -filter_complex オプションを使わずに動画を連結する

Posted at

まずファイルを作って

mylist.txt
# this is a comment
file '/path/to/file1'
file '/path/to/file2'
file '/path/to/file3'

そしてコマンドラインで

ffmpeg -f concat -safe 0 -i mylist.txt -c copy output

-safe 0 は絶対パスじゃなかったらいらないそうです。

「ffmpeg 連結」で検索すると-filter_complexを使った方法ばかり出てくるんですが、ffmpeg の wiki だとこの方法が一番上に来てるんですよね。

他の方法でうまく行かなかった動画の連結がこの方法だとうまくいったので記録として残しておきます。

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
1