User not logged in - login - register
Home Calendar Books School Tool Photo Gallery Message Boards Users Statistics Advertise Site Info
go to bottom | |
 Message Boards » » Command line convert wma to mp3 Page [1]  
Deshman007
All American
3245 Posts
user info
edit post

I have looked on Google, but can't find a good program that will convert wma to mp3 on the command line. I want to write a batch file that will run a program to convert all my wma files to mp3 without the need for a GUI. Thx in advance!

11/10/2006 3:23:54 PM

ncsuapex
SpaceForRent
37776 Posts
user info
edit post

I'm assuming you're using Linux?

I use this to convert all the wav's in a directory to mp3s. Might want to experiment some to get it to do wma..


#!/bin/bash -
# wav2mp3all

FILES=`ls *.wav`

for i in $FILES; do
OUT=`echo $i | sed -e 's/.wav//'`
lame -h -b 32 $i $OUT.mp3
done



I have the bitrate at 32 because its audio recordings from an AM broadcast.. You'll want to bumpt that up depending on what you are converting.

11/10/2006 3:35:38 PM

Deshman007
All American
3245 Posts
user info
edit post

i'm actually using XP.....should have said that in orginal post

looks like i'm going to need to convert wma to wav to mp3

[Edited on November 10, 2006 at 3:42 PM. Reason : ugh]

11/10/2006 3:42:06 PM

ncsuapex
SpaceForRent
37776 Posts
user info
edit post

oh.. cant help ya with windows...

11/10/2006 4:29:18 PM

Deshman007
All American
3245 Posts
user info
edit post

i know there is atleast 1 program out there that can do what i want!

[Edited on November 10, 2006 at 5:07 PM. Reason : sdf]

11/10/2006 4:43:09 PM

Shaggy
All American
17820 Posts
user info
edit post

cdex will do the conversion and i believe it has a command line tool.

of you cant convert wma's that are DRM'd

11/10/2006 5:11:18 PM

JonHGuth
Suspended
39171 Posts
user info
edit post

with wmp10 i had a plugin that allowed me to convert to mp3, so there are plugins that do what you want. something like "ImTOO WMA MP3 Converter"

also windows media encoder has a command line encoder that is available for download free from microsoft

11/10/2006 5:26:45 PM

Shaggy
All American
17820 Posts
user info
edit post

wmencoder does * -> wma/wmv. I dont think it will go the other way. But you're right it does have a very good and very exstensive command line tool.

Wmp10 may even let you just to file save as mp3. I haven't checked.

11/10/2006 5:32:08 PM

JonHGuth
Suspended
39171 Posts
user info
edit post

i actually didnt load it and look, but google says that it will go wma -> mp3

11/10/2006 5:33:22 PM

Perlith
All American
7620 Posts
user info
edit post

That Linux post did bring up a good point, look up the lame encoder. Not sure what it's availability is for independent/command-line, but I know it's used by Winamp, and probably a couple of other big products for their conversion stuff.

11/11/2006 6:00:03 AM

Deshman007
All American
3245 Posts
user info
edit post

bump, can't seem to find one to work for me that is freeware...

11/28/2006 5:52:51 PM

JonHGuth
Suspended
39171 Posts
user info
edit post

i dont think fairuse supports the new key yet

11/28/2006 6:15:52 PM

Deshman007
All American
3245 Posts
user info
edit post

i didn't dl the new key and mine still works

11/29/2006 5:45:46 PM

 Message Boards » Tech Talk » Command line convert wma to mp3 Page [1]  
go to top | |
Admin Options : move topic | lock topic

© 2024 by The Wolf Web - All Rights Reserved.
The material located at this site is not endorsed, sponsored or provided by or on behalf of North Carolina State University.
Powered by CrazyWeb v2.38 - our disclaimer.