2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

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'

そしてコマンドラインで

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

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

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

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

2
1
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
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?