So far I have been using the following command to split an audio file from S to E:
ffmpeg -i input.mp3 -ss S -to E -c copy output.mp3
Due to the fact that I need to split an audio file into multiple segments, each having a different length, I have to use the above command multiple times for only a single file.
So, is there a way to split a single audio file into multiple segments using ffmpeg
, but using only a single command?
Note that the segments are not of the same length.