Results 1 to 5 of 5
I was wondering if there is a media converter out there for Linux that can accurately convert a WMA file to an OGG file accurately, and handle at least MP3 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-30-2009 #1Linux Newbie
- Join Date
- Jul 2008
- Location
- Anaheim, CA
- Posts
- 114
WMA/MP3/OGG compatible media converter?
I was wondering if there is a media converter out there for Linux that can accurately convert a WMA file to an OGG file accurately, and handle at least MP3 files, as well. I tried using Sound Converter, available from the Ubuntu repositories, but it produced some glitchy OGG files from the WMA source files.
I know VLC can do this, and I happen to have it installed. If nothing else, could somebody tell me how to properly use the converter? It's been a while since I last did it, and I don't remember how I got it to work.
I have a few gigabytes of files I want to convert, so bulk conversion is a deal breaker.
- 09-30-2009 #2Debian GNU/Linux -- You know you want it.
- 09-30-2009 #3Linux Newbie
- Join Date
- Jul 2008
- Location
- Anaheim, CA
- Posts
- 114
Actually, no, it worked out fine. I went a little farther by converting a test file (a WMA I had tried but came out bad) to WAV, then OGG, and loaded it into VLC, and it worked fine, whereas WMA directly to OGG didn't work out as well. Plus, it's overall twenty minutes faster on my netbook.
- 10-03-2009 #4
You may want to consider using a terminal program to do the conversions. This way it can also be scripted to run on a whole directory of files.
It looks like ffmpeg can handle the conversion, something like this:
This will output at the default bit rate of 64k. To increase that to, say, 128k use this:Code:ffmpeg -i <filename>.wma -acodec libvorbis <filename>.ogg
For a script that will convert an entire folder of wma files using ffmpeg, Google it. There are many that I found.Code:ffmpeg -i <filename>.wma -acodec libvorbis -ab 128k <filename>.ogg
Paul
Please do not send Private Messages to me with requests for help. I will not reply.
- 10-11-2009 #5Linux Newbie
- Join Date
- Jul 2008
- Location
- Anaheim, CA
- Posts
- 114
I can find a whole lot of stuff on batch converting video files, but nothing on audio, more specifically, wma->ogg conversion. The closest I've found was for a FLV to some other video format with the following commands:
I have a basic understanding of setting the bitrate, input file, and output file, but this makes no sense to me at all. I'm assuming "$1" refers to all files in the current directory, but I can't seem to figure out how to get this to work for wma->ogg conversion. Here's the best I can think of, which doesn't work:Code:ffmpeg -i $1 -s 176×144 -vcodec h263 -r 25 -b 200 -ab 64 -acodec mp3 -ac 1 -ar 8000 $1.3gp
Which spits up " -acodec: no such file or directory."Code:ffmpeg -i $1 -acodec libvorbis -ab 128k $1.ogg


Reply With Quote

