Skip to content

Instantly share code, notes, and snippets.

View kirtfitzpatrick's full-sized avatar

Kirt Fitzpatrick kirtfitzpatrick

View GitHub Profile
@elijahtsai
elijahtsai / webm2m4a.sh
Created February 16, 2021 03:10
ffmpeg webm to m4a
#!/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