LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-05-2009, 08:42 AM   #1
masmddr
Member
 
Registered: Jun 2005
Location: Israel
Distribution: Arch Linux
Posts: 92

Rep: Reputation: 16
k3b fails to convert files to mp3.


Hello.

I was looking for a program that can batch convert audio files into mp3 files and I found that k3b could do that.

when I try to convert to mp3 it just fails.
I have lame installed.

Slackware 12.2 KDE 3.5
 
Old 08-05-2009, 09:06 AM   #2
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 masmddr View Post
Hello.

I was looking for a program that can batch convert audio files into mp3 files and I found that k3b could do that.

when I try to convert to mp3 it just fails.
I have lame installed.

Slackware 12.2 KDE 3.5
What kind of files are these audio files that you want to convert to mp3? I wasn't aware that k3b did that kind of thing. What menu item did you use to attempt the conversion and what version of k3b are you running. You might want to try audioconvert:
Quote:
usage:

audioconvert -q 64 -t m file for 64kBit MP3
audioconvert -q 1 -t m file for high-quality VBR MP3
audioconvert -q 4 -t o file for mid-quality OGG
audioconvert -q 80 -t a file for mid-quality AAC
audioconvert -q 80 -t i file for mid-quality M4A for iPod
audioconvert -t v file for Wavpack
audioconvert -t f file for FLAC

Possible input formats are: WAV, MP3, OGG, AAC, M4A, FLAC, WV, APE, SHN, OFS.
Possible output formats are: MP3, OGG, AAC, M4A, FLAC, WV.
cheers,
jdk
 
Old 08-05-2009, 09:24 AM   #3
masmddr
Member
 
Registered: Jun 2005
Location: Israel
Distribution: Arch Linux
Posts: 92

Original Poster
Rep: Reputation: 16
Thank you for the replay.

I tried to convert from ogg and even from mp3 to mp3.

I'm using k3b 1.0.5 .
to convert with it you select "new audio CD project" and right next to the burn button you should have "convert audio tracks to other audio formats" .

as to audioconvert, I prefer something with a GUI since I will be using it for batch conversions and I am generally too lazy to type in all the names or play with wild cards.

Last edited by masmddr; 08-05-2009 at 09:25 AM.
 
Old 08-05-2009, 09:55 AM   #4
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
For batch operations is precisely when the command line shines. GUIs are just inconvenient and painful to work with, but hey, it's just my opinion. I'd just do a simple loop in bash to decode them using whatever tool applies and using lame to encode it. But well...

I know that k3b uses libvorbis for ogg stuff, so you need to have that installed as well if you want to decode ogg vorbis files. In which regards mp3, I know that it uses lame and libmad, maybe it uses libmad for decoding and lame for encoding, not sure, so you also need that if you want to convert from mp3 to mp3 as you tried.
 
Old 08-05-2009, 10:34 AM   #5
masmddr
Member
 
Registered: Jun 2005
Location: Israel
Distribution: Arch Linux
Posts: 92

Original Poster
Rep: Reputation: 16
I checked and I have libvorbis, libmad and Lame.
I'll be using the command line than :P

thank you all for the help.
if anyone knows how to solve the k3b problem I'd love to hear it.
 
Old 08-05-2009, 10:49 AM   #6
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
So you want to use K3b to rip/convert audio files to mp3?

Here's how to do it with K3b:

Go into K3b's menu.
Select settings.
Configure K3b.
Select plugins.
Click on external audio encoder,then click configure.
If mp3 is listed you need to click edit,if not click add.
In the dialogue box top left add Mp3(Lame) and in the right add mp3
Next you need to add the lame parameter here's what i use:
lame -V1 --tt %t --ta %a --tl %m --ty %y --tc %c - %f
Next check the two options boxes,swap byte order and write wave header.
Press ok to save.
Then click apply and ok at the previous dialogue box.
Then apply and ok again,and you should be back to the main screen.

Now try to rip a cd again to mp3.
Sorry for the long winded explanation.
 
Old 08-05-2009, 11:05 AM   #7
masmddr
Member
 
Registered: Jun 2005
Location: Israel
Distribution: Arch Linux
Posts: 92

Original Poster
Rep: Reputation: 16
Thank you.
Checking the two option boxes did the trick.
 
Old 08-05-2009, 11:10 AM   #8
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
Cool.Glad to hear it worked.
Can you use the thread tools and mark it solved.
 
Old 08-05-2009, 11:32 AM   #9
masmddr
Member
 
Registered: Jun 2005
Location: Israel
Distribution: Arch Linux
Posts: 92

Original Poster
Rep: Reputation: 16
Slipped my mind to do that.
Thanks again.
 
  


Reply



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
LXer: How To Convert Songs From An Audio CD Into MP3/Ogg Files With K3b LXer Syndicated Linux News 0 08-09-2007 08:31 PM
Can anyone recommend some good software to convert *.wav files into *mp3 files? Tom "Techno" Earl Linux - Software 4 10-12-2006 04:03 PM
How to convert .rm files to mp3 without MPlayer? tabnaka Linux - Software 3 09-29-2006 10:20 PM
How to convert rm files to mp3?? crash_override_me Linux - Desktop 2 09-07-2006 09:20 AM
Convert ogg to mp3 files? m0rl0ck Linux - Software 5 12-11-2003 01:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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