Linux - GeneralThis 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
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.