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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-03-2003, 02:01 PM
|
#1
|
Member
Registered: Nov 2002
Distribution: A totally 133t distro :)
Posts: 358
Rep:
|
Convert ogg to mp3 files?
I have a lot of music encoded as .ogg files that I'd love to be able to play in the mp3 player in my gf's car. The player only recognizes .mp3 format. Whats the best way to convert ogg to mp3? A google search turns up alot of tools for converting mp3 to ogg but not the reverse.
|
|
|
12-03-2003, 02:50 PM
|
#2
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
ogg123 -d raw -f - <myogg> | lame - <mymp3>
Code:
man lame
man ogg123
for details
Cheers,
Tink
P.S.: Only losers use the term l33t
|
|
|
12-03-2003, 03:08 PM
|
#3
|
Member
Registered: Nov 2002
Distribution: A totally 133t distro :)
Posts: 358
Original Poster
Rep:
|
Thanks Much appriciated. Jamming to the Jam while rolling down the road will make my day, if not hers
Quote:
P.S.: Only losers use the term l33t
|
So as long as Im using !133t Im safe from that label?
I think its supposed to be 1337 anyway
EDIT:
That didnt work. Just got output files with a bunch of static. Thanks for the pointer though. Now I know how to do ogg->wav->mp3.
Just had to add:
w00t! w00t! w00t!
Last edited by m0rl0ck; 12-03-2003 at 04:15 PM.
|
|
|
12-03-2003, 04:30 PM
|
#4
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
Quote:
Originally posted by m0rl0ck
Thanks :) Much appriciated. Jamming to the Jam while rolling down the road will make my day, if not hers :)
|
Pleasure mate ;)
Quote:
So as long as Im using !133t Im safe from that label?
I think its supposed to be 1337 anyway :)
|
Nuh, it's still script-kiddie gibberish ;)
Quote:
EDIT:
That didnt work. Just got output files with a bunch of static. Thanks for the pointer though. Now I know how to do ogg->wav->mp3.
|
I don't understand where the static comes from, though ...
did you tell lame to expect a raw-file, too, rather than
the default PCM?
Oh well :}
It worked in the end ;)
Cheers,
Tink
|
|
|
12-05-2003, 06:49 AM
|
#5
|
Member
Registered: Nov 2002
Distribution: A totally 133t distro :)
Posts: 358
Original Poster
Rep:
|
Quote:
Nuh, it's still script-kiddie gibberish
|
But fun as satire, yes?
Quote:
did you tell lame to expect a raw-file, too, rather than
|
Err, no. I just tried the command line you suggested and when that didnt work I read enough of the ogg123 man page to be able to do what I wanted and then wrote a perl script to do a batch conversion. I figure I saved a litle time since it takes less time to write two lines of perl than it does to read a man page
|
|
|
12-11-2003, 02:04 AM
|
#6
|
LQ Newbie
Registered: Sep 2003
Location: Utah
Distribution: Knoppix 3.2 (Debian)
Posts: 3
Rep:
|
ogg --> mp3 --> ogg
m0rl0ck,
An alternate to Tinkster's command pipe is to use
normalize-mp3 --ogg *.mp3 (converting your mp3s --> ogg)
normalize-ogg --mp3 *.ogg (converting your oggs --> mp3)
Mostly when I'm converting it's because I didn't like something in the original rip (usually the NON-normalized volume.)
During oggenc it also seems to compress better when the source was encoded on a lousy encoder (xing comes to mind. Fast as blazes, but innaccurate with lots of audio artifacts) or with poor settings or poor original quality.
Of course, re-encoding from the original WAV is best, but for a quick-and-dirty normalize-and-encode, I like these scripts.
More details (including bitrate and other fussiness) in these man pages:
man normalize-mp3
man normalize-ogg
man normalize
linuxfool
|
|
|
All times are GMT -5. The time now is 12:59 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
|
|