I’ve previously posted several times about codec issues on 7mc, but I’ve now got a solution that is comprehensive, fairly simple and works consistently. With a few free codecs and utilities you can have full decoding support, DXVA, subtitles and fantastic flexibility working in 64bit (or 32bit) Media Center. The following instructions are specific to the x64 edition, but should work just as well on the 32bit edition.
1. Download and install ffdshow
- Download ffdshow 32bit
- Download ffdshow 64bit
- Install both
2. Configure ffdshow settings
- Tweak any ffdshow settings you want — remember to do it for both x32 and x64 versions — e.g. I use the “mixer” to output stereo music to my subwoofer as well as the main speakers. I also enable lots of additional codecs in the video configuration
- Open DXVA Video decoder configuration
- Click on hardware acceleration in the menu on the left
- Tick H264 and VC1
- Set “post processing” to “Surface overlay”
- Click on subtitles in the menu on the left
- Tick the box at the top
- Repeat for the x64 DXVA Video decoder configuration
3. Now disable the in-built Microsoft MediaFoundation codecs (note: this doesn’t break live TV) and replace them with ffdshow
- download the win7dsfiltertweaker
- Run the filter tweaker
- on the first page, select ffdshow (DXVA) where possible, and plain ffdshow for all others where possible, for both 32bit and 64bit.
- Click apply and ok any warnings
- on the next page tick all the boxes to disable MF and click apply
- on the 3rd page tick the bottom 2 boxes (disable MF and disable MF 64bit) and click apply.
- OK the exit
- Open regedit and browse to [HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionMedia CenterDecoder]
- Delete any entries that are present
4. Now install the required splitters
- Download Haali Media splitter
- Download the MPC-HC standalone codecs in both x64 and x32
- Install Haali and enable MPEG-TS
- Extract the MPC-HC codecs
- On x64 systems copy the x64 splitter files to system32 and the x32 files to the syswow64 folder. on x32 systems just copy the x32 files to system32.
- The splitter files to copy are as follows: AviSplitter.ax, FLVSplitter, MatroskaSplitter, MP4Splitter, MpegSplitter.
- There are other splitter files which you can also copy and register (see below) but I haven’t needed them
- Register the splitter files as follows: open an elevated command prompt, for each file you copied run the command “regsvr32 filename”. If you are on x64 windows change directory from system32 to syswow64 and repeat the registering
5. Use registry tweaks to use the MPC-HC splitter for most files and Haali for .mkv and .m2t files
- Open regedit and browse to [HKEY_CLASSES_ROOTMedia TypeExtensions]
- Check that their are keys for .m2ts, .ts, .mp4, .mkv, .m2t and create any new keys that are required
- Inside each key check that their is a string with the name “Source Filter”
- Set the value of source filter for .m2ts, .ts and .mp4 to {1365BE7A-C86A-473C-9A41-C0A6E82C9FA3}
- Set the value of source filter for .mkv and .m2t to {55DA30FC-F16B-49FC-BAA5-AE59FC65F82D}
6. Enable ogg and flac audio
- Download the xiph oggcodecs for both x32 and x64
- Install both
- Download WMPTagPlus — other tag extenders don’t seem to work so well
- Disable the x64 Media Player by renaming the folder “Windows Media Player” inside the Program Files folder (on x64 windows only!) and then create a new “Windows Media Player” folder. copy the contents of the “Windows Media Player” folder from the “Program Files (x86)” to your new folder. This forces Media Center to use the Media Player 32bit engine for music — which supports the tag extender. Once a 64bit tag extender is available this will no longer be necessary
7. Reboot and you’re good to go.
Any .m2ts files that don’t play back properly rename the extension to .m2t (which as far as windows is concerned is the same). This will change the splitter used and should resolve any playback problems.
yet another setting that didn’t work for me, sigh.… avi plays fine, but still no subtitles (wmp). mp4 has no sound, no video (wmp) — obviously, can’t tell whether subtitles are working or not. mkv starts playing video and audio fine (in mpc-hc only, wmp won’t play it at all), shows double subtitles, then within seconds video slows down and finally freezes.:/
This is now nearly 2 years old! Things have moved on since. Get the latest versions of ffdshow tryouts, lav splitter and the Wn7DSFilterTweaker (all linked on the downloads page). Install ffdshow and lav, and then use the filter tweaker to disable Microsoft’s media-foundation stuff and set ffdshow as the defaults.
You’ll need to turn on subtitles in ffdshow settings but that should work spot on with everything. I have TS, M2TS, MKV, MP4, AVI, MPEG, WMV, WTV files encoded in al sorts of formats and everything just works.
Why do you particularly want to use Windows Media Player? — there are plenty of other media player apps. Or do you mean Media Center?