LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 08-20-2001, 10:37 AM   #1
Stephanie
LQ Addict
 
Registered: May 2001
Location: Arizona
Distribution: 9.2 Mandy 1.4 Gentoo 5.1 FreeBSD WinXP
Posts: 1,166

Rep: Reputation: 45
mp3 encoding problems


I was encoding my CD as mp3 files, and almost everyone worked without a hitch. However, there are a few songs that would not encode correctly.

Does anyone know why this would happen, and how to correct it?
 
Old 08-20-2001, 10:48 AM   #2
glj
Member
 
Registered: Jul 2001
Location: London
Distribution: RH 9
Posts: 151

Rep: Reputation: 30
What do you mean not encode properly? Do they not encode at all and are un-playable, or do they just sound a bit crap? (e.g. do they skip or something?)

If you can play the mp3, rip the wav first (if you haven't already done so) and play it. If that doesn't play correctly, it might be a scratch/fingerprint/dust on the cd causing the ripper to have synch problems. You might have to select a few options to put some error-checking on (if you're lucky you'll have C2 support).

What program were you using to convert the CD anyway?

glj
 
Old 08-20-2001, 12:52 PM   #3
Stephanie
LQ Addict
 
Registered: May 2001
Location: Arizona
Distribution: 9.2 Mandy 1.4 Gentoo 5.1 FreeBSD WinXP
Posts: 1,166

Original Poster
Rep: Reputation: 45
The wave plays file plays fine, but when it encodes, it takes up 128KB of space, and when I select it, its file info comes up, but no music.
 
Old 08-20-2001, 06:19 PM   #4
isajera
Senior Member
 
Registered: Jun 2001
Posts: 1,635

Rep: Reputation: 45
what prog are you using to do the encoding? there are a few buggy mp3 encoders out there - have you tried using a different rate (160 instead of 128)? sometimes that helps.
 
Old 08-28-2001, 11:26 AM   #5
Stephanie
LQ Addict
 
Registered: May 2001
Location: Arizona
Distribution: 9.2 Mandy 1.4 Gentoo 5.1 FreeBSD WinXP
Posts: 1,166

Original Poster
Rep: Reputation: 45
I am using Grip with Notlame as the encoder.

Also, I am at the highest encoding rate it supports, which is 360
 
Old 08-28-2001, 05:18 PM   #6
isajera
Senior Member
 
Registered: Jun 2001
Posts: 1,635

Rep: Reputation: 45
ok... i just re-read the thread, and i think i missunderstood the problem here - is the mp3 encoder badly encoding the wav, with beeps and skips and stuff, or is it just failing to encode the file altogether?

if the file info only comes up, then, first instinctual guess here: there's something wrong with the way grip or notlame parses the filenames or detects the EOF. i'll try using them when i get home to my linux box and mess around with them if i can find them.

just as a suggestion, have you tried using lame?
 
Old 11-14-2001, 09:05 PM   #7
jcranmer
LQ Newbie
 
Registered: Nov 2001
Location: NC
Distribution: Red Hat 7.2
Posts: 3

Rep: Reputation: 0
I have been having similar problems with grip.

I can record .wav files, but when I try to convert them to mp3 files using notlame, I end up with a 128 byte file with no MP3 music (it seems to contain just the ID3 tag information).

My mp3 settings in grip are as follows:
MP3 Executable: /usr/bin/notlame
MP3 Command line: -v -V 0 %f %o
MP3 file firmat: ~/mp3/%a/%d/%n.mp3

I can successfully convert the file to mp3 in a terminal window by typing /usr/bin/notlame -v -V 0 <musicfile>.wav <musicfile>.mp3, but when grip tries to do the same command - 128 bytes only.

I've tried replacing the ~ with an explicit /home/jeff path, but get the same response. Can anybody shed some light on why the file is not getting written, or advise on how I can get more diagnostic information on the failure

Thanks

Jeff
 
Old 11-14-2001, 09:30 PM   #8
jcranmer
LQ Newbie
 
Registered: Nov 2001
Location: NC
Distribution: Red Hat 7.2
Posts: 3

Rep: Reputation: 0
Now I've discovered the reason why.
I added two additional tags to the MP3 command line.
The MP3 command line now reads
-v -V 0 -p --nohist %f %o

I think the key was the --nohist option, which prevents the notlame program from attempting to display a histogram of the VBR encoding. As grip does not open a terminal window in which to display the histogram, this is probably what caused grip to drop off.

Perhaps a similar effect is causing the problems seen by shadowhacker?

Jeff
 
Old 11-14-2001, 11:05 PM   #9
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
What is this notlame stuff? LAME is the best around and easy to use. You can get it with a gtk+ gui also if that's how you like doing things. Just curious as i've never heard of Grip...
 
Old 11-16-2001, 10:43 PM   #10
jcranmer
LQ Newbie
 
Registered: Nov 2001
Location: NC
Distribution: Red Hat 7.2
Posts: 3

Rep: Reputation: 0
As I understand it, notlame is based upon the lame MP3 encoding engine, compiled without GTK frame analyzer support.

Using grip (part of the Red Hat 7.2 distribution), I can quickly convert my CDs to .wav files. Once the first track is ripped, grip calls up notlame to convert them to mp3 files, finally deleting the original .wav files.

grip works very well, and I've found that I can quickly rip several CDs, leaving grip to batch process them to MP3 files overnight. It certainly works better than musicmatch which runs under wine, and is a processor hog.

I'd recommend going into the options of grip and setting 'nice' values reasonably high. This keeps grip and notlame as background processes, so your other apps don't get unduly slowed down. I use a value of 14 for the ripper, and 10 for the MP3 encoder, and that seems to work reasonably well.
Jeff
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Encoding audio: Mp3 to Mp3 SolidSnakeX28 Linux - Software 7 06-25-2006 10:14 AM
Encoding mp3 with Suse 10 Jeffmrg SUSE / openSUSE 3 10-09-2005 01:55 PM
Problems encoding .mp3 using Grip 3.1.4 kyrthira Linux - Software 3 11-06-2004 08:08 AM
MP3 Encoding - Please Help biggsjm Linux - Software 9 10-06-2003 02:52 PM
MP3 Encoding wonderpun Linux - Software 9 09-13-2002 07:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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