locked
Windows media foundation source and Windows Media Player RRS feed

  • Question

  • Hi

    I've developed a Windows Media Foundation source component for custom file format (extenson .blt).  It works fine under topoedit.  I can "Render File.." and

    play it. I've attempted to make it visible to Windows Media Player adding the subsequent registry keys:

    @REG ADD "HKLM\Software\Microsoft\Multimedia\WMPlayer\Extensions\.blt" /v "Extension.Handler" /t REG_SZ /d "bltfile" /f > NUL:
    @REG ADD "HKLM\Software\Microsoft\Multimedia\WMPlayer\Extensions\.blt" /v "Extension.MIME" /t REG_SZ /d "video/blt" /f > NUL:
    @REG ADD "HKLM\Software\Microsoft\Multimedia\WMPlayer\Extensions\.blt" /v "MCIHandler" /t REG_SZ /d "JPEG2000 Video" /f > NUL:
    @REG ADD "HKLM\Software\Microsoft\Multimedia\WMPlayer\Extensions\.blt" /v "MediaType.Description" /t REG_SZ /d "Video Clip" /f > NUL:
    @REG ADD "HKLM\Software\Microsoft\Multimedia\WMPlayer\Extensions\.blt" /v "MediaType.DescriptionID" /t REG_SZ /d "9905" /f > NUL:
    @REG ADD "HKLM\Software\Microsoft\Multimedia\WMPlayer\Extensions\.blt" /v "PerceivedType" /t REG_SZ /d "video" /f > NUL:
    @REG ADD "HKLM\Software\Microsoft\Multimedia\WMPlayer\Extensions\.blt" /v "Permissions" /t REG_DWORD /d 0x0F /f > NUL:
    @REG ADD "HKLM\Software\Microsoft\Multimedia\WMPlayer\Extensions\.blt" /v "Runtime" /t REG_DWORD /d 0x06 /f > NUL:

    @REG ADD "HKLM\Software\Microsoft\Multimedia\WMPlayer\Groups\Video\BLT"  /t REG_SZ /d "BLT Video" /f > NUL:
    @REG ADD "HKLM\Software\Microsoft\Multimedia\WMPlayer\Groups\Video\BLT" /v "Description" /t REG_SZ /d "Includes files with .blt extensions." /f > NUL:
    @REG ADD "HKLM\Software\Microsoft\Multimedia\WMPlayer\Groups\Video\BLT" /v "Extensions" /t REG_SZ /d ".blt" /f > NUL:
    @REG ADD "HKLM\Software\Microsoft\Multimedia\WMPlayer\Groups\Video\BLT" /v "MIME Types" /t REG_SZ /d "video/blt" /f > NUL:

    @REG ADD "HKLM\Software\Microsoft\Multimedia\WMPlayer\MIME Types\video/blt" /v "Extension.Key" /t REG_SZ /d ".blt" /f > NUL:
    @REG ADD "HKLM\Software\Microsoft\Multimedia\WMPlayer\MIME Types\video/blt" /v "Extensions.CommaSep" /t REG_SZ /d "blt" /f > NUL:
    @REG ADD "HKLM\Software\Microsoft\Multimedia\WMPlayer\MIME Types\video/blt" /v "Extensions.SpaceSep" /t REG_SZ /d ".blt" /f > NUL:
    @REG ADD "HKLM\Software\Microsoft\Multimedia\WMPlayer\MIME Types\video/blt" /v "ReplaceApps" /t REG_SZ /d "wmplayer.exe" /f > NUL:

    But Windows media player neither recognize them nor display my extension when I attempt to open a file. A dialog box notify me that

    windows media player can't play the file (Windows Media Player 12.0.10011.16506)

    Where I can find info regarding registration of a ByteStreamHandler in order to be recognized by  Windows media player ?

    Regards

    Tuesday, June 7, 2016 8:31 AM