-
-
Save kirtfitzpatrick/8272d221dab8c4dd38491e8621315019 to your computer and use it in GitHub Desktop.
ffmpeg webm to m4a
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/zsh | |
mkdir f a | |
for i in *.webm | |
do | |
ffmpeg -i "$i" -write_xing 0 -c:a alac "f/${i:r}.m4a" | |
afconvert -v -f m4af -d aac@48000 "f/${i:r}.m4a" "a/${i:r}.m4a" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment