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.

jcubic
  • 916
  • 5
  • 16
  • 30
  • Found info here http://askubuntu.com/questions/432542/is-ffmpeg-missing-from-the-official-repositories-in-14-04 – jcubic Aug 02 '14 at 07:08

4 Answers4

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 
Mitch
  • 107,631
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.

mikewhatever
  • 32,638
jcubic
  • 916
  • 5
  • 16
  • 30
1

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

desgua
  • 32,917
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

llogan
  • 11,868