• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Windows Media Player Plug-in

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    Windows Media Player Plug-in

    I am new to WMP Plug-in. I want to design a MPEG4 decoder to be pluged in to WMP. I use DSP Plug-in and register it as follows and expect WMP to pass input media file directly to my Plug-in for decoding. When I debug it, the Plug-in is registerd, but it is not instantiated by WMP. WMP says it may not support media type. Instead of MEDIATYPE_Stream, I use MEDIATYPE_Audio,
    the Plug-in works and is inserted at the backend before audio renderer. How can I insert it at the frontend of WMP?

    Thanks!

    // Describe the type of data handled by the plug-in
    DMO_PARTIAL_MEDIATYPE mt = { 0 };
    mt.type = MEDIATYPE_Stream;
    mt.subtype = MEDIASUBTYPE_QTMovie;

    // Register the plug-in with WMP
    hr = spRegistrar->WMPRegisterPlayerPlugin(
    bstrFriendlyName, // friendly name (for menus, etc)
    bstrDescription, // description (for Tools->Options->Plug-ins)
    NULL, // path to app that uninstalls the plug-in
    1, // DirectShow priority for this plug-in
    WMP_PLUGINTYPE_DSP, // Plug-in type
    CLSID_DRMPlugin,// Class ID of plug-in
    1, // No. media types supported by plug-in
    &mt); // Array of media types supported by plug-in

    #2
    That's far too technical for the numpties here.

    Mostly posts about installing Windows and accidently formatting their hard drives. That kind thing.


    HTH

    Comment


      #3
      Originally posted by DimPrawn
      That's far too technical for the numpties here.

      Mostly posts about installing Windows and accidently formatting their hard drives. That kind thing.


      HTH
      I agree. I'm sorry Sir, we don't support that version here. Please contact your vendor.

      Comment


        #4
        Have you tried switching it off and back on again ??

        Comment

        Working...
        X