Playing ASF files with third part content using WMP 11 / Vista

Hello,

I have generated some .ASF files containing a MPEG-4 video stream.

I'm able to play these files with WMP 11 on Windows XP using a DMO without any problems.

But when I try to play these files on Vista, WMP shows an error indicating that not decoder is available. (But I still can play them on graphedit using the DMO, so the DMO is registered)

The question is: Is it required to convert the DMO to a MFT for being able to play ASF with third part content in WMP Or is just a bug in Vista

Many thanks and regards !

/John Fredman

 

 



Answer this question

Playing ASF files with third part content using WMP 11 / Vista

  • Roger Mitchell

  • Ayooya

    That's good to know.
    Sorry for giving you the wrong info then, John. I guess the authors of my DMO took that into account and implemented both interfaces on their component.
    However, this leads to another somewhat related question: What about WMP on Vista and custom file extensions
    MSDN page http://msdn2.microsoft.com/en-us/library/aa392808.aspx lists runtime values 6 (WM Format SDK), 7 (DirectShow), and 13 (conversion plug-in). Does WMP11/Vista support playback of non-ASF files via Media Foundation And if so, which runtime value would you set to indicate the use of MF
    Thanks,
    Dennis

  • WV John

    Hi Dennis,

    Many thanks!! Then I will investigate more on that issue..

    I have 5 DMOs that have worked without problems in XP and W2k..so I hope I will find out..

    thanks again!

    /John


  • noodlenozzle

    Well as no one answers this..

    As explained in the WM SDK, it is possible to embedded different media streams in an .ASF file others than WM...unfortunatly we use that...and it seems that someone did forget about it when designing WMP / WMF

    Now the fun thing is that if I add a dummy script stream to my files, they  will play in WMP as WMF will not be used for playing these !!!

    I guess this is another example  how Vista + WMF breaks back compatibility, and how you people manage to do that and have a product shipped is above my understanding..

    Time to convert DMO to MFT and pray...


  • Suraj Guptha

    Hi John,

    If you create content with a 3rd party codec in ASF contanier, to play this content in MF pipeline, you will need to create an MFT decoder.

    Media Foundation does not search for DMOs when looking for decoders.



  • Shaolyen

    Meanwhile, I will have us investigate over here. Bonus points if you can post some example content somewhere I can get to it.

  • su45937

    I'm sorry I don't know why your DMO does not work. However, maybe it is some relief for you that it is not required to port DMOs to MFT. I have seen a DMO playing ASF/3rd party content in WMP11 on Vista since RC1, so I know it is possible.

    Maybe there is an issue with your DMO that simply didn't surface on XP.

    Dennis


  • dalila

    Hi

    Thanks, I was not interested in playing these files with Media Foundation or any pipeline but with Windows Media Player 11 on Vista.

    I think it is infortunated that for years we have being forced to convert DirectShow filters to DMO for playing that kind of content in WMP and now suddenly it is not back compatible and we are forced to change them one more time to MFT.

    But I have to thank you for clarifying that...

    If you are still interested in the files they are located at :

    http://xcstudio.com/dmo.zip

    the zip is containing  an asf file with a video stream of just JPEG pictures and a DMO for 'MJPG' fourcc, a combination that only in WMP11 and Vista dosen't work :(

     

    regards and thank you again!


  • Cagespear

    Hi,

    It is strange, but the DMO contructor is never called, so I logged all the WMP register readings and it looks that WMP spans mfpmp.exe. 

    mfpmp.exe only reads settings under these keys: 

    HKCU\Software\Classes\MediaFoundation\Transforms\

    HKCR\MediaFoundation\Transforms\

    HKCR\MediaFoundation\Transforms\Categories\

    before WMP prompts an error about decoders not available...It dosen't search for other places or try to read other keys in the register :(:(:(

    Someone from WMF team could confirm that DMOs are used when playing thirdy part content  ASF in Vista Final

    regards and thanks

     

     

     

     

     

     

     


  • Ted12893

    Hi Becky

    I can provide you with a DMO and and an ASF sample, just drop me one email to

    john.fredman_at_gmail.com

    and I will send you the files (about 5 MB)...

    regards


  • Playing ASF files with third part content using WMP 11 / Vista