Hacking Windows 7 Media Center

Using FFDShow Audio in Media Center

by Michael Healy @ 6:45 am on February 5th, 2009 in codecs, ffdshow, music library, programs with 64 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.

FFDShow Install

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.

MP3MOD.dll System Files

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

FFDShow Audio in Fitler Manager

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.

FFDShow Audio Media Center Registry Values

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!

64 Comments


Josh Pollard
Comment #46 from Josh Pollard [Reply]

this may sound like a dumb question, but why would someone want to do this?

Comment left February 5, 2009 at 12:44 pm with Permalink

MHealy
Comment #47 from MHealy [Reply]

Media Center by itself includes almost no audio options. FFDShow allows up mixing stereo source to surround, channel swapping, an equalizer and really more options than I’ve even experimented with. It even allows for Winamp 2 DSPs to be used with Media Center.

I think the real question is why wouldn’t you? As Microsoft continues to ignore those of us that want more control over our media I’m sure more than a few reasons for using this hack will arise.

Comment left February 5, 2009 at 3:01 pm with Permalink

Josh Pollard
Comment #48 from Josh Pollard [Reply]

The audio from my analog tuners sounds a little muffled. Would this help?

Comment left February 5, 2009 at 7:23 pm with Permalink

MHealy
Comment #49 from MHealy [Reply]

It certainly could. FFDShow has a large number of options for enhancing audio output. Playing with the equalizer, crystality or some of the other settings could definetly improve sound quality. It’s subjective based on the user and hardware both so it will just take some playing around to find what sounds right to you.

Another codec I really like is ACFilter, which you can get at http://ac3filter.net/. AC3Filter is only for 32-bit however. If you use a 64-bit version of Media Center AC3Filter won’t work in most areas including live TV. FFDShow will work on both x32 and x64 with the right download package for your OS.

Comment left February 5, 2009 at 8:17 pm with Permalink

Anonymous
Comment #50 from Anonymous [Reply]

I’m running x64 Win 7. Have installed both the x32 and x64 versions of ffdshow. Is the CLSID the same for both the x32 and x64 versions of ffdshow? ie do x64 programs automatically use the x64 ffdshow if installed?

Comment left February 10, 2009 at 1:38 am with Permalink

MHealy
Comment #51 from MHealy [Reply]

Yes, the CLSID is the same for both x64 and x86 versions of the codec and the correct version will be loaded by the program. For example, if your default Windows Media Player is set to x86 then your music will use the x86 codec but the live tv will use the x64 version.

Comment left February 10, 2009 at 6:58 am with Permalink

Paul
Comment #52 from Paul [Reply]

I wonder if we could use this method to change the default video codec Media Centre uses.. I’d quite like to try Media Player Classic – HT’s codec.. It might be more stable decoding h264..

Comment left February 24, 2009 at 8:37 pm with Permalink

MHealy
Comment #53 from MHealy [Reply]

The problem with changing the default video codec is the new wtv file format used for live and recorded tv. You can use MPCVideoDec for videos and movies but using it for live and recorded tv results in an error when trying to view. It’s most likely intentional to keep control of DRM.

Comment left February 25, 2009 at 7:00 am with Permalink

Anonymous
Comment #54 from Anonymous [Reply]

Thanks MHealy. So does that mean that we are stuck with the native video codec? Are there any methods currently available that will allow one to “upconvert” recorded shows in standard definition to higher quality? I was hoping to do this using ffdshow in combination with 7MC..

Comment left February 26, 2009 at 9:57 pm with Permalink

Anonymous
Comment #55 from Anonymous [Reply]

Sorry about that post, I just found the article about using ffdshow video in 7MC (http://www.hack7mc.com/2009/02/ffdshow-video-in-media-center.html}. Feel free to delete both of these comments.

Comment left February 26, 2009 at 10:02 pm with Permalink

MHealy
Comment #56 from MHealy [Reply]

No worries, my fault for not linking to it from here to begin with!

Comment left February 27, 2009 at 8:10 am with Permalink

Anonymous
Comment #57 from Anonymous [Reply]

This registry edit “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\ CurrentVersion\MediaCenter\Decoder” helped me setup ffdshow as the default decoder for MPEG-2 files. Thanks a lot :)

Is there a similar registry hack to set ffdshow as the default decoder for H.264/MPEG-4 files?

[My MPEG-4/H.264 files still don't use ffdshow even though I have set the ffdshow merit to highest.]

Comment left March 1, 2009 at 12:37 pm with Permalink

MHealy
Comment #58 from MHealy [Reply]

There are two files in the system folder that will over ride mpeg4 playback in some instances. You can rename them to disable them like with the mp3 decoder. They are named mp4sdecd.dll, mp43decd.dll and mpg4decd.dll.

Also, you can try using GraphStudio following this guide to determine what codec is interfering and lower the merit of the offending codec.

Comment left March 1, 2009 at 6:58 pm with Permalink

Anonymous
Comment #41 from Anonymous [Reply]

DTS in my DVD-audio plays fine now for the first time, thx a lot for showing me how to do it. But it seems like I can’t play FLAC audio files after making these changes (FLAC worked before the changes). Any ideas?

Comment left March 12, 2009 at 8:23 am with Permalink

MHealy
Comment #42 from MHealy [Reply]

FLAC is disabled by default in FFDShow’s audio settings. Turn it on to libavcodec under the Codecs section of the FFDShow Audio decoder configuration program. That should get your FLAC files playing again.

Comment left March 12, 2009 at 9:58 am with Permalink

Anonymous
Comment #43 from Anonymous [Reply]

I’ve done that but it still won’t play. In Media center’s music library I get this message “Audio error C00D11B1″. In Media browsers library I can’t see the audio files at all just the folders.

Comment left March 12, 2009 at 10:41 am with Permalink

MHealy
Comment #44 from MHealy [Reply]

Do you have other codecs or codec packs installed as well or just FFDShow? Other codec packs could be causing a conflict.

There is also a guide specifically for FLAC files in WMP/MC right here.

Comment left March 12, 2009 at 12:28 pm with Permalink

Anonymous
Comment #45 from Anonymous [Reply]

It’s working now, had to install both 32bit and 64bit oggcodec to get it to work (OS is 64bit). Thanks for your help and thanks for your awesome guides.

Comment left March 14, 2009 at 4:10 pm with Permalink

stormking
Comment #271 from stormking [Reply]

I have enabled FFDShow in Windows 7 MC x64, but I cannot play ALAC Apple Lossless Codec .m4a files in the Music Library.

I have done some research and, correct me if I’m wrong, FFDShow does not support ALAC and supposedly the only DirectShow filter that can decode ALAC is DC Bass Source Filter:
http://download.dsp-worx.de/DCBassSource_v1.11_Installer.zip

However, the instructions I have seen for using this filter do not assume you have implemented the directions above by making FFDShow the default audio filter for WMC. Thus, I believe I have DC Bass Source Filter installed, but I am assuming is not correctly being used because FFDShow is attempting and failing to decode the ALAC when I try to play the file (WMC says “the file you are trying to play is missing or corrupt” etc).

So, can someone offer a solution for playing back ALAC in WMC/7MC (x64) or hypothesize on how one may correctly enable FFDShow for decoding all audio of 7MC, EXCEPT for playing back .m4a ALAC files, which should be directed to the DC Bass Source Filter instead?

Thanks!

Comment left April 7, 2009 at 3:34 pm with Permalink
@Reply #273 from Michael Healy [Reply]

I don’t have any ALAC files here to test on, where do you get them from (legally)? Are these the files distributed by the iTunes service? I’ll see about getting a hold of a few to play with.

Comment left April 7, 2009 at 6:04 pm with Permalink

stormking
@Reply #274 from stormking [Reply]

You can create a .m4a file containing an audio file compressed with ALAC by first editing your iTunes preferences:
Edit:Preferences:General:Import Settings:Import Using->Apple Lossless Encoder

Then put in a CD. A pop up box should ask you if you want to rip the cd. Say yes and it should use the settings you just edited. Alternatively, you can always right click an audio track and select “Create Apple Lossless Version”. Technically this only makes sense to do to a CD track, but you can convert a mp3 file (obviously won’t increase the quality of the track but for the purpose of testing .m4a/ALAC playback in 7MC, it doesn’t matter).

And, as a side note, after opting to go w/ ALAC for my music collection, I have converted my FLAC files to a .nrg CD Image file using Nero, mounted that CD .nrg file with Daemon Tools, and then ripped the new “virtual cd” from iTunes – who now looks at the bunch of original FLAC files as a real physical CD. Thus it rips it to ALAC losslessly and grabs all CD album info as it normally would with any cd. You could say it helps normalize a collection with both audio codec and CD Track/Album information.

Anyway, its done, but now I’d like to play it all back in 7MC, or I’m screwed and need to use 7MC + iTunes for playback.

BTW, I think DC Bass Source Filter is 32bit only as K-Lite Codec Tweak Tool shows the following for filter information:
.alac {ABE7B1D9-4B3E-4ACD-A0D1-92611D3A4492} DC-Bass Source [only valid for 32-bit]

7MC on x64 is 64bit so it appears that the only DirectShow ALAC filter I have found will not work on x64. I’ve taken this about as far as I know how. We need to figure out how to use DC Bass Source Filter in x64 or find a x64 ALAC filter that can coexist with FFDShow for .m4a/ALAC playback.

Thanks!

Comment left April 7, 2009 at 6:28 pm with Permalink
@Reply #275 from Michael Healy [Reply]

I ran a test and I was able to play an m4a file created in iTunes from both WMP and 7MC on an x64 Windows 7 build 7000 machine. I have both FFDShow Tryouts x32 and x64 installed and the AAC decoder is set to “libfaad2″ in FFDShow Audio Decoder Configuration.

I believe the latest Shark007 codec pack for Windows 7 supports m4a as well. I would try uninstalling other codec packs such as k-lite and use shark007 Windows 7 and Windows 7 x64 packs. Shark007 is the most preffered codec pack in the community for Media Center users and plays very well with almost all formats.

Let me know how you come out with it.

Comment left April 7, 2009 at 9:19 pm with Permalink

stormking
@Reply #276 from stormking [Reply]

Interesting. Thanks for checking. Could you please verify that the .m4a was encoded with ALAC? Because the .m4a container can handle AAC and ALAC encodings (basically compressed and uncompressed Apple audio). I’m not sure the FFDShow AAC options have any effect, as I’m learning ALAC is its own codec – separate from AAC. It would be nice if FFDShow implemented ALAC support (its on their list). libavcodec already supports ALAC and FFDShow uses libavcodec, so I’m not sure what the hold up is. VLC uses libavcodec and I can play ALAC .m4a files in VLC.

I have been looking at and did install Shark007. Where this will help is that it includes the DC BASS Source Filter mentioned above. From my endless googling, it appears its the only DirectShow ALAC filter for windows. So, I suspect that if in fact your .m4a is ALAC not AAC, then you are getting ALAC decoding in WMP/7MC from DC BASS included with Shark007. Before installing Shark007, I had just installed DC BASS individually.

I’ll try to reinstall my codecs and see if that helps. I do wonder though if Windows 7 x64 can use 32bit filters as DC BASS is 32bit. I know x64 can exec 32bit apps. Does the same apply for filters – and even drivers?

Comment left April 7, 2009 at 10:48 pm with Permalink

stormking
@Reply #278 from stormking [Reply]

Reinstalling the codecs didn’t help. If you have an ALAC .m4a then the only difference would be the beta versions of Windows 7. I did hear of new trouble with beta 7057 with FFDShow video (couldn’t get that to work). I don’t know if there is a difference here in getting ALAC to work on Windows 7 x64 7057 versus 7000. But Windows 7 x86/x64 RC should hit the street any day so it would be good to standardize configurations on that.

Comment left April 8, 2009 at 12:49 am with Permalink

stormking
@Reply #281 from stormking [Reply]

Ok. I have answers. I have ALAC (Apple Lossless Codec) .m4a files working in Windows 7 Beta 7057 x64 Media Center and in WMP.

FINALLY, after hours of trial and error and googling to the ends to the Internet… googling “directshow 32bit 64bit filter” found RiverPast Quicktime DirectShow Filter which for free (!) will enable ALAC in 7MC x64!

http://www.riverpast.com/en/prod/quicktime/

Here is the interesting thing that I noticed though. Although I never installed K-Lite Codec Package, I did install their K-Lite Codec Tweak Tool:
http://majorgeeks.com/K-Lite_Codec_Tweak_Tool_d5738.html

Running this tool and checking (under Generate text file containing) “A list of all installed DirectShow filters” and “A list of all installed DirectShow filters (64-bit)”

yielded a file containing the following line:
.alac {ABE7B1D9-4B3E-4ACD-A0D1-92611D3A4492} DC-Bass Source [only valid for 32-bit]

After installing the RiverPast Quicktime DirectShow Filter and re-running the K-Lite Codec Tweak Tool yielded a similar text file but with an added entry for .m4a:
.alac {ABE7B1D9-4B3E-4ACD-A0D1-92611D3A4492} DC-Bass Source [only valid for 32-bit]

.m4a {64C6BF57-2D38-4d10-A1DF-330AD98CD4C2} QuickTime Decoder [only valid for 32-bit]

which tells me the following. Despite having the DC BASS Source Filter installed (which is included with Shark007) it was not properly registered with .m4a extensions. The problem wasn’t that DC BASS Source Filter is 32bit and I’m running x64, it was that the filter wasn’t registered correctly. It appeared that .alac sounded like a good extension for DC BASS to be associated with but ALAC is the codec not the container. The Shark007 developer might want to look at this and tweak the install or perhaps use RiverPast Quicktime instead of DC BASS in Shark007.

Having said this, one complaint thus far, playback of .m4a ALAC in 7MC x64 is not gapless playback. So you hear the pause between tracks. Well, at least it plays them.

Comment left April 8, 2009 at 2:02 am with Permalink
@Reply #286 from Michael Healy [Reply]

After double-checking this morning you are correct, it had converted to AAC not ALAC. When I created an ALAC file it wouldn’t play using FFDShow. It seems that the only solution may be to wait for an ALAC capable codec to be released. If you don’t mind me asking, why did you choose the ALAC format over FLAC?

Comment left April 8, 2009 at 7:32 am with Permalink

stormking
@Reply #295 from stormking [Reply]

So it turns out that I can only play ALAC in 7MC after first running WMP, playing a ALAC track and then starting 7MC. Is there a reg hack to make 7MC see .m4a as a valid extension? .m4a is listed in the WMPlayer registry so I assume that’s why its working in WMP. Wondering what I can do so I don’t have to bootstrap 7MC by first playing WMP.

Comment left April 8, 2009 at 6:29 pm with Permalink

stormking
@Reply #296 from stormking [Reply]

Actually just figured out this is because the DirectShow filter is 32bit and 7MC is x64. Reviewing my running processes, you can see that my default WMP is 32bit, so when I run WMP (when 7MC is not running) I can play ALAC because the player and filter are both 32bit. When I run 7MC without running WMP first, wmplayer.exe (64bit) execs and will not play ALAC as there is no 64bit DirectShow ALAC filter. So, off to look for a 64bit Quicktime DirectShow filter or find a way to force 7MC to use 32bit wmplayer.exe (*32).

Btw, here is another Quicktime DirectShow filter:
http://www.medialooks.com/produ…rs/quicktime_filter.html

Both of these filters also takeover decoding .mov files. I played back the new Terminator 1080p trailer (.mov) at 6-8% cpu usage since the DirectShow was uses my video card (3.33Ghz dual core, ATI 4800 video card). Playing this trailer on Quicktime used 35% cpu usage.

Comment left April 8, 2009 at 6:48 pm with Permalink
Comment #1536 from Ishahmael [Reply]

I have an mkv file with 3 aac language streams. I can switch around between them windows media player but no such option in windows media center. I’ve tried the above guide but no such luck. Maybe a plugin to give me the option in media center?

Comment left June 9, 2009 at 9:24 am with Permalink

ssalsekki
Comment #1673 from ssalsekki [Reply]

After much frustration… I found that renaming the MP3DMOD.dll actually caused issues with me playing any avi, xvid, divx, etc videos. Plus the sound on my LiveTV playback works perfectly. What is the significance of my findings?

Are the videos i am playing still using the FFDShow audio or MS’s native audio codec? (Note: the default audio decode is set to FFDShow Audio Decoder CLSID)

How come my Media Center successfully uses FFDShow audio on live tv playback without having to rename MP3DMOD.dll?

There are a few videos that use the AC3 codec i am unable to play. When i enable AC3 pass through on the FFDShow audio settings however, it crashes tv playback with a decoder error… How can i also get these movies that are encoded in AC3 audio decoder to play?

Comment left June 17, 2009 at 2:30 am with Permalink
@Reply #1681 from Michael Healy [Reply]

Instead of settings FFDShow to pass through AC3 audio you should try changing AC3 to libavcodec under the Codecs settings tab.

Comment left June 17, 2009 at 8:16 am with Permalink

Tistorm
Comment #1739 from Tistorm [Reply]

Hi i have a Problem with my mp3 or avi files with mp3 audiostream. I renamed the MP3DMOD.DLL, but then i try to playback the avi file and i get the error message:
“Cannot Play Video
Windows Media Center cannot open file”

I installed the ffdshow codec as discribt in the Guide above. Can someone help me? (Im using new installed Windows 7)

Comment left June 20, 2009 at 6:21 am with Permalink

Tistorm
@Reply #1745 from Tistorm [Reply]

Ok thx for help
now it works. Ffdshow audio starts when i play back a avi with mp3 audiostream.
But now i have a diffrent problem: i only get some digital noice instead of audioplayback. (i use S/PDIF as audio output)

Comment left June 20, 2009 at 10:31 am with Permalink

ssalsekki
Comment #1796 from ssalsekki [Reply]

The AC3 decoder is set to libavcodec but still doesnt work. When i play thru Graphstudio it works, but not thru Media Player. I did notice that when i play thru Media player the icons for FFDSHOW video and audio do not appear in the taskbar.

I currently followed the guide to set powerdvd9 to the preferred video decoder in the registry and did set the CLSID of ffdshow audio as the preferred audeio decoder. I then used the preferred dshow filters tool. Anything that i missed>?

Comment left June 23, 2009 at 1:35 am with Permalink

ssalsekki
Comment #1797 from ssalsekki [Reply]

i want to add that when i play mkv files the ffdshow decoders load properly and works fine.
However, avi files do work fine but do not load up the ffdshow decoders which makes me wonder which decoders they are using since the native M$ dts/dvd decoder has been manually changed to powerdvd9.
When i load up avi in graphedit it shows it is splitting it out to ffdshow video/audio…

Comment left June 23, 2009 at 1:58 am with Permalink

ssalsekki
Comment #1798 from ssalsekki [Reply]

Sorry i want to correct my last two posts. Only avi files with 2 channel stereo play although they dont seem to user the ffdshow decoders. When i play thru graphstudio they work thru the ffdshow decoders just fine, meaning they are using the m$ native decoders. I manually did the reg fix to set the preferred decoders to ffdshow for audio and cyberdvd9 for videos. I properly set the merits for ffdshow to highest using radlight filter mgr.

So my guess is that the reason it doesnt play 6 channel AC3 avis is because it is still trying to use m$ native decoders. I also used MCDU and Preferred Filters tool and they didnt work. Any suggesstions on how to ensure Media Center/Player will use FFDSHOw video/audio?

Comment left June 23, 2009 at 2:28 am with Permalink

ssalsekki
Comment #1799 from ssalsekki [Reply]

Ignore my last posts. Here is the core cause of the problem. Media Center/Player uses native m$ codecs instead of ffdshow for the video and audio decoding on movies and clips. (It works perfectly on Live TV playback however ;-) ).

I followed the guides:
- Disable and Replace MS-DTV/DVD Decoder
- MKV for Minimalists(using Haali instead)
- ffdshow video/audio for Media Center

Tried the following tools:
- MCDU
- Preferred Direct Show Filters Tool

So as of right now live tv playback is working beautifully in Media Center. But i cannot play any movies because it then tries to use M$ native decoders instead.

Please help, been working on this for two weeks now…

Comment left June 23, 2009 at 4:11 am with Permalink
@Reply #1804 from Michael Healy [Reply]

OK, Preferred DS Filters Tool should be redirecting the default MS decoders but since it isn’t let’s try and track them down and simply rename them.

Check the encoding being used in one of the movies that isn’t playing properly using MediaInfo.

Then either check inside system32 and syswow64 for the dll decoders for those filetypes or post the encoding here and I’ll have a look.

Comment left June 23, 2009 at 9:02 am with Permalink

ssalsekki
Comment #1805 from ssalsekki [Reply]

I am on 32-bit windows 7 build 7201 so there is no syswo64 dir right?

- Annie.avi
video: MPEG-4 Visual (XviD)
audio: MPEG Audio (MP3)
My thoughts:
– the native M$ MP3 Decoder DMO should have been disabled by renaming MP3DMOD.dll correct?
– found that qasf.dll is M$’s native MPEG-4 decoder and renamed it, no luck

Notes: When i open Annie.avi thru GraphStudio it properly splits out to FFDSHOW for video and audio and i am able to play it as well.
-

Comment left June 23, 2009 at 10:50 am with Permalink

Thorsten
Comment #2278 from Thorsten [Reply]

I can play all files in media-player and mce after having applied the above changes. With one exception. I cannot play avis with embedded mp3-audio in mce. In Mediaplayer it works fine. What’s the deal here?

Comment left July 24, 2009 at 6:00 am with Permalink
Comment #2301 from stormking [Reply]

In following up with my previous post on how to get ALAC to work in Windows 7 Media Center x64 (7201), if you install this Quicktime DirectShow Filter and then with Shark007 x64 Settings Application, set the default Windows Media Player to 32bit, it will work.

http://www.riverpast.com/en/prod/quicktime/download/

If you look at your processes, you will see wmplayer.exe*32 running while playing a .m4a ALAC (Apple Lossless). This will enable the 32bit decoder above. Interestingly enough, this does not mean that .mkv files will playback with 32bit FFDShow (I don’t even have the 32bit FFDShow installed). Even with the Windows Media Player default set to 32bit, the splitter splits the video/audio streams to 64bit FFDShow Filters. So setting Windows Media Player to default to the 32bit player instead of the 64bit player will not foobar your other 64bit filter settings.

A downside though is that Media Center still will not see the album art work for .m4a ALAC files – although Music Browser can show the art work.

Comment left July 26, 2009 at 7:40 pm with Permalink

Steve D.
Comment #2552 from Steve D. [Reply]

Mine sound all choppy when FFDshow is running.

Comment left August 6, 2009 at 5:11 pm with Permalink

Steve D.
@Reply #2560 from Steve D. [Reply]

NM, reinstall of codec pack with default options fixes. :)

Comment left August 6, 2009 at 9:14 pm with Permalink

MP3 Guy
Comment #2578 from MP3 Guy [Reply]

This doesn’t quite work for me w/ the RTM.

Renaming MP3DMOD.DLL allows me to play MP3 audio files with ffdshow, but it breaks XVID/DIVX AVI files that contain MP3 audio. ffdshow won’t kick in for the AVIs.

Any ideas?

Comment left August 7, 2009 at 6:16 pm with Permalink

Steve D.
@Reply #2580 from Steve D. [Reply]

I just noticed XVIDs were not working as well. The video plays fine, however, the audio is all scrambled. Running build 7221.

Comment left August 7, 2009 at 10:28 pm with Permalink
@Reply #8250 from Craig Dennis [Reply]

I have the same problem. I followed the guide and now XVID .avi files have no sound when p;ayed with media center or media player on Win7.

Only files that have mpga audio are affected.

Any update on what’s causing this? I have tried to use the Preferred DS Filters Tool but this has no effect.

I am using shark 007 codecs as well but this shouldn’t effect it as I can edit the FFDShow settings independently.

When I rename the MP3MOD.DLL back to its original, sound does not return for the affected files.

Would certainly appreciate some help on this.

Comment left March 3, 2010 at 9:49 am with Permalink

BlackandBlue
Comment #2629 from BlackandBlue [Reply]

When I rename the MP3MOD.DLL file, I can no longer play .avi files. Also, when the PreferredMPEG2AudioDecoder is set to ffdshow, my live TV through a Hauppauge PVR150 doesn’t not work until I fast rewind and fast forward. It works better with the decoder set to AC3filter, but still cannot play avi files. Any work arounds you know of?

Comment left August 10, 2009 at 4:03 pm with Permalink

Yusuf
Comment #2645 from Yusuf [Reply]

Does this work in RTM. I am running Win7 Pro and if I chnage audio decoder to ffdshow, 7mc can’t play xvid files. Surprisingly sample video included with 7mc runs fine.

If I reset to MS codec, everything starts working again.

My reason to set ffdshow as audio decoder to be able to play dts wav file which also does not work. So I assume somehow W7 RTM is not allowing something which was allowed earler (No problem with ffdshow+dts in XP)

Comment left August 12, 2009 at 8:55 am with Permalink

Andy
Comment #2752 from Andy [Reply]

I am also having trouble trying to change to AC3filter. If I change from the default microsoft codec nothing will play. Is there any way around this? I did manage to get video changed to ffdshow, but no audio. I am not sure how, but I did get it to work one time. I had the ac3filter config window open and I saw volume output in the config window as well as the systray icon, but it hasnt worked since, and I cant recreate it. Any ideas?

Comment left August 17, 2009 at 9:24 pm with Permalink

Oleg_Xp
Comment #3166 from Oleg_Xp [Reply]

Hi All. to fix avi with ac3 i had to disable ac3 in ffdshow audio. bypass to spdif works anyway for ac3 and dts

Comment left September 9, 2009 at 11:28 am with Permalink

Sakura
Comment #3745 from Sakura [Reply]

I have installed the latest Codec Pack (CCCP with Win7 support) and everything works nice together with ZoomPlayer Max 6.0 (yes i use this rather than the WinMC). FFDShow kicks in for anything but 48khz MP3s. Only these.
So I tried the above Method and noticed some strange behavior (on Win7 Prof. x64 RTM).

Only renaming the DLL in the SysWOW64 path does effect the playback at all.
After renaming it ZoomPlayer runs fine with FFDShow for all Files. Media Center runs with an internal Codec and don’t use FFDShow at all. Not even CoreAVC ~.~
MediaPlayer 32bit leaves me with FFDShow and scrambled sound (only with the 48khz MP3 Audio – others work).
MediaPlayer 64bit runs with FFDShow and good Sound.

This is all confusing since I didn’t touch the 32bit decoder residing in /system32/ (for the testing)

On my MediaPC I will still reside with XP since it’s easiest to set up for my needs.
You may ask why I use FFDShow. I use the AC3 SPDIF upsampling since my Amp only has a coax digital Input and no 5.1 cinch input. (and I like the LFE Crossover features in FFDShow)

Comment left October 4, 2009 at 11:40 am with Permalink
Comment #3881 from Steve_06091217217324927655 [Reply]

Chiming in late on this one.. but I found tonight that I was having trouble playing .AVI files in WMC after following this brilliant set of instructions.

Work-around discovered was to simply rename all my various .AVI files to .MKV and it just works! Sweeeet.

Hope the same goes for anyone else in the same boat.

Comment left October 9, 2009 at 8:34 am with Permalink

Chris
Comment #3991 from Chris [Reply]

Unfortunately this does not work on Windows 7 RTM x64/x86 for me. I have tried changing the CLSID in the registry but Media Center and Media Player still don’t use ffdshow audio decoder. The reason I want to use ffdshow audio decoder is, because I want to watch Blu-Ray. H.264 video plays fine, but I can’t hear any DTS or Dolby Digital sound. I also tried the same with AC3Filter, but that doesn’t work also.

Is there anything else I can try to make Media Center/Player use ffdshow audio decoder?

Comment left October 14, 2009 at 5:52 am with Permalink

Anonymous
Comment #6662 from Anonymous [Reply]

Does ffdshow allow for simultaneous digital and analog output in Win7? I am currently using AC3Filter and can not get both outputs to work like I was once able to in WinXP.

Comment left January 14, 2010 at 11:06 pm with Permalink
Comment #7321 from wtv converter [Reply]

This tips works great !

Comment left February 1, 2010 at 7:58 am with Permalink

Andreas
Comment #8216 from Andreas [Reply]

Tried this hack. ffdshow is now being used for mp3. Unfortunately my sound is now completely screwed. The movies skip and the sound is just squeaking. Any ideas_

Comment left March 2, 2010 at 9:15 am with Permalink

Andreas
@Reply #8217 from Andreas [Reply]

Ah. I had to also tell Windows to use ffdshow for MP3 by using Win7DSFilterTweaker.

That could be a good addition for the guide.

Whew.

Comment left March 2, 2010 at 9:20 am with Permalink

mithun
Comment #8333 from mithun [Reply]

im using ffdshow audio decoder on windows 7 media center i have enabled it for live tv and and other formats it works for everything except m2ts files i get a message saying cannot play this file

Comment left March 7, 2010 at 1:38 am with Permalink

mithun
@Reply #8362 from mithun [Reply]

i installed the latest ac3 filter now everything plays its better than ffdshow

Comment left March 8, 2010 at 6:33 am with Permalink
Comment #8373 from Craig Dennis [Reply]

Ok for the people experiencing problems with xvids not playing after this I have just got mine to work.

My setup:

Windows 7 32bit
SPDIF Audio out to amp
Shark007’s codec pack

1. Uninstall all codec packs and media center.

2. Make sure MP3DMOD.DLL is just that and not the renamed backup – then reboot.

2. Reinstall Media Center

3. Make sure your videos now play – if they don’t you have bigger problems

4. Install Shark007’s Codec pack found here: http://shark007.net/

5. In the ‘audio’ tab, panel make sure FFDSHOW SPDIF Passthough is ticked and select your speaker setup on the left (carefull as this will reset the spdif passthrough options on the right)

6. Using regedit and the instructions in the original post, change the CSLID of the default Windows Media Center to FDSHOW’s CSLID

7. DO NOT CHANGE THE MP3DMOD.DLL ! (this is what caused my problems apparently as leaving it alone gave me the correct results)

8. Open the FFDSHOW Audio Decoder Options (through Shark007’s settings utility under the ‘config’ tab

9. Set the following options:
- in ‘codecs’ mp1/mp2 as libavcodec
- mp3 as libmad
- for volume and resample you can use the post’s information
-in ‘output’ set ‘connect to’ to DirectSound’ and make sure ‘allow direct-to-file output’ is ticked

10. Restart media center and that should be it.

Not sure if I still have FFDSHOW for TV audio as I haven’t checked yet but my films work with FFDSHOW audio now.

I hope this helps somebody as my problem is sorted… for now

Comment left March 8, 2010 at 4:57 pm with Permalink
Comment #8374 from Craig Dennis [Reply]

Ok so I changed the MP3DMOD.dll to MP3DMOD.dll.bac

I don’t know what was causing the problems.

TV doesn’t have FFDSHOW but that’s fine by me as all the important stuff does.

In the words of a great philosopher – “meh”

Comment left March 8, 2010 at 5:01 pm with Permalink
Comment #8375 from Craig Dennis [Reply]

Turns out I didn’t change the CSLIDs so I guess that was the fix for me.

Comment left March 8, 2010 at 5:03 pm with Permalink

Leave A Comment

Post Anonymously, Fill in your details or Use one of the Social Networks below to login and post a comment!