/ Published in: Bash
Use ffmpeg to trim an audio file without re-encoding it.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
# Trim from 00:02:54.583 to end of file ffmpeg -i input.mp3 -ss 00:02:54.583 -acodec copy output.mp3 # Trim from 00:02:54.583 for 5 minutes ffmpeg -i input.mp3 -ss 00:02:54.583 -t 300 -acodec copy output.mp3