ffmpegに関するメモ


このエントリーをはてなブックマークに追加

動画を60秒おきに分割(再エンコードなし)

ffmpeg -i input.mp4 -c copy  -segment_time 60 -f segment -reset_timestamps 1 output_%02d.mp4

参考 - windows 7 - How to split videos with FFmpeg and -segment_times option? - Super User

動画を32秒目、98秒目で分割(再エンコードなし)

この例の場合、3つの動画に分割されて出力されます。

ffmpeg -i input.mp4 -c copy -f segment -segment_times 32,98 -reset_timestamps 1 output_%02d.mp4