Created
March 28, 2019 04:42
-
-
Save zori/89e65281b45c4eab51a40414d2ca646b to your computer and use it in GitHub Desktop.
Trim audio files without losing quality
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Note the order of arguments matters, otherwise you might get an `Unknown decoder 'copy'` | |
# start from 5 seconds, trim until 01:19 | |
# The output will have a duration of 01:14 = 74 seconds | |
ffmpeg -ss 00:05 -to 01:19 -i input.mp3 -acodec copy output.mp3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment