Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Well that is my question! i used to download a program in windows that used lame to compress audio of mp3 files and made them shorter in size but I don't know how to do this in ubuntu!

Does anybody know anything about this?

Please remember that I had just installed ubuntu so I don't know practically nothing

Please also excuse my English, I'm a native spanish speaker

share|improve this question
    
They have to have the same name as it seems. Is this what are you looking for: manpages.ubuntu.com/manpages/gutsy/man1/lame.1.html ? (Look at the description) –  hakermania Sep 6 '12 at 14:51

3 Answers 3

Terminal way:

lame is in Universe repository. So you have to first enable universe repository.

  • See this question → How do I enable the "Universe" repository?

  • Then install lame by the below using commands in a terminal. To open a terminal press Ctrl + Alt + T.

    sudo apt-get update
    sudo apt-get install lame
    

Then navigate to the directory by using cd command to the folder you have the file to convert it. I assume your file is in Downloads directory and it's name is 001.mp3. We also assume your input file is of 128kbps and you want an output file of 32kbps. So, use these commands to compress it

cd ~/Desktop
lame -b 32  001.mp3 001-32.mp3

You can use any name for the output file other than the same name as input file which is in this case 001.mp3.

Note that, the conversion will use fixed bitrate as opposed to variable or average bitrate.

See the lame manual page for more help.

Graphical way:

If you prefer graphical tools to do this, I suggest you a small and simple tool to do so. It is soundconverter.

  1. Install it with this link → soundconverter Install soundconverter or using this command in terminal

    sudo apt-get install soundconverter
    
  2. Open it by searching in Dash with term "soundconverter". To bring Dash, Press Super key which is also known as Windows key.

  3. When it opened, Press the *Add File button in it's toolbar, and select the file you want to convert.

  4. Then go to EditPreference from menu. In Type of result select mp3 and select a quality.

    • Very low = 64 kbps
    • Low = 96 kbps
    • Normal = 128 kbps
    • High = 192 kbps
    • Very high = 256 kbps.

    I think, you should select "Very low" or "Low" depending on your needs. Then click close.

  5. Click Convert button in toolbar to convert it.

That's it. Your file will be converted and stored in the same directory as the input file. You can also change the directory for output folder in Preference Window.

share|improve this answer
    
@Juancho I updated my answer. See whether it was causing problem. –  Anwar Shah Sep 7 '12 at 12:06

Use this:

lame -b [bitrate] input.mp3 output.mp3

share|improve this answer

If you need a tool with a graphical user interface, then you can use Soundconverter. You can open the software-center and search for it or you install it manually via terminal.

sudo apt-get install soundconverter

Download / Install for Ubuntu

Soundconverter

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.