convert .flv file into .mp3 file (ie. extract sound from .flv file)

Let’s say you want to extract sound track of you .flv file and save it under .mp3 format.

It should be very easy if you follow these steps:

  1. ensure ffmpeg package is installed (audio/video converter) along with libavcodec-extra-52 package (which contains mp4 codec)
    sudo apt-get install ffmpeg libavcodec-extra-52
  2. run the following command:
    ffmpeg -i video1.flv -f mp3 track1.mp3

That’s it!
Your file should be converted by now.

Note

At first, I had the following error when running ffmpeg:

Unsupported codec for output stream #0.0

This was solved by installing  ”libavcodec-extra-52” package as suggested above.

sources

One Response to “convert .flv file into .mp3 file (ie. extract sound from .flv file)”

  1. [...] ensure ffmpeg is installed with appropriate codecs (see convert .flv file into .mp3 file (ie. extract sound from .flv file) [...]

Leave a Reply