There's an echo in my head

日々のメモ。

Homebrewで入れたFFmpegでaifをoggに変換する

まずインストール。色々オプションをつけてるけど、--with-libvorbisだけでいけるはず。

brew install ffmpeg \
 --with-fdk-aac \
 --with-freetype \
 --with-libvo-aacenc \
 --with-libvorbis \
 --with-libvpx \
 --with-opencore-amr \
 --with-openjpeg \
 --with-openssl \
 --with-rtmpdump \
 --with-theora \
 --with-tools

あとはコマンドを一発走らせるだけ。

ffmpeg -i input.aif -acodec libvorbis output.ogg
このブログに出てくるコードスニペッツは、引用あるいは断りがない限りMITライセンスです。