locked
WMP11, MediaFoundation ASF compatibility problem / BUG RRS feed

  • Question

  • Hi,

    I am working on a system that generate custom ASF files, these files are created using the IWM*.* ASF APIs ( Format SDK ).


    All custom ASF files play w/o any problems on WinXP and 2K ( WMP9, WMP10, WMP6.4, ... ), on Vista, the same file doesn't play, rather, wmplayer.exe is opened, saying "Media changing..." and loading one of the cores to 100% indefinetely.


    For me this seem like a problem with WMP11 which AFAIK doesn't use DirectShow but MediaFoundation, speaking of which, when using graphedt.exe on Vista the same file play w/o any problem.

    Neither of the following hot fixes resolve the problem:
    http://support.microsoft.com/kb/947403/en-us
    http://support.microsoft.com/kb/946665/en-us

    Bellow is a sample of the serialized WMProfile used to generate the ASF file
    ( It uses WMV9 & WMA9 for A/V compression ):

    <profile version="589824" storageformat="1" name="" description="">
    <streamconfig majortype="{73646976-0000-0010-8000-00AA00389B71}"
    streamnumber="1" streamname="Video" inputname="Video connection 01"
    bitrate="1515520" bufferwindow="0" reliabletransport="0" decodercomplexity=""
    rfc1766langid="video">
    <videomediaprops maxkeyframespacing="16683350" quality="1" />
    <wmmediatype subtype="{33564D57-0000-0010-8000-00AA00389B71}"
    bfixedsizesamples="0" btemporalcompression="1" lsamplesize="230400">
    <videoinfoheader dwbitrate="1515520" dwbiterrorrate="0"
    avgtimeperframe="333667">
    <rcsource left="0" top="0" right="0" bottom="0" />
    <rctarget left="0" top="0" right="0" bottom="0" />
    <bitmapinfoheader biwidth="320" biheight="240" biplanes="1" bibitcount="24"
    bicompression="WMV3" bisizeimage="0" bixpelspermeter="0" biypelspermeter="0"
    biclrused="0" biclrimportant="0" codecdata="4F791A01" />
    </videoinfoheader>
    </wmmediatype>
    </streamconfig>
    <streamconfig majortype="{73647561-0000-0010-8000-00AA00389B71}"
    streamnumber="2" streamname="NW" inputname="Audio connection 02"
    bitrate="32024" bufferwindow="0" reliabletransport="0" decodercomplexity=""
    rfc1766langid="NW">
    <wmmediatype subtype="{00000161-0000-0010-8000-00AA00389B71}"
    bfixedsizesamples="1" btemporalcompression="0" lsamplesize="0">
    <waveformatex wFormatTag="353" nChannels="2" nSamplesPerSec="22050"
    nAvgBytesPerSec="4003" nBlockAlign="1487" wBitsPerSample="16"
    codecdata="0044000017003D170000" />
    </wmmediatype>
    </streamconfig>
    </profile>


    Any help would be appreciated, If this is a bug with Vista please drop a
    note, we have to have something to say to our customers.

    Cheers,

         Nadav,

     

    Monday, August 18, 2008 7:58 AM

Answers

  • This was confirmed as bug with WMP11 by microsoft ( interaction was done having a msdn support contract ), I didn't get any medal for finding this bug :(
    • Marked as answer by Nadav Rub Wednesday, July 29, 2009 6:16 AM
    Wednesday, July 29, 2009 6:16 AM