# Trim from 00:02:54.583 for 5 minutes (-t is Duration, in seconds)
ffmpeg -i input.mp3 -ss 00:02:54.583 -t 300 -acodec copy output.mp3
# Trim from 00:02:54.583 to 00:04:30
ffmpeg -i input.mp3 -ss 00:02:54.583 -to 00:04:30 -acodec copy output.mp3
Extract a segment of audio as a new file:
1. Lossless
2. Fast (almost instant unless input is huge in size)
1. Lossless
2. Fast (almost instant unless input is huge in size)
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.