Jump to content

Recommended Posts

Posted

Hi everybody,

I have a common situation as programmer. I would like to write a c++ program to rip CD files to MP3. Therefore I would like to use the Windows Media Player for the encoder.

Unfortunatelly, I can't find any COM Interfaces from WMP that allows this.

May I was not able to find the right interface or may there isn't any interfaces to do so.

Any suggestions how to solve this problem?

Regards

Mario


Posted
Hi everybody,

I have a common situation as programmer. I would like to write a c++ program to rip CD files to MP3. Therefore I would like to use the Windows Media Player for the encoder.

Unfortunatelly, I can't find any COM Interfaces from WMP that allows this.

May I was not able to find the right interface or may there isn't any interfaces to do so.

Any suggestions how to solve this problem?

Regards

Mario

Why would you specifically choose WMP as the encoder?

Another possible solution would be to use the LAME encoder to rip the CD songs to MP3. LAME is much better documented and you'll probably be able to accomplish what you're after much more easily.

Posted

Thanks for your comment.

You are right, but using the WMP encoder I don't have to care about license issues.

I don't wonna pay for the MP3 license. :)

That's the reason why.

BTW: I found a way how to use remote the WMP as com, but I can only rip the entire CD and not a single track. :}

May someone have some experiences with WMP 10?

Regards

Posted

You don't have to pay to use the LAME encoder - it's free.

http://lame.sourceforge.net/license.txt

It's probably your best bet to use that instead of WMP. Another advantage is that you have the ability to make your program more cross-platform rather than just Windows based. Maybe not a priority right now, but something to keep in mind for the future.

Cheers!

  • 5 weeks later...
Posted

I'd just like to chip in and say that LAME is absolutely brilliant. I used it to record all my old (vinyl) albums, and the recordings sound just as good (or bad!) as the originals. I used the (default) VBR option as I believe that it gives the best sound quality for the smallest file size (about 1.5MB/min). WMP does not do VBR.

Full details at: http://lame.sourceforge.net/index.html

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...