Hello,
Thank you for taking time to write the reply.
My "story" is that from an advertisement on the Internet I learned about the products that add MP3 rip capability to the WMP. First I thought that WMP implements a hook allowing other software components to use its CD-reading services and UI to output the result - in this case such software would have to perform the encoding and writing file operations while the player does the rest. If I wrote the WMP and my task was allowing ripping plug-ins - I would do it this way: if not WMA only - why the only MP3 addition? My first supposition was that it would be probably enough to write a kind of DSP plugin. I decided that if it is true - I could spent some time to write a couple of plug-ins or DMO-s or whatever else what is needed to make the WMP able to output, yes, exactly, FLAC and Vorbis encoded files (I am not completely new to the multimedia and COM (DirectShow as well) programming) and put the result somewhere on the Internet - like the effort of the people developing those things and would like to help to popularize them somewhat. Unfortunately, my supposition about WMP extensibility was wrong.
Generally, WMP- and especially CD ripping-related questions are outside of the scope of my interests and activities, so I probably asked such a naive question that no one could understand - if everyone knows that there is MP3 ripping possibility in WMP and it is defined in the registry - it might really be difficult to understand what my question is about.
By the way, have you seen my other question - about WM acceleration? It may also be naive - I worked a bit with WM quite long ago - in the times of version 7. Accidentally found info about the WM acceleration API - was curious about playing with different "traditional software" implementations of motion estimation (not really "hardware accelerarion" but why not?) in WMP or doing processing on a DSP board (closer to "hardware acceleration") and get some idea about what (if anything) I can get from it. But my DLL was never loaded (this is actually what I more or less expected - the life would be too easy if everything always worked without complications and exactly as described). I monitored registry access during misc encoding sessions (used Windows Media Encoder an Regmon) - could not see that the key in which the DLL path is stored was ever accessed, moreover I did not notice any registry access which could be relevant to the subject.
Best Regards
Denis Linine
Scott Harrison wrote:
HI Dennis, Yes, that is simply registering a MP3 codec, to rip to MP3, that is a feature of the Player. Not 100% sure without looking at it directly, (I don’t use any of those packs) but that menu option is likely an extension of the MP3 ripping feature, perhaps, what you are seeing is the “PreferredCodecName” of the MP3 codec that was registered , rather than simply “MP3” as the player has by default. It’s not a feature to provide arbitrary extensibility, its specific to MP3 ripping, http://msdn2.microsoft.com/en-us/library/ms867686.aspx sorry for my misunderstanding about the nature of your question, I thought it was about extending the player to rip to an arbitrary format. I suspect a DSP plug-in is probably the closest to what you describe about getting data from WMP but it’s not exactly what I mistook the original question to be.
There are several plug-in interfaces you might want to review in the Windows Media Player SDK.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmpsdk11/mmp_sdk/windowsmediaplayerplugins.asp?frame=true
In theory you might be able to create a DSP plug-in that outputs to some format, but that’s going to be limited to only being able to work with clear (unprotected) content at best. And Is not what I originally envisioned you wanted to do, where a user can insert a shiny disc and have the player spit out an arbitrary format. Encoding to MP3 like WMA is a specific feature of the player, its not part of the platform API set.
<side mostly off topic comment>
You can add support other formats, for playback ,via a dshow filter, or in Vista with a Media Foundation transform, which will permit the player to support alternate formats. For example here are a couple I use to play FLAC files encoded with OOG.
http://www.illiminable.com/ogg/ ( I even had a plug-in that integrated FLAC with the WMP library so I could edit the metadata from within WMP at one point but not had a chance to see if that still works for me on Vista, some of the plug-ins have been deprecated in WMP11) - YA – I use FLAC/OOG, it works best for some of the scenarios that are important to me - <GRIN> for those others that want us to admit that there is more than WM in the media world. There I did it. .... J And sure I would love to rip to this format from WMP , then I could quit using the other music manager software I use just to get some things into FLAC; but that’s not a feature that is part of the platform APIs. Ripping is a feature of the player rather than a general framework for extensibility, perhaps that’s clear by now J
As you will probably deduce after reading if you’re not familiar the Media Player SDK already, most of the interfaces that are exposed are about consuming alternative forms of content in the player, (such as the conversion plug-in interface) rather than using the player as a general purpose application for creating content in arbitrary formats. Probably the most widely used method for plugging alternative formats and extending is by using DirectShow (the directshow sdk would be something you might want to review but not directly relevant to the question as I understand), but again DSHOW filters would be useful mostly for getting data into the player, rather than out of in a general sense.
Not sure if this really helps what you’re trying to accomplish, but at least I hope this illustrates where to look for more information (start with the WMP SDK), if I am missing something more, please let me know. If you have more questions will try to be helpful with additional pointers.
Hope that helps
Scott-
From: WMTalk [mailto:WMTalk (AT) DISCUSSMS (DOT) HOSTING.LSOFT.COM] On Behalf Of Denis Linine
Sent: Sunday, October 22, 2006 6:39 PM
To: WMTalk (AT) DISCUSSMS (DOT) HOSTING.LSOFT.COM
Subject: Re: What kind of WMP plug-in is needed to extend CD ripping functionality?
After reading some (not very relevant) articles found on the Internet got an impression that the WMP may simply display a list of codecs meeting certain criteria and use them when ripping.
Thank you.
But how the MP3 XPack achieves integration with the player UI? After installing the MP3 XPack I can see the "InterVideo MP3" option in the "Rip Music" tab of the options menu. I also think it is quite possible that MP3 XPack software itself does not deal with CD - might be it receives input data from the WMP? Integration with the WMP is the point of the question, not CD ripping itself.
Best regards
Denis Linine
--- Users Guide http://DISCUSSMS.HOSTING.LSOFT.COM/archives/mailfaq.html contains important info. Save time, search the archives at http://DISCUSSMS.HOSTING.LSOFT.COM/archives/index.html . To unsubscribe, mailto:WMTalk-signoff-request (AT) DISCUSSMS (DOT) HOSTING.LSOFT.COM
--- Users Guide http://DISCUSSMS.HOSTING.LSOFT.COM/archives/mailfaq.html contains important info. Save time, search the archives at http://DISCUSSMS.HOSTING.LSOFT.COM/archives/index.html . To unsubscribe, mailto:WMTalk-signoff-request (AT) DISCUSSMS (DOT) HOSTING.LSOFT.COM