Converting from wma to mp3

Hello all,

i would like to write a program that converts from wma to mp3 in C. I know it is easy to do it with a script but i would like to do it with C. I would like to know which libs i might need(if any), and what man pages i should read. I have a little experience with C(some exercises from the K&R book) but any kind of info is appreciated.

wow... I'm surprised you have wmas on purpose. I think the last time I saw wma files was when I had a really cheap mp3 player that synched using media player. Media player converted my nice mp3s to wmas before transfers, despite that the device could of course use mp3. And that is the reason I don't use media player anymore. I turned the "feature" off but in principle it was ridiculous.

If you must know then yes that's me. After posting to this forum, i joined a C related irc channel and was adviced not to start with wma and that i would just stick with reading info from wav files because it would be easier. Since there was no answer yet on this thread , i also posted on dev shed to increase the possibilities to earn a helpful answer but this time posting a thread according to th e advice.

wow... I'm surprised you have wmas on purpose. I think the last time I saw wma files was when I had a really cheap mp3 player that synched using media player. Media player converted my nice mp3s to wmas before transfers, despite that the device could of course use mp3. And that is the reason I don't use media player anymore. I turned the "feature" off but in principle it was ridiculous.

If that is the problem just do it again with the feature off.

I don't have wmas on purpose but that doesn't change the fact that it would be interesting/helpful for learning how to do it even if don't use them. I'll make it just in case i need it.

"Hey, I've just made a paper airplane, tell me all about jet engines".
Somehow, I get the feeling you're just a few weeks past the "hello world" stage and you're looking for something to do.

> Any suggestions from where to start?
How about a plan of learning involving some steps to your goal.

For example, begin with a much less ambitious project which does "interesting things" to a mp3 file, to get you really familiar with it.
Say
- swap left and right channels
- extract a segment
- clip the volume
etc etc

Sure, we could just post a bunch of links to "xxx file format" (where xxx is wav,mp3 or whatever else floats your boat).
But where would your effort be in all of this?

"Hey, I've just made a paper airplane, tell me all about jet engines".
Somehow, I get the feeling you're just a few weeks past the "hello world" stage and you're looking for something to do.

> Any suggestions from where to start?
How about a plan of learning involving some steps to your goal.

For example, begin with a much less ambitious project which does "interesting things" to a mp3 file, to get you really familiar with it.
Say
- swap left and right channels
- extract a segment
- clip the volume
etc etc

Sure, we could just post a bunch of links to "xxx file format" (where xxx is wav,mp3 or whatever else floats your boat).
But where would your effort be in all of this?

Yes, i'm looking for something interesting than just solving exercises. It's not bad solving exercises but i would like to do certain things like what i mentioned before.(which is an exrecise after all :P)

You are making some suggestions, though can you tell me where i can find info about what you mentioned?