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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
09-17-2006, 10:44 AM
|
#1
|
|
Member
Registered: Aug 2006
Location: South Mississippi
Distribution: Fedora Core 5
Posts: 36
Rep:
|
Easy way to convert OGG Vorbis to mp3 on Fedora
First off, I'd like to say that this thread isn't a question, but instead an answer to many questions Fedora users may have.
Recently I have searched for a way to convert OGG Vorbis to mp3 so that I could send mp3 files to Windows users so that they don't have to download an OGG player. I read that SoX (Sound Exchange) was a great program, but it was used only in the Terminal and you needed to enable mp3 support for it, which was a hassle to many users. So, I stumbled upon a simpler solution: Sound Converter.
Downloading Sound Converter
In this solution, I am assuming that you have GNOME as the default destkop environment. Go to Applications, Add/Remove Software. If you are not logged in as root, you will need to type in your password to open the program. After the Package Manager has loaded, go to Applications, Sound and Video, and click on the Optional Packages button. A new window will popup showing you all the available sound and video packages. Scroll down until you see soundconverter. A description of the program will appear beside it. Place a checkmark beside its name and click close. Then, click Apply and wait for the program to download and install. Once the installation is complete, you may now use Sound Converter.
Using Sound Converter
Sound Converter is a nice, easy to use program with a simple user interface. You can convert a single file, a multitude of files, or even a folder of files at once. To use, click on one of the buttons that say Add File or Add Folder. An open file dialog will appear. Choose a file and click Open. Then, to change your conversion options, go to Edit, Preferences. The Preferences dialog will appear. Under the heading "Type of Result?," you may choose from OGG Vorbis, MP3, FLAC, and WAV. Once you have chosen your conversion type, you may change your bitrate mode (MP3 only) or quality (OGG Vorbis and MP3 only). You can change several other options if you wish, but when you're finished, click Close. When you are ready to convert, simply click the Convert button. When you are finished, you may convert another file or folder or simply close Sound Converter.
Happy Converting!
|
|
|
|
09-25-2006, 04:10 AM
|
#2
|
|
Senior Member
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86; Gentoo PPC; Gentoo Sparc64; FreeBSD; OS X; Solaris
Posts: 3,731
Rep:
|
For those who are more CLI oriented you may like to try the script linked in my sig 
|
|
|
|
09-25-2006, 10:02 AM
|
#3
|
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,466
Rep: 
|
I thought converting Ogg Vorbis to MP3 (and vice versa) wasn't a good idea, since both are "lossy" formats and so converting one to the other means you get even more loss.. or something like that. If the Windows users you know were using Winamp (I'm sure there's other software, but this is used lots I imagine), then you wouldn't need to convert because Winamp can play Ogg Vorbis. Of course, people are free to use whatever software they want! Lastly, only the "O" in "Ogg" is capitalised.
|
|
|
|
09-25-2006, 05:01 PM
|
#4
|
|
Senior Member
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86; Gentoo PPC; Gentoo Sparc64; FreeBSD; OS X; Solaris
Posts: 3,731
Rep:
|
It's true Nylex...
However, some have more sensitive ears than others. I have been converting mp3s to ogg for a long time, and as long as the mp3 is a decent bitrate in the first place I cannot tell the difference. I suggest that anyone who is wanting to re-encode compare their new track with the original, and see if they can live with it. Like I said, maybe it was all the punk shows I went to as a kid, but my damaged ears can't tell a difference
Plus, there are some situation where you _must_ re-encode. What if you buy yourself an iPod but have GBs worth of Flac or Ogg Vorbis files? Are you going to re-rip all your CDs?
|
|
|
|
09-26-2006, 09:55 AM
|
#5
|
|
Member
Registered: Nov 2003
Distribution: Mandriva
Posts: 441
Rep:
|
Quote:
|
Originally Posted by bulliver
Plus, there are some situation where you _must_ re-encode. What if you buy yourself an iPod but have GBs worth of Flac or Ogg Vorbis files? Are you going to re-rip all your CDs?
|
Just an aside, but Flac is a lossless system, so converting from Flac to another MP3 would be no different to ripping to MP3 in the first place.
|
|
|
|
09-26-2006, 05:24 PM
|
#6
|
|
Senior Member
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86; Gentoo PPC; Gentoo Sparc64; FreeBSD; OS X; Solaris
Posts: 3,731
Rep:
|
Yeah, bad example...sorry.
|
|
|
|
11-12-2006, 10:35 PM
|
#7
|
|
Member
Registered: Mar 2003
Location: colorado springs. colorado
Distribution: Debian-Sid 2.6.24-rt1
Posts: 290
Rep:
|
Quote:
|
Originally Posted by bulliver
For those who are more CLI oriented you may like to try the script linked in my sig 
|
Hey I like it.  I've been looking for a sneetchalizer.
It seems to work well but I cannot get http://www.unixgods.org/~tilo/Ruby/I...ocs/index.html to load. So no mp3 tags.
I did find id3lib-ruby-0.4.1 here:
http://rubyforge.org/frs/?group_id=1384&release_id=6609
but I cannot get it to build. I have very little experience with Ruby so it could easily be a pebkac.
Code:
$ sudo gem install id3lib-ruby
Select which gem to install for your platform (i486-linux)
1. id3lib-ruby 0.4.1 (mswin32)
2. id3lib-ruby 0.4.1 (ruby)
3. id3lib-ruby 0.4.0 (mswin32)
4. id3lib-ruby 0.4.0 (ruby)
5. id3lib-ruby 0.3.1 (mswin32)
6. id3lib-ruby 0.3.1 (ruby)
7. id3lib-ruby 0.3.0 (ruby)
8. id3lib-ruby 0.3.0 (mswin32)
9. id3lib-ruby 0.2.1 (ruby)
10. id3lib-ruby 0.2.0 (ruby)
11. id3lib-ruby 0.1.0 (ruby)
12. Cancel installation
> 2
Building native extensions. This could take a while...
extconf.rb:1:in `require': no such file to load -- mkmf (LoadError)
from extconf.rb:1
ERROR: While executing gem ... (RuntimeError)
ERROR: Failed to build gem native extension.
Gem files will remain installed in /var/lib/gems/1.8/gems/id3lib-ruby-0.4.1 for inspection.
Results logged to /var/lib/gems/1.8/gems/id3lib-ruby-0.4.1/ext/gem_make.out
glenn@hestviken:~/Downloads/id3lib-ruby-0.4.1$ sudo cat /var/lib/gems/1.8/gems/id3lib-ruby-0.4.1/ext/gem_make.out
So much for the log file eh?
Try it another way:
Code:
$ sudo ruby setup.rb
---> lib
---> lib/id3lib
<--- lib/id3lib
<--- lib
---> ext
/usr/bin/ruby1.8 /home/glenn/Downloads/id3lib-ruby-0.4.1/ext/extconf.rb
/home/glenn/Downloads/id3lib-ruby-0.4.1/ext/extconf.rb:1:in `require': no such file to load -- mkmf (LoadError)
from /home/glenn/Downloads/id3lib-ruby-0.4.1/ext/extconf.rb:1
setup.rb:655:in `command': system("/usr/bin/ruby1.8" "/home/glenn/Downloads/id3lib-ruby-0.4.1/ext/extconf.rb") failed (RuntimeError)
from setup.rb:660:in `ruby'
from setup.rb:1238:in `extconf'
from setup.rb:1230:in `config_dir_ext'
from setup.rb:1532:in `__send__'
from setup.rb:1532:in `traverse'
from setup.rb:1549:in `dive_into'
from setup.rb:1530:in `traverse'
from setup.rb:1524:in `exec_task_traverse'
from setup.rb:1519:in `each'
from setup.rb:1519:in `exec_task_traverse'
from setup.rb:1223:in `exec_config'
from setup.rb:991:in `exec_config'
from setup.rb:812:in `invoke'
from setup.rb:773:in `invoke'
from setup.rb:1578
And from here I'm clueless. Debian Sid BTW.
|
|
|
|
12-01-2006, 05:56 PM
|
#8
|
|
LQ Newbie
Registered: Nov 2006
Posts: 1
Rep:
|
Quote:
|
Originally Posted by rickenbacherus
And from here I'm clueless. Debian Sid BTW.
|
Hey.. In Debian, Ruby is divided into several packages, maybe you are missing one of those. Try installing ruby1.8-dev. You will also need libid3-3.8.3-dev. Good luck 
|
|
|
|
12-29-2006, 05:51 PM
|
#9
|
|
LQ Newbie
Registered: Oct 2006
Location: Murchison
Distribution: ubuntu dapper
Posts: 2
Rep:
|
All well and god, However when I go into "preferences" in sound converter the mp3 option is not available to me. I can click on the others but mp3 is dulled. How can I change that please?
|
|
|
|
02-07-2007, 08:08 AM
|
#10
|
|
Member
Registered: Mar 2003
Location: colorado springs. colorado
Distribution: Debian-Sid 2.6.24-rt1
Posts: 290
Rep:
|
IIRC you need lame installed to convert to mp3. Try firing up soundconverter from cli and it should tell you the problem.
|
|
|
|
04-26-2007, 07:06 PM
|
#11
|
|
LQ Newbie
Registered: Jul 2003
Distribution: Debian
Posts: 3
Rep:
|
You need to run:
Code:
$ sudo apt-get install ruby1.8-dev
Then you can re-try:
Code:
$ sudo gem install id3lib-ruby
Quote:
Code:
Building native extensions. This could take a while...
extconf.rb:1:in `require': no such file to load -- mkmf (LoadError)
from extconf.rb:1
ERROR: While executing gem ... (RuntimeError)
ERROR: Failed to build gem native extension.
Gem files will remain installed in /var/lib/gems/1.8/gems/id3lib-ruby-0.4.1 for inspection.
|
|
|
|
|
10-22-2007, 05:08 PM
|
#12
|
|
Member
Registered: Oct 2006
Distribution: debian
Posts: 124
Rep:
|
Re converting ogg to mp3 on the command line:
Quote:
Originally Posted by bulliver
For those who are more CLI oriented you may like to try the script linked in my sig 
|
wot sig?
I'm sure you meant:
oggdec file.ogg && lame file.wav
where:
* oggdec is in the vorbis-tools package available from xiph.org and
* lame is an mp3 encoder available from sourceforge.
I'm sorry, but just now I don't know of a decent way of playing .ogg from inside a web page. VLC plays vorbis movies nicely from inside a page but for audio it behaves as if it's chopping off the first few hundred bytes of data. Three cheers for the ogg team but they have just a li'l further to go before I can convert completely.
|
|
|
|
10-22-2007, 08:40 PM
|
#13
|
|
Senior Member
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86; Gentoo PPC; Gentoo Sparc64; FreeBSD; OS X; Solaris
Posts: 3,731
Rep:
|
Quote:
wot sig?
I'm sure you meant:
|
Nope. I mean the script linked in my sig:
|
|
|
|
10-23-2007, 07:45 PM
|
#14
|
|
Member
Registered: Oct 2006
Distribution: debian
Posts: 124
Rep:
|
Sorry, had a blind moment. Thought you were saying that once you've gone to ogg there should be NO RETURN. Eventually I'm sure that'll be right.
Last edited by Tischbein; 10-23-2007 at 07:47 PM.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:00 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|