PDA

View Full Version : Compress mp3 in linux ?


eagle_y2j
17-05-2007, 08:49 PM
How to compress mp3 file in linux ?

kalpik
17-05-2007, 10:13 PM
Which distro are you using? Just install lame and then do man lame :)

mediator
17-05-2007, 10:19 PM
http://www.novell.com/coolsolutions/feature/2309.html

praka123
17-05-2007, 10:20 PM
mencoder,abcde, audacity ?
you may first convert to .wav format and again u need to re-encode to mp3.
search in synaptic "mp3" if u use ubuntu or debian or any debian based distros.

eagle_y2j
17-05-2007, 10:59 PM
Which distro are you using? Just install lame and then do man lame :)

Ubuntu and Suse

praka123
17-05-2007, 11:02 PM
install lame from package manager first.

eagle_y2j
17-05-2007, 11:05 PM
lame is there pre installed

kaustav_geek
17-05-2007, 11:20 PM
I compress mp3 all the time :D Use this... Install ffmpeg.. Then type this in the directory where your files are located.

ffmpeg -i <input file nama> -ab xxx <out file name>

Here, replace <xyz> with the corresponding values with extension and xxx with the bitrate, ie 64,96,128 and the like..

Note : Your input file maybe in any recognisable audio/video format, and it'll still work.. i.e, .wav, .flv, .ogg , .wma etc...... :D

eagle_y2j
17-05-2007, 11:45 PM
ffmpeg -i <10 Crush On You.mp3> -ab 32 <test.mp3>

bash: syntax error near unexpected token `newline'

can u correct my syntax

eddie
17-05-2007, 11:48 PM
Remove the < and > signs. They are not needed. Since your file name has spaces, you need to enclose the file name with quotes. So the correct syntax becomesffmpeg -i "10 Crush On You.mp3" -ab 32 "test.mp3"

eagle_y2j
17-05-2007, 11:50 PM
^^^ k now it is workin so nice of u all

kaustav_geek
18-05-2007, 12:02 AM
ffmpeg -i <10 Crush On You.mp3> -ab 32 <test.mp3>

bash: syntax error near unexpected token `newline'

can u correct my syntax
:| ... I asked you to replace the <>s right ? My mistake.... Couldn't explain it well to you..... Anyway, Nice to see that you got it working ..........