Extracting audio from a flash video (converting flv to mp3) - using ffmpeg

Some searches led me to these variants

  • Convert the whole video to an mp3 with with 128 Kbps, 2 channels (stereo).
    # ffmpeg -i videofile.flv -acodec libmp3lame -ac 2 -ab 128 -vn -y audiofile.mp3
  • Just convert 4 minutes and 59 seconds from the beginning.
    # ffmpeg -i videofile.flv -t 00:04:59 -acodec libmp3lame -ac 2 -ab 128 -vn -y audiofile.mp3
  • Start converting from 00:00:13.800
    # ffmpeg -i videofile.flv -ss 13.8 -acodec libmp3lame -ac 2 -ab 128 -vn -y audiofile.mp3
  • Changes and additions will follow

    References :

Archive
Web
Linux