Unix/Ubuntu
#!/bin/bash ffmpeg -i "$1.flv" /tmp/temp.wav lame -h -b 320 /tmp/temp.wav "$1.mp3" rm -f temp.wav