L
L
lssssssssssl2021-08-18 13:13:09
JavaScript
lssssssssssl, 2021-08-18 13:13:09

How can I cut an audio file into parts?

I have timings, I need to cut one audio file into several according to these timings. What are the ways to do this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex Step, 2021-08-29
@kellas

ffmpeg

ffmpeg -i input.mp3 \
  -ss 00:00:00 -to 00:00:30 -c copy part1.mp3 \
  -ss 00:00:30 -to 00:01:00 -c copy part2.mp3 \
  -ss 00:01:00 -to 00:01:30 -c copy part3.mp3

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question