LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-22-2008, 09:36 AM   #1
bkcreddy17
Member
 
Registered: Feb 2008
Location: India-Hyderabad
Distribution: RHEL and Fedora
Posts: 171

Rep: Reputation: 15
mp3 to ogg


hi, is there any command to convert mp3 files to ogg format.
...........Thank you............
 
Old 04-22-2008, 09:44 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
The oggconvert command helps - but you normally have to install it.
I use ffmpeg2theora with the following script:
Code:
#! /bin/bash

for file in *.mp3
do
ffmpeg2theora $file
rm $file
done
This will convert all the mp3 files in a directory to ogg format, then erase the originals. It will actually work with any files that ffmpeg recognizes - like flv and mpeg.
 
Old 04-23-2008, 12:42 AM   #3
bkcreddy17
Member
 
Registered: Feb 2008
Location: India-Hyderabad
Distribution: RHEL and Fedora
Posts: 171

Original Poster
Rep: Reputation: 15
Thank you, is this command available on fedora8 and rhel5? because i am using fedora8 at home an rhel5 in my office. i dont have internet at my home.
 
Old 04-23-2008, 01:25 AM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
For fedora -
su -C yum install ffmpeg2theora

For RHEL - no idea, check up2date servers. You may need to ask the sysadmin to install it. Or you can go to the source:
http://v2v.cc/~j/ffmpeg2theora/download.html

Sound Converter is an application for gnome.
http://www.linuxquestions.org/questi...fedora-484356/
 
Old 04-23-2008, 02:52 AM   #5
bkcreddy17
Member
 
Registered: Feb 2008
Location: India-Hyderabad
Distribution: RHEL and Fedora
Posts: 171

Original Poster
Rep: Reputation: 15
Thank you Simon Bridge,
I have downloaded ffmpeg2theora-0.20.tar.bz2 and unzipped in it gave many files. now how to insatll "ffmpeg2theora" command or rpm? i did not find any rpm or command? can you plz tell me the steps clearly? Thank you.
 
Old 04-23-2008, 08:31 AM   #6
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,872

Rep: Reputation: Disabled
Another helper is mp32ogg, it retains the tags, too.
 
Old 04-23-2008, 08:45 AM   #7
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Good grief - tell me you least tried the yum install? What about trying the binary from the same page?

This is a source code install. Not rpm. You have to compile it.
One of the files is called "README" - did you read it?
One of the files is called "INSTALL" - did you read it?
There is also documentation in there - read it, it has instructions.

But seriously - try the binary.

Last edited by Simon Bridge; 04-23-2008 at 08:51 AM.
 
Old 04-23-2008, 10:30 AM   #8
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
Originally Posted by Emerson View Post
Another helper is mp32ogg, it retains the tags, too.
Yep - it's a script that uses lame and oggenc- I used to use it.

IIRC: ffmpeg2theora retains the tags too, unless you say not to.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Speaking of .ogg vs .mp3 - .mp3 format now the center of legal battles Shadoglare Linux - News 1 04-16-2007 12:02 PM
MP3 or OGG in C exvor Programming 2 05-20-2006 03:22 PM
*.ogg --> *.mp3 zeky Linux - Software 3 04-11-2006 09:18 PM
OGG to MP3 moosegoose Slackware 11 12-27-2005 10:54 AM
ogg to mp3 minm Linux - Software 4 08-19-2004 08:00 AM


All times are GMT -5. The time now is 09:11 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration