0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

(個人メモ) mp4 ファイルを ffmpeg コマンドでトリミング/ファイル連結する

Last updated at Posted at 2025-09-28

トリミング

ffmpeg -i part1.mp4 -to 00:3:30 -c copy part1_cut.mp4

ファイル連結

concat_list.txt を以下のように作成する。

# concat_list.txt
file 'part1.mp4'
file 'part2.mp4'
file 'part3.mp4'

次に以下のコマンドを実行する。

ffmpeg -f concat -safe 0 -i concat_list.txt -c copy final_output.mp4
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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?