[FFmpeg-user] Ability Cutting Multi Sections at Once (with -ss and -to)

ilker tezcan ilkertezcan at gmail.com
Thu Jun 8 22:31:23 EEST 2017


Hello,

I want to extracting multi segments of a video/audio, not only one time 
intervals. But FFmpeg's -ss and -to switches can't support many 
timecodes once.

00:01:30-00:02:12
00:04:48-00:05:27
00:09:02-00:09:55

How can I combine these times remux file with ffmpeg all at once?

I wish the following commands worked.

FFmpeg -i 
http://download.blender.org/peach/bigbuckbunny_movies/big_buck_bunny_720p_h264.mov 
-c copy -ss 00:01:30 -to 00:02:12 -ss 00:04:48 -to 00:05:27 -ss 00:09:02 
-to 00:09:55 extracted_only_specfic_times.mkv

or

FFmpeg -i 
http://download.blender.org/peach/bigbuckbunny_movies/big_buck_bunny_720p_h264.mov 
-c copy -ss 00:01:30+00:04:48+00:09:02  -to 00:02:12+00:05:27+00:09:55 
extracted_only_specfic_times.mkv

Is it possible this capability add to FFmpeg?
Would you allow me to open a new ticket ("enhancement" tagged) in the 
FFmpeg Bug Tracker?


More information about the ffmpeg-user mailing list