Media center codecs vervangen

Met de onderstaande methode is het mogelijk om je eigen codecs te gebruiken icm media center, iets wat ik bijvoorbeeld gebruik om men USB geluidskaart goed te kunnen laten werken (SDIF uitgang)


Onderaan deze site staan oom de bestanden die besproken zijn.

by Michael Healy @ 6:45 am on February 5th, 2009 in codecs, ffdshow, music library, programs with 54 Comments and Permalink

Warning: This hack modifies system files and may cause instability in certain Windows applications under atypical situations. It has been tested to the extent described in the article but not beyond.

When you’re done setting up FFDShow Audio check out this guide on setting up FFDShow Video as well.

Many enthusiasts prefer the ability to set their favorite codec for use in Media Center rather than the defaults. Unfortunately, this is more difficult than simply installing the chosen codec as you normally would. Windows 7 Media Center will default to the native codecs regardless of codec settings.

The fix for this situation is to install the desired codec, in this case FFDShow, then rename a system file to disable the native codec. First, download a copy of FFDShow Tryouts from the Sourceforge site right here. Follow the basic installation steps but make sure to enable FFDShow to be used for all available codecs when the option is presented. Windows 7 x64 users should download and install both the latest beta and the 64-bit SVN.

Enabling FFDShow for all audio codec types will lower the chance of instability in Windows 7 default applications such as Media Player. If you are confident in your codec setup you can most likely skip this and use your desired codecs.

Next you will need to have the “Take Ownership” registry hack we’ve used before in changing our Media Center theme. You can download the registry file to enable this menu here. Once you have the .reg file downloaded double-click to install the registry fix and permit it to change the registry when prompted.

To enable FFDShow to play your mp3 files in the music section, open Windows Explorer and navigate to “C:\Windows\system32\” and locate the file name “MP3DMOD.DLL”. Right-click to bring up the menu and choose “Take Ownership” then rename the file “MP3DMOD.DLL.bak”. Windows 7 x64 users will need to repeat this step for the C:\Windows\SysWOW64\” folder as well. This will disable the native filter and can be reversed by changing the file name back at any time.

To enable FFDShow for live television and other formats using the MPEG2 codec inside of Media Center there is also a registry entry that needs to be changed. First we need to find the CLSID for FFDShow. To do that download Radlight’s Filter Manager right here. Extract the files to any location and run the exe file inside. Inside this program expand DirectShow Filters and scroll down to FFDShow Audio Decoder. Right click the entry and select “Copy CLSID to Clipboard”.

Next, open regedit in Administrator mode: using the start menu type regedit then press ctrl-shift-enter. Then navigate to “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\

CurrentVersion\MediaCenter\Decoder”. Inside there should be two strings, right-click “PreferredMPEG2AudioDecoderCLSID” and choose “Modify..”. Then enter the CLSID that you’ve copied from FilterManager in the box and press ok.

Media Center will need to be restarted before the changes will take effect but that should set your music, live television and most anything in Media Center to use FFDShow Audio instead of the native codecs included in Windows 7. The stability of this hack has not been tested outside of systems using purely Media Center as the user interface and may carry unintended consequences, perform at your own risk.

Check out this article for more detailed information on using the FFDShow codecs to tweak your sound and video settings in Media Center, including enabling surround sound for your stereo music files. Stay in touch using the Hack7MC RSS feed or follow along on Twitter!

Don’t forget to check out this guide on setting up FFDShow Video in Media Center once you’re done here!