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


Reply
  Search this Thread
Old 10-18-2015, 02:48 AM   #1
ZZII
Member
 
Registered: Dec 2014
Location: house
Distribution: Fedora Cinnamon 30
Posts: 61

Rep: Reputation: Disabled
Question 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?)
 
Old 10-18-2015, 02:53 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
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.
 
Old 10-18-2015, 05:09 AM   #3
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
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.
Old 10-18-2015, 11:35 AM   #4
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
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.
 
Old 10-18-2015, 03:42 PM   #5
hortageno
Member
 
Registered: Aug 2015
Distribution: Ubuntu 22.04 LTS
Posts: 240

Rep: Reputation: 67
Quote:
Originally Posted by ZZII View Post
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.
 
Old 10-18-2015, 09:04 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,628

Rep: Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652
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
 
Old 10-19-2015, 11:19 AM   #7
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,155

Rep: Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318
Here are some applications to consider (I've never done this myself):
http://linuxappfinder.com/multimedia...arch_type=desc
 
Old 10-20-2015, 05:46 AM   #8
ZZII
Member
 
Registered: Dec 2014
Location: house
Distribution: Fedora Cinnamon 30
Posts: 61

Original Poster
Rep: Reputation: Disabled
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)
 
Old 10-20-2015, 09:28 AM   #9
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
Quote:
Originally Posted by ZZII View Post
(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.
 
Old 10-21-2015, 02:46 AM   #10
ZZII
Member
 
Registered: Dec 2014
Location: house
Distribution: Fedora Cinnamon 30
Posts: 61

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Shadow_7 View Post
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)
 
Old 10-21-2015, 02:39 PM   #11
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
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).
 
Old 10-24-2015, 08:04 PM   #12
timl
Member
 
Registered: Jan 2009
Location: Sydney, Australia
Distribution: Fedora,CentOS
Posts: 751

Rep: Reputation: 156Reputation: 156
Quote:
Originally Posted by jdkaye View Post
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
 
Old 10-25-2015, 12:59 AM   #13
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
Originally Posted by timl View Post
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
 
Old 12-21-2016, 11:59 AM   #14
Irish666
Member
 
Registered: Jun 2016
Location: Cape Girardeau, MO (we escaped IL ;-) )
Distribution: Mint 20.2
Posts: 51

Rep: Reputation: Disabled
Smile 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.
 
Old 12-21-2016, 01:02 PM   #15
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
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 !
 
  


Reply

Tags
audio, cd, centos, rip, vlc


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
What are the fastest loading live cds? joseppi Linux - Distributions 4 08-08-2010 07:17 PM
Fastest, easiest, way to creat a web database app? walterbyrd Linux - Software 3 04-15-2006 02:46 PM
The easiest way to rip CD's depam Linux - Software 1 03-06-2006 08:25 PM
Fastest,easiest and the best way to master linux. shyamsundar General 22 02-11-2006 09:21 AM
The fastest/zippiest, newest, easiest install/maintain, fullest (qlty sftwr) distro? SoccerballTux Linux - Distributions 8 10-13-2004 02:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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