320kbps
← Back to presets

Trim Audio

Cut an audio file by specifying a start time and duration.

input.mp3

Selected file

Ready

FFmpeg command

ffmpeg -ss '00:00:00' -i 'input.mp3' -t '00:00:30' -vn -c:a copy 'output.mp3'

Trim Audio

Extract an audio segment from the selected start time for the specified duration. The audio stream is copied without re-encoding.

-ss

Set the start position of the audio segment.

-t

Set the duration of the output segment.

-vn -c:a copy

Discard any video stream and copy the audio without re-encoding.