LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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.

Notices


Reply
  Search this Thread
Old 06-27-2010, 05:08 PM   #1
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,373

Rep: Reputation: Disabled
converting WMA to MP3 or OGG


Never mind, I solved my own problem. I was looking for something to convert my old WMA music files (left over from before I switched to Linux permanently) to a Linux format. After posting a question about it, I found a program called dir2ogg in my apt repositories. It works smoothly; you use it by typing dir2ogg [filename] in a terminal window.

The mods may want to move this to the Success Stories forum, if appropriate.

Last edited by newbiesforever; 06-27-2010 at 05:16 PM.
 
Old 06-28-2010, 10:15 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
There's a variety of tools available to do that. Apt has this to say about dir2ogg:

Code:
apt-cache show dir2ogg
Quote:
Description: audio file converter into ogg-vorbis format
dir2ogg converts MP3, M4A, WMA, FLAC, WAV files and Audio CDs to the
open-source OGG format.
.
It is a Python script that simply binds together the various decoders and
oggenc making it easier for the user to convert his/her music files. It also
supports ID3 tags.
Homepage: http://jak-linux.org/projects/dir2ogg/
So it's simply a script. Based on its dependencies it uses mplayer to do the work, which you could use without the script as well -- though I think there are some "convenient" things this script does, otherwise I don't see why it would need to exist at all. Another option would be ffmpeg,

Code:
ffmpeg -i audio.wav audio.mp3
provided that you have it and the required libraries installed (libmp3lame in this case).

Altough there are several ways to achieve the goal (convert wma to ogg, mp3 or something else) I still recommend that you re-rip the audio from the original source (you have it, don't you?), then encode it to the format you like -- at the same time you can get the track information from a CDDB server, if you're using CDs. You'll get much better sound quality and more importantly can tune the quality/file size to your liking than if you re-encoded a lossy format to another lossy format. If you've bought the trakcs (legally) from the internet, you obviously can't do this, but I assume you wouldn't have bought the music in wma format anyway.

Even if you did use the script you mentioned, check out what it holds inside: you can probably tune the settings if you like (bitrate etc.)

Last edited by b0uncer; 06-28-2010 at 10:16 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Where can I find a WMA to Mp3 (or Ogg) converter? Pcghost Linux - Software 5 06-15-2018 11:56 AM
soundkonverter loses track numbers converting from wma to ogg mbvpixies78 Linux - Software 0 06-09-2008 12:04 AM
Converting from .wma to .mp3/.ogg Napalm Llama Linux - Software 2 09-10-2005 11:18 AM
mp3 and wma to ogg, how can I do that? TruongAn Linux - Software 6 08-30-2005 03:04 AM
mp3 / wma / ogg ...etc crazibri Linux - Software 8 07-04-2004 01:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration