How to extract MP3 files from FLV video files with freeware command-line ffmpeg (Windows, Linux, Mac OS X)
First of all find out what type of audio is used in the video file:
Code:
ffmpeg -i inputfile.flv
You will get something like
Code:
Stream #0.1: Audio: mp3, 44100 Hz, mono, s16, 128 kb/s
Now you know that MP3 audio is used (or AAC, or Speex, or Wav,...), so use the following command:
Code:
ffmpeg -i input.flv -vn -acodec copy output.mp3