LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mp3 to ogg (https://www.linuxquestions.org/questions/linux-newbie-8/mp3-to-ogg-637026/)

bkcreddy17 04-22-2008 08:36 AM

mp3 to ogg
 
hi, is there any command to convert mp3 files to ogg format.
...........Thank you............

Simon Bridge 04-22-2008 08:44 AM

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.

bkcreddy17 04-22-2008 11:42 PM

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.

Simon Bridge 04-23-2008 12:25 AM

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/

bkcreddy17 04-23-2008 01:52 AM

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.

Emerson 04-23-2008 07:31 AM

Another helper is mp32ogg, it retains the tags, too.

Simon Bridge 04-23-2008 07:45 AM

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.

Simon Bridge 04-23-2008 09:30 AM

Quote:

Originally Posted by Emerson (Post 3130191)
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.


All times are GMT -5. The time now is 11:35 PM.