Linux - NewbieThis 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.
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.
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?)
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.
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.
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?)
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.
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)
(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.
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)
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).
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.
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.
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.
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,363
Rep:
After having tried quite a few apps for ripping music off CDs, I settled on "abcde" (abetter cdextractor) 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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.