@alvaro
sign in · lmno.lol

Trimming videos with ffmpeg

Via Bernd Verst's Trim Videos Instantly:

Start time + duration

ffmpeg -ss hh:mm:ss.msec -i in.mpeg -c copy -map 0 -t hh:mm:ss.msec out.mpeg

Start time + end time

ffmpeg -ss hh:mm:ss.msec -i in.mpeg -c copy -map 0 -to hh:mm:ss.msec out.mpeg