Share via

Adding MKV files to the Windows Media Player library

Anonymous
2010-12-06T14:36:57+00:00

How do I add MKV files to the "Video" section rather than the "Other" section of the library?

Windows for home | Previous Windows versions | Music, photos, and video

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
  1. Anonymous
    2010-12-06T19:16:35+00:00

    Copy/paste the following into Notepad, save it as  WMP_MKV.reg , double click this file to add it to the registry, and restart WMP:

    Windows Registry Editor Version 5.00

     

    [HKEY_CLASSES_ROOT.mkv]

    "PerceivedType"="video"

     

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Multimedia\WMPlayer\Extensions.mkv]

    "PerceivedType"="video"

    "Permissions"=dword:0000000f

    "Runtime"=dword:00000007

     

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\MLS\Extensions]

    "mkv"="video"

    After that, MKV files will be added to  Video instead of to Other media (it might be necessary to re-add the files).


    Tim De Baets

    http://www.bm-productions.tk

    30+ people found this answer helpful.
    0 comments No comments
Answer accepted by question author
  1. Anonymous
    2010-12-06T22:34:02+00:00

    Hi Tim,

    I am using this one I found sometime on the web:

    Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOT.mkv]

    @="MatroskaVideo"

    "Content Type"="video/x-matroska"

    "PerceivedType"="video"

    [HKEY_CLASSES_ROOT.mka]

    @="MatroskaVideo"

    "Content Type"="audio/x-matroska"

    "PerceivedType"="audio"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Multimedia\WMPlayer\MIME Types\video/x-matroska]

    @="MatroskaVideo"

    "UserApprovedOwning"="yes"

    "Extensions.SpaceSep"=".mkv"

    "Extensions.CommaSep"="mkv"

    "Extension.Key"=".mkv"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Multimedia\WMPlayer\MIME Types\audio/x-matroska]

    @="MatroskaVideo"

    "UserApprovedOwning"="yes"

    "Extensions.SpaceSep"=".mka"

    "Extensions.CommaSep"="mka"

    "Extension.Key"=".mka"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Multimedia\WMPlayer\Groups\Video\mkv]

    @="MatroskaVideo"

    "Description"="Includes files with .mkv extensions."

    "Extensions"=".mkv"

    "FriendlyTypeName"="Matroska Media File"

    "MIME Types"="video/x-matroska"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Multimedia\WMPlayer\Groups\Audio\mka]

    @="MatroskaVideo"

    "Description"="Includes files with .mka extensions."

    "Extensions"=".mka"

    "FriendlyTypeName"="Matroska Media File"

    "MIME Types"="audio/x-matroska"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Multimedia\WMPlayer\Extensions.mkv]

    "Permissions"=dword:0000000f

    "UserApprovedOwning"="yes"

    "Runtime"=dword:00000007

    "PerceivedType"="video"

    "MediaType.Description"="Matroska Media File"

    "Extension.Handler"="MatroskaVideo"

    "Extension.MIME"="video/x-matroska"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Multimedia\WMPlayer\Extensions.mka]

    "Permissions"=dword:0000000f

    "UserApprovedOwning"="yes"

    "Runtime"=dword:00000007

    "PerceivedType"="audio"

    "MediaType.Description"="Matroska Media File"

    "Extension.Handler"="MatroskaVideo"

    "Extension.MIME"="audio/x-matroska"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\Player\Extensions\Descriptions]

    "819"="Matroska Media File (*.mkv;*.mka)"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\Player\Extensions\MUIDescriptions]

    "819"="Matroska Media File"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\Player\Extensions\Types]

    "819"="*.mkv;*.mka"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\MLS\Extensions]

    "mkv"="video"

    "mka"="audio"

    :)

    Carlos

    20+ people found this answer helpful.
    0 comments No comments

72 additional answers

Sort by: Most helpful
  1. Anonymous
    2012-03-17T04:00:35+00:00

    On 64bit Windows, the script has to be adjusted a little bit:

    (Note that  "HKEY_LOCAL_MACHINE\SOFTWARE" becomes "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node")

    Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOT.mkv]

    @="MatroskaVideo"

    "Content Type"="video/x-matroska"

    "PerceivedType"="video"

    [HKEY_CLASSES_ROOT.mka]

    @="MatroskaVideo"

    "Content Type"="audio/x-matroska"

    "PerceivedType"="audio"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Multimedia\WMPlayer\MIME Types\video/x-matroska]

    @="MatroskaVideo"

    "UserApprovedOwning"="yes"

    "Extensions.SpaceSep"=".mkv"

    "Extensions.CommaSep"="mkv"

    "Extension.Key"=".mkv"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Multimedia\WMPlayer\MIME Types\audio/x-matroska]

    @="MatroskaVideo"

    "UserApprovedOwning"="yes"

    "Extensions.SpaceSep"=".mka"

    "Extensions.CommaSep"="mka"

    "Extension.Key"=".mka"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Multimedia\WMPlayer\Groups\Video\mkv]

    @="MatroskaVideo"

    "Description"="Includes files with .mkv extensions."

    "Extensions"=".mkv"

    "FriendlyTypeName"="Matroska Media File"

    "MIME Types"="video/x-matroska"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Multimedia\WMPlayer\Groups\Audio\mka]

    @="MatroskaVideo"

    "Description"="Includes files with .mka extensions."

    "Extensions"=".mka"

    "FriendlyTypeName"="Matroska Media File"

    "MIME Types"="audio/x-matroska"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Multimedia\WMPlayer\Extensions.mkv]

    "Permissions"=dword:0000000f

    "UserApprovedOwning"="yes"

    "Runtime"=dword:00000007

    "PerceivedType"="video"

    "MediaType.Description"="Matroska Media File"

    "Extension.Handler"="MatroskaVideo"

    "Extension.MIME"="video/x-matroska"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Multimedia\WMPlayer\Extensions.mka]

    "Permissions"=dword:0000000f

    "UserApprovedOwning"="yes"

    "Runtime"=dword:00000007

    "PerceivedType"="audio"

    "MediaType.Description"="Matroska Media File"

    "Extension.Handler"="MatroskaVideo"

    "Extension.MIME"="audio/x-matroska"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\MediaPlayer\Player\Extensions\Descriptions]

    "819"="Matroska Media File (*.mkv;*.mka)"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\MediaPlayer\Player\Extensions\MUIDescriptions]

    "819"="Matroska Media File"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\MediaPlayer\Player\Extensions\Types]

    "819"="*.mkv;*.mka"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\MediaPlayer\MLS\Extensions]

    "mkv"="video"

    "mka"="audio"

    7 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2011-11-30T20:48:05+00:00

    witecat: I suggest that you try re-adding the MKV files to the library. Select the MKV files in Other, right-click, Delete - Delete from library only - OK. Then go to Tools - Advanced and select Restore deleted library items (press Ctrl+M if you don't see the Tools menu). Does that help?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2010-12-06T23:32:21+00:00

    Thank you Tim and Carlos, that is very useful.

    0 comments No comments