1

And how to do any convertions in Ubuntu 14 if there is no ffmpeg anymore? When I last use it prev version I had warning to use different tool but I don't remember what it was.

1

4 Answers 4

4

You can use Sound Converter.

Sound Converter is a gnome sound conversion available for Linux. You can convert music files into another format (OOG, MP3 and Flac). The tool is very simple, just add the files, set the destination directory and convert the files.SC

To install, just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:

sudo apt-get install soundconverter 
0
3

In Ubuntu >=14.04 just use avconv instead of ffmpeg it's a fork and it's seems it accept same command line options.

Install the libav-tools package to get it.

1

Straight forward: avconv -i /path/video.flv /path/audio.mp3

0

You can still use ffmpeg from FFmpeg if you prefer (like I do). You have two main choices, and a PPA:

Download a static build of ffmpeg

This is easy and supports MP3 encoding. Just go to the FFmpeg Download page and get one of the "Linux Static Builds". Or if you're lazy:

wget http://ffmpeg.gusari.org/static/32bit/ffmpeg.static.32bit.latest.tar.gz
tar xzvf ffmpeg.static.32bit.latest.tar.gz

Then execute the binary: ./ffmpeg -i input ...

Compile ffmpeg

Another option is to compile. It takes more time, but allows you to fully customize your build. See Compile FFmpeg on Ubuntu, Debian, or Mint.

mc3man's PPA

See Ubuntu Multimedia for Trusty.


Example command for MP3 encoding

ffmpeg -i input -codec:a libmp3lame -q:a 4 output.mp3

Example command for stream copy

If your flv input already contains MP3 audio (ffmpeg will tell you), then you can simply re-mux instead of re-encode:

ffmpeg -i input -codec:a copy -map 0:a output.mp3

Also see

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .