Created
November 6, 2022 00:00
-
-
Save Dalboz/081a52e432f1f5cc6782df42e22197a2 to your computer and use it in GitHub Desktop.
Convert audio files with FFmpeg while retaining original metadata
This file contains 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
# install ffmpeg for macOS | |
brew install ffmpeg | |
# invoke ffmpeg while stating that must copy the first stream of metadata | |
ffmpeg -i in.opus -map_metadata 0:s:a:0 out.mp3 | |
# check the out file and verify the metadata |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Seen at https://superuser.com/a/1545979