Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 09-19-2005, 10:22 PM   #1
Senior Member
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,452

Rep: Reputation: 85
Question Converting wma format to mp3 format.

I am using Fedora Release Core 3. I am using K3b as my burning software.
I am unable to use wma format, because it is used in windows. Is there a way i can get my wma formats converted to a mp3 format; so then I can be able to burn the music with my K3B? Also is there a way to burn wma's on K3B?
Old 09-20-2005, 07:43 AM   #2
Registered: Oct 2004
Location: UK
Distribution: Ubuntu/Kubuntu
Posts: 249

Rep: Reputation: 30
Have a look at mplayer, it comes with a program called mencoder which you can use to do all kinds of audio/video encoding/decoding stuff.

I've never tried to do what you're asking but it I wouldn't be suprised if mencoder can do it, have a read of the documentation and see if it will. If you do figure it out it'd be nice if you post the solution here too.

Hope that helps.


Seems this has already been asked and answered here

This also seems to explain in a nice simple way.

Last edited by mickyg; 09-20-2005 at 07:56 AM.
Old 09-20-2005, 09:05 AM   #3
Registered: Apr 2005
Location: Neverland
Distribution: Slackware / Ubuntu
Posts: 171

Rep: Reputation: 30
Kaudiocreator in KDE works fine for ripping cds.
Old 09-20-2005, 09:16 AM   #4
Senior Member
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,452

Original Poster
Rep: Reputation: 85
I may have to use Windows software to convert the .WMA format files back to MP3 format files because the files are on a NTSF partition that is read only to Linux. Will my sound files lose their quality? I do not have all the cds to rip them again(15-20gb of music). Is there a way to leave them the way they are and burn and play them as .WMA format? Thank you for the help.
Old 09-21-2005, 04:47 AM   #5
Senior Member
Registered: Sep 2003
Location: Egypt
Distribution: Arch
Posts: 1,528

Rep: Reputation: 47
there is a script in the wiki that works pretty well , it needs mplayer and lame
Old 09-21-2005, 07:19 AM   #6
Senior Member
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,452

Original Poster
Rep: Reputation: 85
Does anyone know how to burn WMA as music on Linux?
Old 10-02-2005, 07:49 PM   #7
LQ Newbie
Registered: Nov 2004
Location: USA
Distribution: Gentoo
Posts: 2

Rep: Reputation: 0
Burning WMA to a CD in Linux

I'm assuming you use Gentoo since that's what your profile says, so here are my directions:

1) Copy all of the songs you intend to burn into a single directory. (Replace 'username' with your username.)
 $ cd /home/username/
 $ mkdir burn-this
 $ cd burn-this
 $ cp /path/to/songs/*.wma .
2) Copy this script into a file named 'wma2wav' in your /usr/bin/ directory.
# wma to wav

function wma2wav () {
  if [ ! -f "$1" ]; then
    echo "File $1 not found!"
    wav=`ls "$1" | sed -e 's/.wma/.wav/' | tr -d "*"`
    mplayer -ao pcm "${1%%.[Ww][Mm][Aa]}.wav" "$1" &&
    mv audiodump.wav "$wav" && unset wav &&

# Convert all wma files in directory
if [ $# -eq 1 -a -d "$1" ]; then
  for file in $1/*.[Ww][Mm][Aa]; do
    wma2wav "$file"

# One or more wma files were given
for file in $*; do
  wma2wav "$file"

# Not enough information
if [ $# -lt 1 ]; then
  echo "Usage:	wma2wav myfile.wma"
  echo "	wma2wav /directory/containing/wma/files"
  echo "	wma2wav myfile.wma myfile2.wma myfile3.wma"
  # You have to use quotations for the arguement below.
  # Failure to do so will result in only one file being
  # converted. Namely, the first one it comes across...
  echo '	wma2wav "*.wma"'
  echo "For converting .wma's that have spaces in the"
  echo 'name, use the directory option OR "*.wma"'

# Finished with script
 $ chmod +x /usr/bin/wma2wav
 $ wma2wav /home/username/burn-this
 $ ls -lh /home/username/burn-this
Make certain the CD you are burning can handle the total size displayed at the top of the list.

3) Finally use whichever burning method you prefer. I would use this (be sure to change the 'dev=' if you use this):
cdrecord dev=ATA:0,0,0 -audio /home/username/burn-this/*.wav
4) Once finished just remove the 'burn-this' directory and call it good. If you have any issues in the meantime, you'll need to figure them out on your own.

- Blue Fire


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting from .wma to .mp3/.ogg Napalm Llama Linux - Software 2 09-10-2005 11:18 AM
from audi format to mp3 format stanev Debian 2 01-25-2005 09:18 AM
trouble with mencoder converting wma to mp3 TheOneAndOnlySM Linux - Software 0 11-01-2004 09:26 PM
Converting wma to mp3 scottie Linux - Software 7 10-30-2003 10:25 AM
converting wma to mp3 rolanaj Linux - Software 2 08-16-2003 03:46 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:26 AM.

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