79
74

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で動画から静止画を抜き出す

Posted at

1)動画を再生して抜き出す始点と終点の時間を確認.

2)ffmpeg で静止画に抜き出し

$ ffmpeg -i 元動画.avi -ss 144 -t 148 -r 24 -f image2 %06d.jpg

-i 元動画.avi : 元動画
-ss 144 : 抜き出し始点(秒)
-t 148 : 抜き出し終点(秒)
-r 24 : 1秒あたり何枚抜き出すか
-f image2 %06d.jpg : jpeg で[000001.jpg]から連番で書き出し

以前とオプションが変わっているようなのでメモ

ffmpeg version 0.7.3-4:0.7.3-0ubuntu0.11.10.1, Copyright (c) 2000-2011 the Libav developers

79
74
3

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
79
74

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?