[FFmpeg-user] Multiple Seeks (-ss/-t) in one file
redpenguinmail at gmail.com
Thu Nov 15 02:29:42 CET 2012
I typically record TV in blocks, cause some channels I watch alternate
what they air per day.
So maybe if I record for 8 hours, maybe the first 3 hours I want to
save, then maybe nothing for the next 2 hours, etc.
I know I can do -ss 00:00:00 -t 01:10:00 and then codec info and this
I read online that you can do multiple of these if you do ffmpeg -i
INPUT -ss VALUE -t VALUE CODEC_PARAMTERS OUTPUTNAME then start all
over again with -i INPUT.
The problem is I read you should always put -ss before -i otherwise if
-ss is 08:00:00 for example, the encoding will take 8 hours cause the
entire file is loaded.
So basically can I do something like
ffmpeg -i file -ss 00:05:00 -t 01:10:00 -ss 02:50:00 -t 01:20:00
More information about the ffmpeg-user