Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
i recently changed from windows to linux (slackware 8.0) however a lot of my music is in the form of .wma files. Whats the best way of changing them to mp3 files in linux? I looked in sourceforge but i couldnt see anything of interest.
I've also got a similar problem with needing to convert .avi files to .mpg
Stop! Why do you want mp3's? If you have a personal mp3 player then that's ok, but if not, then convert them to oggs. A friend of mine with nothing better to do encoded one file in about 5 different quality mp3s and 7 different quality oggs. The oggs were listenable down to about level 3, which could fit a 5 minute song into 500KB. In general the result of his "study" was that oggs give better quality sound for smaller files, or if you prefer, small files for the same quality sound.
Again, I don't mean to push you into something you don't want, but I would keep them as .avi. If they're not compressed, you want them in DivX or Xvid format. These are both great formats. The advantage is that they are much much smaller than any mpeg format.
However, the tool you will need for either format is transcode. It's the ultimate coder from anything to anything else pretty much. Although you'll probably need some codecs. It's console based though, but there are front-ends available. I believe that k3b should do the job, although it's primarily a CD burner (and a damn fine one at that). If not, dvd::rip definately works.
guygrifiths is right about OGG. Its better to convert to OGG than to MP3s, because I too believe that OGGs give better compression as well as maintain the sound quality than MP3s do. But still the difference is not very great to say that MP3s are totally obsolete. Ogg and Mp3 seem to be similar to Linux and Windows fighting their way through people.
guygrifiths is also right about converting to MPEG. Its better to leave the file as avi if its is compressed. If you want you could compress them using the DivX format.
Again, Mencoder can do that (comes with Mplayer).
Read the man pages for mplayer, under the encoding options, you will find information on the codecs you can use.
This will recompress an avi with mp3 for sound codec and mpeg4 ( which is said to be DivX 4/5 in the man page) for video codec.
Originally posted by scottie cool, any ideas how to convert .avi to .mpg?
There are legitimate reasons for wanting to do this, such as wanting to burn (s)vcds. The following instructions are written for vcd, but can easily be changed for svcd. They also assume an avi at resolution 352x240x23.98fps with 44100Hz 2channel audio. This is not the _only_ way to do things, but this is the way that results (for me) in the best quality mpegs/vcds with the least trouble.
Unfortunately, mplayer/mencoder is currently unable to correctly convert a file to mpeg in one pass. So, I convert the video in one pass, the audio in another pass, and then multiplex them together. Begin by making two fifos (named pipes):