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
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

Was this answer helpful?

30+ people found this answer helpful.
0 comments No comments
Answer accepted by question author
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

Was this answer helpful?

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

72 additional answers

Sort by: Oldest
  1. Anonymous
    2012-05-26T22:49:02+00:00

    Do you know how to make it recognize the length of an mkv file (time)?

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2012-06-07T02:52:37+00:00

    thnx, this script worked perfect.

    the files now no longer sho under "other media". what i've actually been trying is to get .mkv files playing on my samsung tv. the .mkv files weren't even showing on the tv before i ran this script. so i am 1 step closer to getting them working. although they now show up on the tv, i get an error saying it doesnt support the file format. also in windows media player it doesnt have a time displayed as to how long that item is. file works fine if i double click it from the library on the pc.

    any feedback or suggestions would be much appreciated.

    thnx

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2012-06-07T04:30:16+00:00

    This will likely be due to the fact that the TV doesn't support the mkv format.

    I have the same issue with my MediaGate upnp media player, sadly it's a few years old and mkv containers aren't supported.

    You may be able to use some sort of media transcoder like Twonky, Tversity, or XBMC. But it really depends on the streaming device you're using, and what formats it supports.

    Was this answer helpful?

    0 comments No comments