Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
10-18-2015, 02:48 AM
|
#1
|
Member
Registered: Dec 2014
Location: house
Distribution: Fedora Cinnamon 30
Posts: 61
Rep: 
|
Fastest and easiest way to rip CDs CentOS
What is the fastest way to rip audio CDs to .m4a files (or .mp3 would do) I have VLC installed and ffmpeg but it's ripping CDs as single files and saving them as .mp4.
On Windows I am able to just do it in 2 or so clicks, am I able to do it this quickly with Linux?
CentOS 7 (server installation)
VLC media player 2.2.2
ffmpeg
Asus A8R32-MVP Deluxe (no dedicated sound card)
The CD drives are a Pioneer CD/DVD combo, an LG combo and a Diamond Data CD drive. All are IDE cable select (i think they're all CS) and none have the INCD wire connected (is this ok?)
|
|
|
10-18-2015, 02:53 AM
|
#2
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
i don't know about "fastest and easiest" and "2 clicks", but...
i've been using asunder, and have been satisfied. it has a simple gui, and almost everything can be configured.
of course there's also cli tools, my guess is ffmpeg could maybe even do it by itself.
vlc is very versatile, but probably not the most comfortable tool for this.
|
|
|
10-18-2015, 05:09 AM
|
#3
|
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465
Rep: 
|
I use DVD::Rip. Here are some other suggestions. I have no knowledge of Windows so I have no idea how any of these compare.
jdk
|
|
1 members found this post helpful.
|
10-18-2015, 11:35 AM
|
#4
|
Senior Member
Registered: Feb 2003
Distribution: debian
Posts: 4,137
|
I just write a bash script for that stuff. Although I tend to keep the CDDB data in a .txt, not the filenames. Mildly easier to play randomly based purely on track # and silly stuff.
Code:
#!/bin/bash
# get the tracks in RAW CDR format. Basically the raw data with no conversion
# May or may not be the fastest extraction route.
# But I felt it might be the highest quality route.
cdparanoia --verbose --output-raw-big-endian --batch --never-skip
# convert the tracks from RAW to WAV in post
for INPUT in *.raw
do
OUTPUT=$(echo $INPUT | sed 's/raw/wav/')
sox -c 2 -r 44100 -t raw -b 16 -e signed --endian big $INPUT \
-c 2 -r 44100 -t wav $OUTPUT
done
# get the CDDB data about the disc.
cdrdao discid --device /dev/sr0 --driver generic-mmc 2>&1 | tee ./discid.txt
exit 0
I tend to make a directory of the ARTIST_ALBUM_NAME, then cd into it, then run the script. There used to be a cdda2wav option, but that split away when growisofs forked from mkisofs. Lots of other options out there. I used ripperX long ago when I didn't know as much about media formats and conversion tools.
|
|
|
10-18-2015, 03:42 PM
|
#5
|
Member
Registered: Aug 2015
Distribution: Kubuntu 24.04 LTS
Posts: 241
Rep:
|
Quote:
Originally Posted by ZZII
What is the fastest way to rip audio CDs to .m4a files (or .mp3 would do) I have VLC installed and ffmpeg but it's ripping CDs as single files and saving them as .mp4.
On Windows I am able to just do it in 2 or so clicks, am I able to do it this quickly with Linux?
CentOS 7 (server installation)
VLC media player 2.2.2
ffmpeg
Asus A8R32-MVP Deluxe (no dedicated sound card)
The CD drives are a Pioneer CD/DVD combo, an LG combo and a Diamond Data CD drive. All are IDE cable select (i think they're all CS) and none have the INCD wire connected (is this ok?)
|
ABCDE
if you have 2 drives run this command in 2 terminal windows
Code:
while true;do abcde -d /dev/sr0 -N;done
Of course you need to change the device for the other drive. This will run until you Ctrl+C out of it. No need to click anything, it will rip, eject the CD when finished and wait for the next one to be inserted. You'll need to adjust the config in /etc/abcde.conf or ~/.abcde.conf (path, encoder, quality,...) first.
|
|
|
10-18-2015, 09:04 PM
|
#6
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,707
|
Nautilus has a TON of "actions" for the r-click menu
there are some gstreamer actions for Nautilus
do a yum search they likely will be in rpmfusion
they WERE in the old rpmforge ( rf) repo for cent6
|
|
|
10-20-2015, 05:46 AM
|
#8
|
Member
Registered: Dec 2014
Location: house
Distribution: Fedora Cinnamon 30
Posts: 61
Original Poster
Rep: 
|
Oh wow such responses. Thank-you to all. I thought the other day of getting a PCI IDE card so I can use the drives on my Windows PC that has only SATA at the moment. So if I do that it will solve the problem. If I do require the Linux PC then I'll try out some of these methods. Thanks.
(Can't believe it took so long to think of getting a PCI IDE card)
I've noticed a problem with CentOS which is a similar one I had with PCLinuxOs that it's not very common. It's harder to find articles that help. (But of course there's always forums, also CentOS 6 may have been a better choice)
|
|
|
10-20-2015, 09:28 AM
|
#9
|
Senior Member
Registered: Feb 2003
Distribution: debian
Posts: 4,137
|
Quote:
Originally Posted by ZZII
(Can't believe it took so long to think of getting a PCI IDE card)
|
Just so you know, IDE was retro-actively renamed to PATA. Sometime around 2006 or some such. You could probably get something in terms of a usb docking station as well, which might be a little bit easier to find off the shelf these days.
|
|
|
10-21-2015, 02:46 AM
|
#10
|
Member
Registered: Dec 2014
Location: house
Distribution: Fedora Cinnamon 30
Posts: 61
Original Poster
Rep: 
|
Quote:
Originally Posted by Shadow_7
Just so you know, IDE was retro-actively renamed to PATA. Sometime around 2006 or some such. You could probably get something in terms of a usb docking station as well, which might be a little bit easier to find off the shelf these days.
|
The USB ones are even cheaper than PCI, so maybe I could get those and thread them through the rear of the case. But will they work for optical disk drives? I know the IDE to SATA converters don't work for optical, only hard drives.
(I have a habit here of posting a question then changing the subject)
|
|
|
10-21-2015, 02:39 PM
|
#11
|
Senior Member
Registered: Feb 2003
Distribution: debian
Posts: 4,137
|
There's usb optical drives that run $70 and down new. Better odds of those working than an older drive in an enclosure. Plus some of the older drives were only good for the 650MB discs and struggle with the 700MB discs (like my car stereo).
|
|
|
10-24-2015, 08:04 PM
|
#12
|
Member
Registered: Jan 2009
Location: Sydney, Australia
Distribution: Fedora,CentOS
Posts: 759
Rep: 
|
Quote:
Originally Posted by jdkaye
I use DVD::Rip. Here are some other suggestions. I have no knowledge of Windows so I have no idea how any of these compare.
jdk
|
thanks for the tip on dvd::rip. I tried this out last night, well documented and therefore quite easy to use. I need to play around with file sizes, bit rates etc. but yesterday's preliminary run worked fine.
Cheers
|
|
|
10-25-2015, 12:59 AM
|
#13
|
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465
Rep: 
|
Quote:
Originally Posted by timl
thanks for the tip on dvd::rip. I tried this out last night, well documented and therefore quite easy to use. I need to play around with file sizes, bit rates etc. but yesterday's preliminary run worked fine.
Cheers
|
Thanks. I'm glad to hear that. Have fun!
jdk
|
|
|
12-21-2016, 11:59 AM
|
#14
|
Member
Registered: Jun 2016
Location: Cape Girardeau, MO (we escaped IL ;-) )
Distribution: Mint 20.2
Posts: 51
Rep: 
|
Ripping audio CDs
FYI after a bit of research on how to rip in Mint, I found a program called Asunder. It can be downloaded in the Software Manager. If you want to rip into MP3 format you also need to download Lame. Once installed it is easy to do the ripping :-)
This program will correctly number the files so they stay in order, i.e. the first file is numbered 01.
|
|
|
12-21-2016, 01:02 PM
|
#15
|
Senior Member
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
|
After having tried quite a few apps for ripping music off CDs, I settled on "abcde" (a better cd extractor) a few years ago (someone else here also mentioned it). It's a command line utility that's configured with a config file (abcde.conf if memory serves), that lets you set pretty well all possible options. Once it's configured, all you have to do is pop in the CD, go to a command prompt and type "abcde". That's it.
Have fun !
|
|
|
All times are GMT -5. The time now is 04:34 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|