Created
March 29, 2023 09:02
-
-
Save deadghost/1103f1cefcea45cc0650c79dda856e12 to your computer and use it in GitHub Desktop.
Converts flac files in dir to opus audio
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
#!/bin/bash | |
for filename in ./*.flac; do | |
ffmpeg -i "$filename" -vn -c:a libopus -b:a 128k -vbr on -compression_level 10 -frame_duration 60 -application audio "${filename%.*}.ogg"; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment