Video in Vista Media Center

l3ender

Supreme [H]ardness
Joined
Jan 1, 2007
Messages
5,337
I recently installed Vista Ultimate x64 and I've been trying to get my stuff to play in the media center. I have avi and mkv files. Both work in Media Player Classic. Only avi files work in Windows Media Player. Neither work in Media Center. I get a codec missing or file not found error. I've also added to the registry for mkv files.

Here's what I have installed:
-ffdshow tryouts
-CoreAVC
-Haali
-Xvid
-DivX
-AC3Filter

I've searched extensively on this forum and on the net and I cannot get anywhere. Please help!
 
I have used media center for almost 3 years until i started collecting a lot of mkv files that i wanted to watch. Xvids have never been a problem for me, just used FFDshow, also got MKV to playback through MCE as well, but the playback was choppy and difficult to navigate.

What I did was just started using mediaportal, its not perfect and takes a little effort to set up, but in the long run, its more rewarding, plus the skins are awsome. I have only really two pet peeves with it. 1) I will RDC into my htpc from work as a different user and its screws up mediaportal when get home and try to load up the original user profile. 2) Never have gotten it to launch w/ the green button on the mce remote.

I cant speak for the TV recording feature, I got rid of my tuner and cable service and just play .avi, .mkv, and DVD's for all my content now.
 
Uninstall Divx and Xvid, then only install Xvid.

Also, you probably didn't setup everything right. You should enable MKV and MPEG-2 support in Haali, also check autoload VSfilter.

For the MKV registry edit, copy and paste this into a notepad document, and save it with a *.reg extention, then execute it.

[HKEY_CLASSES_ROOT\.mkv]
"PerceivedType"="video"
"Content Type"="video/x-matroska"
@="mkvfile"

[HKEY_CLASSES_ROOT\.mkv\OpenWithProgIds]
"mkvfile"=hex(0):

[HKEY_CLASSES_ROOT\.mkv\PersistentHandler]
@="{098f2470-bae0-11cd-b579-08002b30bfeb}"

[HKEY_CLASSES_ROOT\.mkv\ShellEx]

[HKEY_CLASSES_ROOT\.mkv\ShellEx\{BB2E617C-0920-11D1-9A0B-00C04FC2D6C1}]
@="{c5a40261-cd64-4ccf-84cb-c394da41d590}"

[HKEY_CLASSES_ROOT\.mka]
"PerceivedType"="audio"
"Content Type"="audio/x-matroska"
@="mkvfile"

[HKEY_CLASSES_ROOT\.mka\OpenWithProgIds]
"mkvfile"=hex(0):

[HKEY_CLASSES_ROOT\.mka\PersistentHandler]
@="{098f2470-bae0-11cd-b579-08002b30bfeb}"

[HKEY_CLASSES_ROOT\.mka\ShellEx]

[HKEY_CLASSES_ROOT\.mka\ShellEx\{BB2E617C-0920-11D1-9A0B-00C04FC2D6C1}]
@="{c5a40261-cd64-4ccf-84cb-c394da41d590}"

[HKEY_CLASSES_ROOT\MKVFile]
@="Matroska Media Clip"
"EditFlags"=hex:00,00,01,00
"PreferExecuteOnMismatch"=dword:00000001

[HKEY_CLASSES_ROOT\MKVFile\DefaultIcon]
@="%SystemRoot%\\system32\\imageres.dll,127"

[HKEY_CLASSES_ROOT\MKVFile\shell]
@="play"

[HKEY_CLASSES_ROOT\MKVFile\shell\open]
"LegacyDisable"=""

[HKEY_CLASSES_ROOT\MKVFile\shell\open\command]
@=hex(2):22,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,6c,\
00,65,00,73,00,25,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,00,\
4d,00,65,00,64,00,69,00,61,00,20,00,50,00,6c,00,61,00,79,00,65,00,72,00,5c,\
00,77,00,6d,00,70,00,6c,00,61,00,79,00,65,00,72,00,2e,00,65,00,78,00,65,00,\
22,00,20,00,2f,00,70,00,72,00,65,00,66,00,65,00,74,00,63,00,68,00,3a,00,38,\
00,20,00,2f,00,4f,00,70,00,65,00,6e,00,20,00,22,00,25,00,4c,00,22,00,00,00

[HKEY_CLASSES_ROOT\MKVFile\shell\open\DropTarget]
"CLSID"="{CE3FB1D1-02AE-4a5f-A6E9-D9F1B4073E6C}"

[HKEY_CLASSES_ROOT\MKVFile\shell\play]
@="&Play"
"MUIVerb"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,\
6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,\
00,75,00,6e,00,72,00,65,00,67,00,6d,00,70,00,32,00,2e,00,65,00,78,00,65,00,\
2c,00,2d,00,39,00,39,00,39,00,31,00,00,00
"LegacyDisable"=""

[HKEY_CLASSES_ROOT\MKVFile\shell\play\command]
@=hex(2):22,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,6c,\
00,65,00,73,00,25,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,00,\
4d,00,65,00,64,00,69,00,61,00,20,00,50,00,6c,00,61,00,79,00,65,00,72,00,5c,\
00,77,00,6d,00,70,00,6c,00,61,00,79,00,65,00,72,00,2e,00,65,00,78,00,65,00,\
22,00,20,00,2f,00,70,00,72,00,65,00,66,00,65,00,74,00,63,00,68,00,3a,00,38,\
00,20,00,2f,00,50,00,6c,00,61,00,79,00,20,00,22,00,25,00,4c,00,22,00,00,00

[HKEY_CLASSES_ROOT\MKVFile\shell\play\DropTarget]
"CLSID"="{CE3FB1D1-02AE-4a5f-A6E9-D9F1B4073E6C}"

[HKEY_CLASSES_ROOT\MKVFile\shellex]

[HKEY_CLASSES_ROOT\MKVFile\shellex\ContextMenuHandlers]

[HKEY_CLASSES_ROOT\MKVFile\shellex\ContextMenuHandlers\WMPAddToPlaylist]
@="{F1B9284F-E9DC-4e68-9D7E-42362A59F0FD}"

[HKEY_CLASSES_ROOT\MKVFile\shellex\ContextMenuHandlers\WMPPlayAsPlaylist]
@="{CE3FB1D1-02AE-4a5f-A6E9-D9F1B4073E6C}"

[HKEY_CLASSES_ROOT\MKVFile\shellex\{8895b1c6-b41f-4c1c-a562-0d564250836f}]
@="{031EE060-67BC-460d-8847-E4A7C5E45A27}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Multimedia\WMPlayer\Extensions\.mka]
"Runtime"=dword:00000007
"Extension.MIME"="audio/x-matroska"
"Extension.Handler"="mkvfile"
"MCIHandler"="MPEGVideo"
"Permissions"=dword:0000000f
"MediaType.Description"="Matroska Media Clip"
"MediaType.Icon"="%SystemRoot%\\system32\\imageres.dll,125"
"Shell.Open"="/prefetch:8 /Open \"%L\""
"PerceivedType"="audio"
"MediaType.DescriptionID"="9905"
"Shell.AltVerb.Cmd"="/prefetch:8 /Play \"%L\""
"ReplaceApps"="wmplayer.exe"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Multimedia\WMPlayer\Extensions\.mkv]
"Runtime"=dword:00000007
"Extension.MIME"="video/x-matroska"
"Extension.Handler"="mkvfile"
"MCIHandler"="MPEGVideo"
"Permissions"=dword:0000000f
"MediaType.Description"="Matroska Media Clip"
"MediaType.Icon"="%SystemRoot%\\system32\\imageres.dll,127"
"Shell.Open"="/prefetch:8 /Open \"%L\""
"PerceivedType"="video"
"MediaType.DescriptionID"="9905"
"Shell.AltVerb.Cmd"="/prefetch:8 /Play \"%L\""
"ReplaceApps"="wmplayer.exe"

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Multimedia\WMPlayer\Extensions\.mka]
"Runtime"=dword:00000007
"Extension.MIME"="audio/x-matroska"
"Extension.Handler"="mkvfile"
"MCIHandler"="MPEGVideo"
"Permissions"=dword:0000000f
"MediaType.Description"="Matroska Media Clip"
"MediaType.Icon"="%SystemRoot%\\system32\\imageres.dll,125"
"Shell.Open"="/prefetch:8 /Open \"%L\""
"PerceivedType"="audio"
"MediaType.DescriptionID"="9905"
"Shell.AltVerb.Cmd"="/prefetch:8 /Play \"%L\""
"ReplaceApps"="wmplayer.exe"

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Multimedia\WMPlayer\Extensions\.mkv]
"Runtime"=dword:00000007
"Extension.MIME"="video/x-matroska"
"Extension.Handler"="mkvfile"
"MCIHandler"="MPEGVideo"
"Permissions"=dword:0000000f
"MediaType.Description"="Matroska Media Clip"
"MediaType.Icon"="%SystemRoot%\\system32\\imageres.dll,127"
"Shell.Open"="/prefetch:8 /Open \"%L\""
"PerceivedType"="video"
"MediaType.DescriptionID"="9905"
"Shell.AltVerb.Cmd"="/prefetch:8 /Play \"%L\""
"ReplaceApps"="wmplayer.exe"

Here's for MP4 support..

[HKEY_CLASSES_ROOT\.mp4]
@="mpegfile"
"Content Type"="video/mpeg"
"PerceivedType"="video"
"MPlayer2.BAK"="WMP11.AssocFile.MPEG"

[HKEY_CLASSES_ROOT\.mp4\OpenWithList]

[HKEY_CLASSES_ROOT\.mp4\OpenWithList\iTunes.exe]
@=""

[HKEY_CLASSES_ROOT\.mp4\OpenWithProgIds]
"MPEGFile"=hex(0):
@=""
"iTunes.mp4"=hex:

[HKEY_CLASSES_ROOT\.mp4\PersistentHandler]
@="{098f2470-bae0-11cd-b579-08002b30bfeb}"

[HKEY_CLASSES_ROOT\.mp4\ShellEx]

[HKEY_CLASSES_ROOT\.mp4\ShellEx\{BB2E617C-0920-11D1-9A0B-00C04FC2D6C1}]
@="{c5a40261-cd64-4ccf-84cb-c394da41d590}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Multimedia\WMPlayer\Extensions\.mp4]
"Runtime"=dword:00000007
"Extension.MIME"="video/mpeg"
"SPDHandler"="WMP11.AssocFile.MPEG"
"Extension.Handler"="mpegfile"
"MCIHandler"="MPEGVideo"
"Permissions"=dword:0000000f
"MediaType.Description"="Movie Clip"
"MediaType.Icon"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,\
6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,\
00,77,00,6d,00,70,00,6c,00,6f,00,63,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,\
37,00,33,00,33,00,00,00
"Shell.Open"="/prefetch:9 /Open \"%L\""
"PerceivedType"="video"
"MediaType.DescriptionID"="9902"
"Shell.AltVerb.Cmd"="/prefetch:9 /Play \"%L\""
"ReplaceApps"="wmplayer.exe|iexplore.exe"

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Multimedia\WMPlayer\Extensions\.mp4]
"Runtime"=dword:00000007
"Extension.MIME"="video/mpeg"
"SPDHandler"="WMP11.AssocFile.MPEG"
"Extension.Handler"="mpegfile"
"MCIHandler"="MPEGVideo"
"Permissions"=dword:0000000f
"MediaType.Description"="Movie Clip"
"MediaType.Icon"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,\
6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,\
00,77,00,6d,00,70,00,6c,00,6f,00,63,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,\
37,00,33,00,33,00,00,00
"Shell.Open"="/prefetch:9 /Open \"%L\""
"PerceivedType"="video"
"MediaType.DescriptionID"="9902"
"Shell.AltVerb.Cmd"="/prefetch:9 /Play \"%L\""
"ReplaceApps"="wmplayer.exe|iexplore.exe"
 
Uninstall Divx and Xvid, then only install Xvid.

Also, you probably didn't setup everything right. You should enable MKV and MPEG-2 support in Haali, also check autoload VSfilter.

I initially only had Xvid installed, but some of my avi files wouldn't play smoothly. They would play, but were jerky. Installing Divx took care of it.

I checked autoload VSfilter in Haali, how do I enable MKV and MPEG-2 support in it?

As far as the registry files, they look the same as the ones I found from here.
 
I think for Haali, you have to enable those when you install it.
 
I have used media center for almost 3 years until i started collecting a lot of mkv files that i wanted to watch. Xvids have never been a problem for me, just used FFDshow, also got MKV to playback through MCE as well, but the playback was choppy and difficult to navigate.

What I did was just started using mediaportal, its not perfect and takes a little effort to set up, but in the long run, its more rewarding, plus the skins are awsome. I have only really two pet peeves with it. 1) I will RDC into my htpc from work as a different user and its screws up mediaportal when get home and try to load up the original user profile. 2) Never have gotten it to launch w/ the green button on the mce remote.

I cant speak for the TV recording feature, I got rid of my tuner and cable service and just play .avi, .mkv, and DVD's for all my content now.

I've been playing around with MediaPortal a bit, and it's not too bad. I can't figure out a few things though, maybe you could offer some help:

1) I can't get anything with XMLTV or anything working for a TV guide
2) The remote somewhat works, but basically just the up and down buttons.
3) You said the green button doesn't work, but can you customize a button to load MediaPortal?
4) Disable the remote for Media Center...I keep bumping the green button and it opens up Media Center. :(
 
I've said it before and will say it again, I have NEVER had a problem with a clean install of KLite x64.
 
Oh, right, now I remember. And I did. And still nothing.

If the MKV files show up in media center that means that its picking them up correctly and the registry settings worked.

If you get the video error when clicking on them that means that there is no 64Bit directshow filter to playback the file. You will need to install the appropriate codecs 64bit versions, some like coreavc currently do not have a 64bit build, so in most cases you should use FFDSHOW.

If you can get the video to play in 64bit Windows Media Player, then it will playback in MediaCenter, you can make sure your using the 64bit version by opening taskmanager and making sure that wmplayer.exe doesnt have *32 next to it.

Remeber as your using the 64bit version of vista, it requires 64bit filters in VMC to show the video, the normal 32bit versions will not work.
 
I've been playing around with MediaPortal a bit, and it's not too bad. I can't figure out a few things though, maybe you could offer some help:

1) I can't get anything with XMLTV or anything working for a TV guide
2) The remote somewhat works, but basically just the up and down buttons.
3) You said the green button doesn't work, but can you customize a button to load MediaPortal?
4) Disable the remote for Media Center...I keep bumping the green button and it opens up Media Center. :(

Think anyone could answer these questions? Thanks.
 
CoreAVC works fine under x64 environments....

Thats half correct, whilst it works fine under x64 environments, its only when a 32bit player is running the content (as coreavc is still only 32bit). So when a 64bit application like vista media center tries to playback media it cannot use coreavc as there is no 64bit directshow filter.

There planning on releasing one.......however they were also planning GPU support "shortly" when i purchased my core license just before the 2006 FIFA world cup.
 
Back
Top