input.mp3
Selected file
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.
-ssSet the start position of the audio segment.
-tSet the duration of the output segment.
-vn -c:a copyDiscard any video stream and copy the audio without re-encoding.