2008-05-11 flvファイルからmp3を抽出する。 osx GUIから iExtractMP3 -- BONNOH FRACTION 14を使う。 CUIから ffmpegを使う。ただし、以下の方法だと再生時間がおかしくなることがあります。(SVN-r13112で確認) #!/bin/sh if [ $# -ne 1 ]; then echo "Usage: $0 <flv name> ..." exit 1 fi for file in $@; do ffmpeg -y -i $file -acodec copy ${file%.flv}.mp3 done