Note, the names of encoders and decoders do not always match, so there are
several cases where the above table shows encoder only or decoder only entries
even though both encoding and decoding are supported. For example, the h263
decoder corresponds to the h263 and h263p encoders, for file formats it is even
worse.

also a little trick

avconv knows to use libmp3lame so no need for that; on the other hand --ab allows you to retain the original audio contained in your video and to pass it on as was

check properties on the vid file

Code:

ffmpeg -i inputfile

or

mediainfo inputfile

then

avconv -i infile.flv -ab 192k outfile.mp3

or whatever bitrate is

Last edited by shantiq; April 29th, 2012 at 09:09 AM.

Linux is Latin for off-the-beaten-track
what I like MOST about our Ubuntu community ... exchanging tips to make things better .... The World should take heed :]ShanArt

Re: Can't convert to mp3... avconv: libmp3lame not found!

I also used to use ffmpeg, but it appears that ffmpeg is only supported for compatibilty reasons nowadays. avconv is the recommended program to use. The syntax for avconv is similar to the syntax for ffmpeg.

Type ffmpeg in the terminal, and you'll probably get:
"This program is not developed anymore and is only provided for compatibility. Use avconv instead (see Changelog for the list of incompatible changes)."

Re: Can't convert to mp3... avconv: libmp3lame not found!

Some ffmpeg devs tried to perform a coup, but were unable to secure the ffmpeg name and the ffmpeg website, so they instead forked the project. Both avconv and ffmpeg are actively developed, and each project incorporates improvements from the other side regularly.

For some reason Ubuntu went with the avconv fork but really it doesn't make a difference, as avconv and ffmpeg are essentially the same program.

Re: Can't convert to mp3... avconv: libmp3lame not found!

Specifically libavcodec-extra-53 (or 52 or 51 depending on your Ubuntu version) if you don't want to download and install all the other ubuntu-restricted-extras stuff.

Originally Posted by Chiel92

Type ffmpeg in the terminal, and you'll probably get:
"This program is not developed anymore and is only provided for compatibility. Use avconv instead (see Changelog for the list of incompatible changes)."

A terribly worded statement as unfamiliar users may imply that the FFmpeg project is "not developed anymore" which is untrue of course. I (and mc4man among others) tried to get it changed in time for 12.04.

Re: Can't convert to mp3... avconv: libmp3lame not found!

A terribly worded statement as unfamiliar users may imply that the FFmpeg project is "not developed anymore" which is untrue of course. I (and mc4man among others) tried to get it changed in time for 12.04.

Okay, thanks for letting know. I indeed assumed that this means that ffmpeg is not developed anymore. I fully agree that it would be a good idea to change this info in the ffmpeg help, as you said.