#nofollow #norelated *メモ/ffmpegで動画からサムネイルを生成 [#xb53d252] ---------------------------- #contents ---------------------------- $ ffmpeg -y -i 5912.flv -f image2 -ss 15 -vframes 1 -s 214x120 5912.jpg こんな感じでサムネイルが生成できる。 -範囲指定での切り出し --時間〜時間を切り出す ffmpeg -i input.mp4 -async 100 -vcodec copy -acodec copy -ss 0:10:12 -t 0:05:30 output.mp4 ffmpeg -y -i input.mp4 -async 100 -vcodec copy -acodec copy -ss 0:10:12 -t 0:05:30 output.mp4 --時間〜何秒切り出す ffmpeg -i input.mp4 -async 100 -vcodec copy -acodec copy -ss 0:0:30 -t 30 output.mp4 ffmpeg -y -i input.mp4 -async 100 -vcodec copy -acodec copy -ss 0:0:30 -t 30 output.mp4 こんな感じで範囲指定での切り出しができる。 #back