IT Community - Software Programming, Web Development and Technical Support

conversion from ogg to mp3

This is a discussion on conversion from ogg to mp3 within the Operating Systems forums, part of the Computer Hardware/Software and Networking category; hi can anyone suggest a good command line tool for conversion of files from ogg to mp3?...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Computer Hardware/Software and Networking > Operating Systems

Register FAQ Members List Calendar Mark Forums Read
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 01-11-2008, 05:13 AM
JSureshkumar JSureshkumar is offline
D-Web Sr.Programmer
 
Join Date: Feb 2007
Location: in someone's heart
Posts: 139
JSureshkumar is on a distinguished road
Send a message via Skype™ to JSureshkumar
Default conversion from ogg to mp3

hi
can anyone suggest a good command line tool for conversion of files
from ogg to mp3?
__________________
J Suresh Kumar
Google Hacks
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 01-11-2008, 05:15 AM
arjkhanna arjkhanna is offline
D-Web Genius
 
Join Date: Mar 2007
Posts: 1,102
arjkhanna is on a distinguished road
Default Re: conversion from ogg to mp3

fmpeg -i Epoq-Lepidoptera.ogg -vn -ab 64k -ac 1 -ar 22050 -acodec
libmp3lame Epoq-Lepidoptera.mp3

You can use this for all kind of conversions like extracting audio
only from a video also.
__________________
A.Rajesh Khanna
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-11-2008, 09:54 PM
JSureshkumar JSureshkumar is offline
D-Web Sr.Programmer
 
Join Date: Feb 2007
Location: in someone's heart
Posts: 139
JSureshkumar is on a distinguished road
Send a message via Skype™ to JSureshkumar
Default Re: conversion from ogg to mp3

tying this..

fmpeg -i Epoq-Lepidoptera.ogg -vn -ab 64k -ac 1 -ar 22050 -acodec
libmp3lame Epoq-Lepidoptera.mp3

i get " unknown codec lipmp3lame "
__________________
J Suresh Kumar
Google Hacks
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-11-2008, 09:58 PM
nnraja nnraja is offline
D-Web Programmer
 
Join Date: May 2007
Posts: 94
nnraja is on a distinguished road
Default Re: conversion from ogg to mp3

You have to have the mp3lame codec package installed.

Fedora package is lame, on Mandriva see this
Organize your music with Mandriva Linux You have to add another
repository to your urpmi sources.

Thanks
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-11-2008, 10:07 PM
shaalini shaalini is offline
D-Web Analyst
 
Join Date: Apr 2007
Posts: 342
shaalini is on a distinguished road
Default Re: conversion from ogg to mp3

I tried and it works too.

$ ffmpeg -i foo.ogg foo.mp3

There is more than one way to skin a cat.

$ sox foo.ogg foo.mp3

$ ogg2mp3 foo.ogg

Multiple pass method.

$ oggdec foo.ogg

$ lame -b 112 foo.wav foo.mp3

There are also other mp3 encoders (excluding ffmpeg) called toolame and
twolame. There is bladeenc but I hear it is not that good.

Of course you can use transcode(1) and mencoder(1) for the same purpose
with the null video input switch.
__________________
Shaalini.S
Be the Best of Whatever you are...
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-11-2008, 10:16 PM
JSureshkumar JSureshkumar is offline
D-Web Sr.Programmer
 
Join Date: Feb 2007
Location: in someone's heart
Posts: 139
JSureshkumar is on a distinguished road
Send a message via Skype™ to JSureshkumar
Default Re: conversion from ogg to mp3

okay works - cool
__________________
J Suresh Kumar
Google Hacks
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 01-11-2008, 10:19 PM
arjkhanna arjkhanna is offline
D-Web Genius
 
Join Date: Mar 2007
Posts: 1,102
arjkhanna is on a distinguished road
Default Re: conversion from ogg to mp3

Is this a good idea, converting from one lossy format to another ?
__________________
A.Rajesh Khanna
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 01-11-2008, 10:46 PM
shaalini shaalini is offline
D-Web Analyst
 
Join Date: Apr 2007
Posts: 342
shaalini is on a distinguished road
Default Re: conversion from ogg to mp3

While there are many tools to do this, this is in general not a good
idea since you would have a definite loss of quality converting from one
lossy format to another.

If you are ripping, rip into lossless formats like FLAC initially and
then use it for conversion into other lossy formats like Ogg Vorbis for
general usage.
__________________
Shaalini.S
Be the Best of Whatever you are...
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 01-11-2008, 10:48 PM
nnraja nnraja is offline
D-Web Programmer
 
Join Date: May 2007
Posts: 94
nnraja is on a distinguished road
Default Re: conversion from ogg to mp3

This is good advice.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 01-11-2008, 11:01 PM
satheesh satheesh is offline
D-Web Programmer
 
Join Date: Aug 2007
Posts: 95
satheesh is on a distinguished road
Default Re: conversion from ogg to mp3

I hope the question is rhetorical. It is better to digitize in FLAC
format (assuming you have enough disk space) if the intent is to
archive your music and then convert it to whatever format your portable
playback device supports.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 01-11-2008, 11:37 PM
JSureshkumar JSureshkumar is offline
D-Web Sr.Programmer
 
Join Date: Feb 2007
Location: in someone's heart
Posts: 139
JSureshkumar is on a distinguished road
Send a message via Skype™ to JSureshkumar
Default Re: conversion from ogg to mp3

what to do? no one can get ogg to work on their machines so I have to
switch to mp3
__________________
J Suresh Kumar
Google Hacks
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 01-11-2008, 11:39 PM
arjkhanna arjkhanna is offline
D-Web Genius
 
Join Date: Mar 2007
Posts: 1,102
arjkhanna is on a distinguished road
Default Re: conversion from ogg to mp3

On most GNU/Linux systems ogg will play by default. On Windows and
Macs ,VLC can play ogg. See playogg.org

It can be easily setup to work with Windows Media Player after
installing the codec from Vorbis.com: Windows Setup
__________________
A.Rajesh Khanna
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 01-11-2008, 11:45 PM
JSureshkumar JSureshkumar is offline
D-Web Sr.Programmer
 
Join Date: Feb 2007
Location: in someone's heart
Posts: 139
JSureshkumar is on a distinguished road
Send a message via Skype™ to JSureshkumar
Default Re: conversion from ogg to mp3

Arichuvadi <------- this site works only on mandriva and suse
__________________
J Suresh Kumar
Google Hacks
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 01-11-2008, 11:49 PM
satheesh satheesh is offline
D-Web Programmer
 
Join Date: Aug 2007
Posts: 95
satheesh is on a distinguished road
Default Re: conversion from ogg to mp3

What doesn't work on other OS?
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 01-11-2008, 11:53 PM
JSureshkumar JSureshkumar is offline
D-Web Sr.Programmer
 
Join Date: Feb 2007
Location: in someone's heart
Posts: 139
JSureshkumar is on a distinguished road
Send a message via Skype™ to JSureshkumar
Default Re: conversion from ogg to mp3

Nothing but not able to play the audio on the site
__________________
J Suresh Kumar
Google Hacks
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #16 (permalink)  
Old 01-11-2008, 11:55 PM
nnraja nnraja is offline
D-Web Programmer
 
Join Date: May 2007
Posts: 94
nnraja is on a distinguished road
Default Re: conversion from ogg to mp3

works well in my gentoo....
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #17 (permalink)  
Old 01-13-2008, 10:47 PM
shaalini shaalini is offline
D-Web Analyst
 
Join Date: Apr 2007
Posts: 342
shaalini is on a distinguished road
Default Re: conversion from ogg to mp3

Works in the "Greatest and latest" distro as well.
__________________
Shaalini.S
Be the Best of Whatever you are...
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #18 (permalink)  
Old 01-13-2008, 10:49 PM
satheesh satheesh is offline
D-Web Programmer
 
Join Date: Aug 2007
Posts: 95
satheesh is on a distinguished road
Default Re: conversion from ogg to mp3

I must report that I have been unable to get it to work on
Debian, but not because I can't play oggs (all my music is in ogg). The
problem I face is that the Play button is unclickable (on pages like
Arichuvadi)
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #19 (permalink)  
Old 01-13-2008, 10:56 PM
nnraja nnraja is offline
D-Web Programmer
 
Join Date: May 2007
Posts: 94
nnraja is on a distinguished road
Default Re: conversion from ogg to mp3

Exactly the same problem in Fedora.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #20 (permalink)  
Old 01-13-2008, 11:07 PM
arjkhanna arjkhanna is offline
D-Web Genius
 
Join Date: Mar 2007
Posts: 1,102
arjkhanna is on a distinguished road
Default Re: conversion from ogg to mp3

source code is there on the site - if it clicks in mandriva, suse,
gentoo and the 'latest and greatest distro' why shouldn't it click in
Debian and Fedora?
__________________
A.Rajesh Khanna
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

LinkBacks (?)
LinkBack to this Thread: http://www.discussweb.com/operating-systems/4953-conversion-ogg-mp3.html
Posted By For Type Date
DiscussWeb IT Community - Technical Support and Technology Discussions This thread Refback 01-13-2008 10:45 PM

Similar Threads
Thread Thread Starter Forum Replies Last Post
Conversion error Kirubhananth ASP and ASP.NET Programming 4 03-12-2008 10:03 PM
Conversion constructor vijayanand C and C++ Programming 0 09-21-2007 03:36 AM
Embedded Currency Conversion Alkazar HTML, CSS and Javascript Coding Techniques 1 08-27-2007 07:57 AM
How to do a type conversion in VC++ .NET? bluesky C and C++ Programming 2 08-10-2007 05:38 AM
Type conversion from arraylist to string in C# oxygen C# Programming 3 07-30-2007 09:47 AM


All times are GMT -7. The time now is 02:00 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0