LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 08-09-2008, 10:59 PM   #1
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,374

Rep: Reputation: Disabled
why can't I rip in WMA format?


For ripping music tracks, I've had grip, and I just discovered Sound Juicer CD Extractor. Why can't they rip in WMA file format? WMA is the one that I know plays on every CD player I've used, and I'd rather not worry about whether other formats (such as OGG) will play.
 
Old 08-09-2008, 11:04 PM   #2
elliott678
Member
 
Registered: Mar 2005
Location: North Carolina
Distribution: Arch
Posts: 977

Rep: Reputation: 74
WMA = Windows Media Audio, that should be enough to tell you why you can't encode them in Linux, it is a proprietary Microsoft format. Also, very few CD players can play WMA files.
 
Old 08-10-2008, 02:37 AM   #3
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
Most of these players will play mp3 too if they can play wma - players which can play ogg too are not so common.
Why cant you rip to wma (easily)? - see elliott678's answer.
Encoding to mp3 can be done with grip and sound-juicer without a problem - and with many other tools too.
Encoding to wma can be done too AFAIK - I just don't now any easy to use graphical frontends to do this.
Two programs I know of could be used: mencoder (part of mplayer) and ffmpeg.
You would use the command-line to do that - search for these terms and you will find examples.
 
Old 08-10-2008, 11:52 AM   #4
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,374

Original Poster
Rep: Reputation: Disabled
Ah. I wasn't considering the W. Well, when I rip a CD and then burn the tracks in Windows, they're WMA. So if they end up on the CD as something other than WMA, I have no idea what.
 
Old 08-10-2008, 12:32 PM   #5
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
If you write an audio cd (a cd with audio tracks, not a data cd with audio data files), the tracks placed on that disc are not in wma/mp3/ogg/wav format, but they are instead decoded from whatever format the original files are to non-compressed audio that is then placed on the disc as tracks. If you rip a cd to wma files (or any other compressed format such as mp3), you lose some sound quality (and get a file size about 1/10 of what it would be without that compression), and if you then write those files into a (regular) audio cd, you don't get any quality back - that is, the second cd has worse sound quality than the first. To get around this problem, clone the original audio cd and do not compress the audio during the process.
 
Old 08-11-2008, 01:26 AM   #6
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,374

Original Poster
Rep: Reputation: Disabled
Clone the original? Do I need K3B for that?
 
Old 08-11-2008, 02:28 AM   #7
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
No - you can use cdda2wav + cdrecord for example.
slightly adapted examples as they are given in the manual of cdrecord (man cdrecord):
Code:
To copy an audio CD in the most accurate way, first run

           cdda2wav dev=/dev/hdc -vall cddb=0 -B -Owav

       and then run

           cdrecord dev=/dev/hdc -v -dao -useinfo -text  *.wav

       This  will  try  to  copy  track  indices and to read CD-Text information from disk.  If there is no CD-Text
       information, cdda2wav will try to get the information from freedb.org instead.

       To copy an audio CD from a pipe (without intermediate files), first run

           cdda2wav dev=/dev/hdc -vall cddb=0 -info-only

       and then run

           cdda2wav dev=1,0 -no-infofile -B -Oraw - | \
           cdrecord dev=2,0 -v -dao -audio -useinfo -text *.inf

       This will get all information (including track size info) from the *.inf files and then read the audio  data
       from stdin.
The last example is not customized and uses one drive to read and one to write to.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
rip audio cd's to wma format? multios Slackware 17 08-01-2008 04:13 PM
Dvd:rip / transcode users: when you rip dvds, is the output file the size you expect? 144419855310001 Linux - Software 0 09-02-2006 08:56 AM
Converting wma format to mp3 format. fakie_flip Linux - General 6 10-02-2005 07:49 PM
tags in wma (Windows Media Audio) file format HLVS Programming 6 09-21-2004 04:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:59 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