LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 05-06-2008, 05:41 PM   #1
joker20
Member
 
Registered: Sep 2004
Location: Houston, TX
Distribution: Slackware 12
Posts: 234

Rep: Reputation: 30
having some trouble w/ K3B and encoding with LAME


[Log in to get rid of this advertisement]
running slack12 and trying to rip some cds but im getting a "command failed: lame -h --tt %t --ta %a --tl %m --ty --tc - %f"

after some googling i installed libmad and the latest version of lame but this error still pops up.
i can run lame from command line with no problem so im thinking its the syntax that k3b has by default. any ideas of what i can try?
   
Old 05-07-2008, 01:13 PM   #2
Okie
Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 947

Rep: Reputation: 30
get ripperX, get 2.6.7 (stay away from the newest build)
   
Old 05-07-2008, 04:38 PM   #3
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware-13.1
Posts: 1,128

Rep: Reputation: 85
You should have KAudioCreator installed, that will rip your CD to .wav .mp3 .ogg or .flac.

it is in kde/kdemultimedia on your install disks.

samac
   
Old 05-07-2008, 10:29 PM   #4
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,393

Rep: Reputation: 62
I take it you didn't do a full install of slackware. Otherwise you should have only had to install LAME. I had installed LAME using the LAME slackBuild and everything works fine in k3b. I don't remember having to do anything special after installing LAME.
   
Old 05-08-2008, 09:53 PM   #5
joker20
Member
 
Registered: Sep 2004
Location: Houston, TX
Distribution: Slackware 12
Posts: 234

Original Poster
Rep: Reputation: 30
well i installed soundkonverter to convert from ogg to mp3 and that didnt work, i copied lame from /usr/local/bin to /usr/bin and overwrote the older version and then SK worked perfect - k3b however is still giving me problems.
ill be ok w/ this temp fix


and no i didnt do a full install of slack
   
Old 11-16-2008, 12:45 PM   #6
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware (current), Linux XP (just for laughs)
Posts: 434

Rep: Reputation: 36
Still not encoding to mp3 with lame in K3b

Hi all,

I have followed several threads all over the internet about this issue, which seems to affect other distros as well.
When attempting to encode wav files or a CD to mp3 using command line, all is fine and works as expected, (well, once you get used to the rather strange syntax). But trying to rip a CD to mp3 is not possible with K3b. Yet with Kaudiocreator, there is no issue. That is until you count not being able to select your own choice of output directory. Again, the CLI works as expected.

The lame syntax for both K3b and Kaudiocreator is very similar, and can be interchanged, as I have determined via experimentation, and Kaudiocreator still works correctly with the Lame syntax used by K3b, whilst using the Kaudiocreator lame syntax with K3b still causes it to fail.

So, is this a 'feature' of K3b, and if so, is there a workaround or preferabely a permanent fix.

TIA
   
Old 11-16-2008, 08:41 PM   #7
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,393

Rep: Reputation: 62
Thumbs down

Quote:
Originally Posted by vdemuth View Post
Hi all,

I have followed several threads all over the internet about this issue, which seems to affect other distros as well.
When attempting to encode wav files or a CD to mp3 using command line, all is fine and works as expected, (well, once you get used to the rather strange syntax). But trying to rip a CD to mp3 is not possible with K3b. Yet with Kaudiocreator, there is no issue. That is until you count not being able to select your own choice of output directory. Again, the CLI works as expected.

The lame syntax for both K3b and Kaudiocreator is very similar, and can be interchanged, as I have determined via experimentation, and Kaudiocreator still works correctly with the Lame syntax used by K3b, whilst using the Kaudiocreator lame syntax with K3b still causes it to fail.

So, is this a 'feature' of K3b, and if so, is there a workaround or preferabely a permanent fix.

TIA
It is possible to rip a CD directly to mp3 using LAME with k3b. I've been doing it for some time now. However, I did have a problem with the newest LAME version. I'm using 3.97. I don't think I had to do anything special to set it up, either.
   
Old 11-17-2008, 01:00 AM   #8
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware (current), Linux XP (just for laughs)
Posts: 434

Rep: Reputation: 36
Hi Shadowsnipes,

Thanks for the info. I downgraded Lame to 3.97, and it all works as expected. Once again, invaluable help from the community.

Still doesn't explain why the latest Lame runs OK with Kaudiocreator, so some sort of interaction issue between it and K3b, but am happy for now.

Cheers.

Last edited by vdemuth; 11-17-2008 at 01:46 AM.
   
Old 11-23-2008, 12:44 PM   #9
lennoni
LQ Newbie
 
Registered: Jan 2005
Posts: 4

Rep: Reputation: 1
solution...

I've been having a similar problem under Mandriva 2009. I happened into a German forum which seems to have the answer (assuming lame is installed)

1/ Start k3b and insert audio CD (allow cddb lookup)

2/ click "Start Ripping"

3/ select MP3 (lame) as filetype

4/ Click the config cog beside this

5/ highlight the Mp3 (lame) and click edit

6/ check your command line (mine is

lame -h -V2 --tt %t --tn %n --ta %a --tl %m --ty %y --tc %c - %f

)

7/ check both "swap byte order" and "write wave header" then OK, OK

8/ Save settings!!

9/ Start ripping


seems to work fine.

Hope this helps
   
Old 03-08-2009, 07:40 PM   #10
hsking
LQ Newbie
 
Registered: Mar 2009
Posts: 1

Rep: Reputation: 0
Smile Thanks!

Well done, lennoni!

Even though I'm not working with Slackware (I'm on Mepis), I was having the same trouble, but your post fixed it right away. Thanks for your help!
   
Old 08-28-2009, 08:51 PM   #11
PlumRude
LQ Newbie
 
Registered: Jul 2006
Posts: 1

Rep: Reputation: 0
Thumbs up

Thanks for the tip Lennoni.
This also works for the same problem under Fedora 11.

Last edited by PlumRude; 08-28-2009 at 08:53 PM.
   
Old 09-29-2009, 10:33 PM   #12
narc
Member
 
Registered: Aug 2004
Location: Montréal
Distribution: Linux from scratch
Posts: 64

Rep: Reputation: 15
Thumbs up Cool!

Thanks lennoni. Worked with kubuntu 9.04.
   
Old 10-08-2009, 09:39 AM   #13
patek
LQ Newbie
 
Registered: Aug 2005
Distribution: Mdk 10.2
Posts: 4

Rep: Reputation: 0
Works sweet on debian lenny 5.0. I installed the latest lame 3.98-2 from source. I would hate adding dodgy repositories, no offence but I don't like the idea of debian-multimedia.org. And I am set in my ways and I'm not changing to any other ripper, sorry.

Now, I have no clue what the 2 options that I ticked mean. Any explanation from k3b why the problem occurs? And what if we one day want to upgrade to the next version of k3b? Same trouble again? I wasted hours before I got to this thread.
   
Old 12-26-2009, 02:27 AM   #14
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware (current), Linux XP (just for laughs)
Posts: 434

Rep: Reputation: 36
OK, so I am resurrecting this thread with another problem using KDE4 and the latest k3b, and once again surrounding ripping CDs to mp3.

It seems that using k3b to achieve this, looks to all intents and purposes to succeed, but the subsequent mp3 files are not seen by Amarok, and can not be played with any of the media players normally associated with kde.

Looking at the files using Dolphin it would appear that the mime type is not being recognised as an mp3 even though the file extension is clearly correct.

Ripping the same CD to mp3 using Kaffiene works OK, the resultant tracks are seen straight away by the system as mp3 files, and are recognised by Amarok correctly and added to my collection. So once again there would seem to be problems with the k3b implementation of the Lame plugin.

Anyone else come across this and found a k3b solution, or do I just continue to use other methods?
   
Old 12-27-2009, 02:17 PM   #15
marco.sbodio
LQ Newbie
 
Registered: Dec 2009
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by vdemuth View Post
OK, so I am resurrecting this thread with another problem using KDE4 and the latest k3b, and once again surrounding ripping CDs to mp3.

It seems that using k3b to achieve this, looks to all intents and purposes to succeed, but the subsequent mp3 files are not seen by Amarok, and can not be played with any of the media players normally associated with kde.

Looking at the files using Dolphin it would appear that the mime type is not being recognised as an mp3 even though the file extension is clearly correct.

Ripping the same CD to mp3 using Kaffiene works OK, the resultant tracks are seen straight away by the system as mp3 files, and are recognised by Amarok correctly and added to my collection. So once again there would seem to be problems with the k3b implementation of the Lame plugin.

Anyone else come across this and found a k3b solution, or do I just continue to use other methods?
First of all I want to thank lennoni who help me out with his post. I confirm that following lennoni instructions everything works fine with

- kubuntu 9.04
- k3b 3.5.10
- lame 3.98

I can enjoy the encoded mp3s with amarok 2.0.2

I also made a small change to the command line suggested by lennoni: I use -V0 instead of -V2 to get highest quality
   
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
lame > incomplete mp3 encoding. linmix Linux - Software 3 12-29-2005 03:48 PM
Want default encoding for Lame in Grip kaega2 Linux - Software 5 12-26-2005 03:08 PM
lame wav2mp3 encoding help Cinematography Linux - Software 3 11-06-2005 02:17 PM
Mass LAME encoding? SolidSnakeX28 Linux - Software 4 09-28-2005 11:15 PM
encoding using Grip+lame minm Linux - Software 4 08-09-2004 01:25 PM


All times are GMT -5. The time now is 09:58 PM.

Main Menu
 
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.
Free Publications
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration