[FFmpeg-user] To extract and get some parts/clips out of a MP4 file to be concatenated into another

Budi budikusasi at gmail.com
Thu Jul 22 11:26:36 EEST 2021


How to extract/get some parts/clips out of a MP4 file to be
concatenated into another new MP4 file

tried to get/extract out only first 19 seconds, also a part beginning
from 32th up to its next 37 seconds, and finally part beginning from 2
min 29th s up to its next 99 seconds, by this:

$ ffmpeg -t 19 -i Example.mp4 -ss 0:0:32 -t 37 -i Example.mp4 -ss
0:2:29 -t 99 -i Example.mp4  -ss 0:0:0 -c copy
~/Downloads/ExampleOut.mp4
to no avail

sincere help is appreciated


More information about the ffmpeg-user mailing list