LinuxQuestions.org
Help answer threads with 0 replies.
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 12-27-2003, 06:12 PM   #1
mark_booze
LQ Newbie
 
Registered: Dec 2003
Posts: 19

Rep: Reputation: 0
Ripping and encoding to MP3


Having scoured Google and every forum I could find, I am again turning to the experts on LQ.

I am trying to rip and encode CDs on my Linux box. I have gone round the houses on this one but think I am pretty close wth Grip. I am pretty sure I have it set up correctly, but when I attempt to "Rip and Encode" it appears that only the ripping takes place (the .wav file is generated fine): encoding looks like its trying to initialise and then giving up and although the directory for the output is created, there is no .mp3 file created

I have run the encoding in the command line and it all works fine using the same switches/options used in the Grip configuration. My Mandrake 9.1 distro did not appear to have a Lame package installed, so I downloaded the Notlame package and used that as the configured encoder, and also in the command line when testing.

I am sure this should be easy, but since I am a total Linux newbie please be gentle with me!

Many thanks in advance

Mark

Last edited by mark_booze; 12-27-2003 at 06:14 PM.
 
Old 12-27-2003, 07:17 PM   #2
poison
Member
 
Registered: Dec 2003
Location: Layer 7 =D
Distribution: Slackware, LFS, Rock Linux
Posts: 165

Rep: Reputation: 30
start it from a term and post the error messages...
that would help ^^
 
Old 12-28-2003, 07:38 AM   #3
mark_booze
LQ Newbie
 
Registered: Dec 2003
Posts: 19

Original Poster
Rep: Reputation: 0
Sorry to appear dopy, but how do you start Grip from a terminal and see the output messages? As mentioned I have run the notlame encoder in a terminal and seen that things work OK. If I open a terninal and type "grip", it just starts the GUI version of Grip and there is no output in the term window.
 
Old 12-28-2003, 07:49 AM   #4
bones996
Member
 
Registered: Sep 2003
Location: Pennsylvania
Distribution: Debian Squeeze
Posts: 106

Rep: Reputation: 15
Open a terminal & type "grip" (w/o the quotes) & that should start it.
 
Old 12-28-2003, 08:11 AM   #5
Pres
Member
 
Registered: Jun 2002
Location: Australia
Distribution: Slack 9.1
Posts: 232

Rep: Reputation: 30
hmm maybe this Grip is just a ripper and needs an encoder. Grab Lame (an encoder), get it on your box, and see what properties this Grip allows you to tweak and point it at Lame. This is the situation with xripper so perhaps also with Grip.
 
Old 12-28-2003, 08:17 AM   #6
dr_van_nostrand
Member
 
Registered: Apr 2003
Location: Sweden
Distribution: Slackware 9.1
Posts: 77

Rep: Reputation: 15
I use cdparanoia for ripping and sox for encoding. I've made a simple python script that converts the wav files created by cdparanoia to ogg, mp3 or whatever. You just have to tell it how many tracks there are, and if you want to the album/artist.

Last edited by dr_van_nostrand; 12-28-2003 at 08:19 AM.
 
Old 12-28-2003, 09:52 AM   #7
mark_booze
LQ Newbie
 
Registered: Dec 2003
Posts: 19

Original Poster
Rep: Reputation: 0
Thanks for all that team.

I discovered how to run Grip to enable debugg. "grip --verbose" seemed to do it.

Here is the output of the terminal.

It creates the .wav file fine, but the process seems to fail on the encoding. ust to reiterate, if I run "notlame -h -b 160 file.wav file.mp3" it will encode just fine.

All suggestions welcome.

[boozer@localhost boozer]$ grip --verbose
Using config file [.grip]
Drive status is 2
No disc
Checking for a new disc
Drive status is 2
No disc
CDStat said no disc
Checking for a new disc
Drive status is 2
No disc
CDStat said no disc
Checking for a new disc
Drive status is 4
Drive status is 4
CDStat found a disc, checking tracks
We have a valid disc!
Drive status is 4
Drive status is 4
Drive status is 4
Drive status is 4
Drive status is 4
Querying freedb.freedb.org for disc 9c0fc91b.
Drive status is 4
Drive status is 4
Query is [cddb+query+9c0fc91b+27+150+12510+22440+34102+47047+60017+72347+84462+95540+105652+117587+128900+1394 02+150770+167177+176267+186920+196477+207047+220230+229425+237930+245745+258575+268682+280412+292097 +4043]
URI is http://freedb.freedb.org/~cddb/cddb....+3.0.5&proto=5
Drive status is 4
Drive status is 4
Drive status is 4
Drive status is 4
Drive status is 4
Drive status is 4
Drive status is 4
Column/Button: 2/3
Drive status is 4
Drive status is 4
Drive status is 4
Drive status is 4
Drive status is 4
Drive status is 4
Drive status is 4
Drive status is 4
Drive status is 4
Drive status is 4
In CalculateAll
We aren't ripping now, so let's zero encoding values
Total rip size is: 26340048
Total enc size is: 2964197
In RipNextTrack
First checked track is 27
Ripping away!
Drive status is 4
Ripping track 27 to /home/boozer/mp3/noartist/unknown_disc/track_27.wav
Calling CDPRip
Rip finished
Added track 27 to encode list
Enc track 27
1: Encoding to /home/boozer/music/noartist/unknown_disc/27_track_27.mp3
Rip partial 0 num wavs 1
Next track is 27, total is 27
Check if we need to rip another track
In RipNextTrack
First checked track is 28
Ripping is finished
Eject disc
Have disc -- ejecting
Finished encoding on cpu 0
Inserting track 26 into the ddj database
 
  


Reply


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
Howto for DVD's, VCD's ripping, encoding, burning? LarryDoliver Linux - Software 24 12-30-2006 12:25 PM
high performace cd ripping and encoding dukeinlondon Linux - Software 2 07-22-2005 01:20 PM
trouble ripping/encoding mp3 beezlebozo Slackware 4 05-22-2005 11:54 PM
CD ripping and encoding? e1000 Linux - Software 5 05-22-2004 02:41 AM
Where are the files stored after ripping and encoding with grip lil213 Linux - General 2 10-13-2003 12:20 AM


All times are GMT -5. The time now is 10:02 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration