If you have been following along with my last few posts (The Family IT Guy and Setting Up MPC) the main goal that I was working towards was to finally set up bitstreaming of HD Audio (DTS-MA and TrueHD) with my HTPC. Leading up to the last few months this was only possible by using an expensive sound card (such as the Xonar HDAV1.3) along with dedicated software (such as PowerDVD and TotalMedia Theatre). Additionally, this would only work either from a Blu Ray disc or a Blu Ray disc image/structure, so you were out of luck if you had ripped your Blu Ray discs into formats like mkv. This was less then ideal for me since whenever I purchase a Blu Ray movie the first thing I do is rip it to my server in either ts or mkv format, so I would need to reformat my Blu Ray rips into a Blu Ray structure and also pay to use one of the 3rd party softwares. Things started to get more interesting with AMD releasing the 5xxx series GPU which supports bitstreaming, and Intel released the core i5/i3 CPU which had built in support for bitstreaming as well. However, you are still stuck with the same requirement of having your videos in a Blu Ray structure and having to pay for a 3rd party solution (although I know TMT has yet to release a patch for this to work with the 5xxx GPUs). Well, it looks like there is finally a solution. Damien Bain-Thouverez (also known as Albain on Doom9), developer of Media Control, has devised a way to allow for full bitstreaming of HD Audio through FFDShow. For those who don’t know, FFDShow is a very popular DirectShow and VFW codec for decoding/encoding many video and audio formats. With the latest beta FFDShow, you can now bitstream from standalone files using either MPC or WMC/WMP. Thanks to the help of the folks over at AVSForum (especially Tulli who provided much of the information for this guide, Andy o, vladd, and SamuriHL) and of course the work by Damien on FFDShow I now have bitstreaming working! The steps are slightly different for setting up using MPC HC (Part I) or WMC/WMP (Part II), so I will try to work through each situation. Also, I can only verify that this works with my setup, so different setups may yield different results.
DISCLAIMER – It is highly recommended that you have a backup or image of your O/S that you can revert to in the instance that something doesn’t work. Really this should be done before installing any software, but I find it particularly important when dealing with codecs/filters. Also, make sure you download the correct files (x32 vs x64).When I first set up my PC I make a backup immediately with WHS (I call the backup something like “W7 Clean”) and lock the backup so it does not get deleted. I have used WHS quite a few times to restore to this backup and it has worked like a charm.
My Setup:
- Windows 7 x32 HTPC w/ Sapphire 5670 GPU connected to Receiver via HDMI
- Onkyo TX-SR906 AVR, 5.1 speaker setup connected to TV via HDMI
- Panasonic Viera TH-58PZ800U Plasma HDTV
Hardware Requirements:
- PC running Windows (preferably Windows 7) with either an AMD 5xxx GPU, Intel i3/i5 Clarkdale CPU, or HD Bitstream capable Sound Card
- A Receiver that can decode the DTS(MA) and TrueHD
—————SETTING UP WITH MPC HC—————
Files to Download:
- Latest FFDShow Beta
- Latest MPC HC
- DirectX End-User Runtime Web Installer – necessary to run the latest MPC HC
- Realtek ATI HDMI Audio Device (current R2.39) (5xxx GPU only) or Intel Driver (core i3/i5)
- AMD Video Card Driver (5xxx GPU only). ATI Catalyst 10.1 or ATI Catalyst for HD5670 ONLY
Setup:
1. Install AMD Video Card Driver (only applies to 5xxx GPU). Restart PC
2. Install Realtek ATI HDMI Audio Driver (only applies to 5xxx GPU) or Intel Driver. Restart PC
3. Set up HDMI Audio (showing setup using 5xxx GPU)
- In toolbar right click on speaker icon and go to “Playback Devices”. The Realtek HDMI Output should be set as default under the Playback Tab. Highlight this, and click the “Configure” button.
- Walk through the speaker setup, which is pretty self explanatory.
- After the Speaker Setup is complete you should be back at the Playback Tab. Select RealTek HDMI Output and click the “Properties” button. Under the Supported Formats tab, you should see all supported formats, including DTS-HD and TrueHD.
4. UPDATE – IT APPEARS THAT WITH THE LATEST ATI CCC RELEASE (10.4) THE EDID ISSUE HAS BEEN FIXED, SO THIS STEP SHOULD NO LONGER BE NEEDED!!! Download and install EDID override (only applies to 5xxx GPU). There appears to be an issue with the ATI drivers not parsing correctly the EDID of certain receivers. Hopefully this will be fixed in an upcoming driver release, but until then you can override the current driver to correct. To make it even more confusing, it appears to only affect Denon, Onkyo, and Sony (but even then not all models). Best idea would be to skip this step completely, set everything up, and if bitstreaming is not working install the EDID override per Tulli’s instructions.
- Download necessary EDID and extract somewhere on your PC
- Right click on desktop and select “Personalize”
- Click on Display -> Change Display Settings
- Click on Screen of AVR display -> click “Advanced Settings”
- Select Monitor Tab -> “Properties”
- Select Driver Tab -> “Update Driver”
- Select “Browse my computer for updates” -> “Let me pick from a list of drivers my computer” -> “Have Disk” -> “Browse” -> navigate to display device .inf file -> Click Open -> OK -> Install new driver
- Reboot
5. Install FFDShow. Launch ffdshow audio decoder configuration, go into Output, and tick off all the audio options under the “Pass-through (S/PDIF, HMDI)” settings.
EDIT – IF YOU GET AN “ACM WRAPPER” ERROR WHEN PLAYING MOVIES WITH LPCM TRACKS, GO INTO THE CODECS SECTION OF FFDSHOW AUDIO, SCROLL TO THE BOTTOM, AND FOR UNCOMPRESSED CHANGE FROM DISABLED TO ALL SUPPORTED. BIG THANKS TO DSUDOT FOR HELPING ME TROUBLESHOOT.
6. Install DirectX End-User Runtime if necessary.
7. Install MPC HC. Open MPC HC, go to View -> Options
- Under “Output” keep default settings. Make sure Audio Renderer is set to “System Default”
-
Under “Internal Filters” uncheck “H264/AVC (ffmpeg)” and “VC1 (ffmpeg)”
-
Under ”External Filters” click the “Add Filter” button.

-
Select “ffdshow Audio Decoder” and click OK
-
Highlight ffdshow Audio Decoder and tick “Prefer”
-
Follow the same process, except this time select “Microsoft DTV-DVD Audio Decoder” and set it to “Block”
8. Now it is the moment of truth. Navigate to one of more movies that has a DTS(MA) or TrueHD audio track and play it with MPC HC. If all went well you should see the the DTS(MA) or TrueHD logo light up on your Receiver. You can also verify by placing your cursor over the ffdshow icon in your toolbar (pictures below in the bottom right hand corner)
The beauty of using MPC HC as your player is that many Media Center platforms supports the use of a 3rd party player such as MPC. For instance, check out this guide on how to set up MPC as your 3rd party player in WMC + Media Browser. If you have any problems I would definitely recommend visiting one of the resources mentioned below, as there is a wealth of information and very helpful members.
Part II, which will explain how to set up bitstreaming in WMC using the default WMP player, can be found here.
Links/Resources:












{ 259 comments… read them below or add one }
← Previous Comments
I doubt it has anything to do with using your pc while ripping, especially if you’re just web surfing or playing music.
I would try playing the movie straight from the disc in MPC. If you don’t have it, you’ll need to download a trial of AnyDVD-HD. Then, with AnyDVD running, open the disc and browse to the m2ts file that contains the movie: right click the drive and click “expand” > BDMV > STREAM, and look for the largest file – it could be anywhere from about 15-40GB. Depending on whether or not the audio is still out of sync, you’ll at least know if the problem is with the player/filters, or with the ripping process.
Also, try to avoid seeking while playing the movie, at least while you’re testing.
Thanks robp, it never occurred to me that I can do that. Ha. I do have AnyDVD- HD so I will try that and will let you know. Thanks for the suggestion.
Reporting back. I chose Star Trek for my test instead of Hancock as Hancock had the movie in multiple streams that didn’t last the amount of time for me to start noticing audio sync problems. The Stark Trek disc had one 40GB file. I played the ripped Star Trek on my computer and for some reason, playing that file required more time until I noticed audio sync problems. Regardless, it was still there however playing straight from the disc, there were no issues (watched about half that movie).
So it seems there is a problem with my ripping process? So my question to you guys is, what do you use? I had used MakeMKV and ClownBD+mkvmerge on another computer and transferred to my htpc (when testing out Hancock, it seems like using both methods didn’t make a difference). I will try the actual ripping process on my htpc and see if that makes any difference.
@ Eugene,
I am not convinced it is the ripping process (as I have used both methods that you mentioned and don’t get AV sync problems). It almost seems like it may be an issue with your HTPC (possibly some decoders/filters conflicting with each other that are used with your mkvs)?
@ Damian,
Well I have formatted my hard drive and simply loaded only ffdshow x64, MPC-HC x64 with the same results on the Hancock movie.
What is strange is Star Trek takes a little longer for it to become out of sync it seems like. I just tried ripping the movie on my HTPC rather than my other computer (as I have been doing) and played the movie Hancock. I played the movie for quite some time and came back way into the movie and it seems like it was in sync. Then I said, let me watch it until the part where I know it starts messing up and surely enough, it was still messing up. A simple seek, pressing the slider or seeking a little bit backwords seemed like it fixed the problem. This leads me to believe that it has nothing to do with the file. I hope not because its not like I am using some software people don’t use. So now I am thinking it may be hardware related. Possibly my video card
XFX ATI Radeon HD 5450
2GB of RAM
Mobo: MA785GM-US2H
AMD X2 (which I unlocked the other two cores but have since reset it to use two cores).
DTS-MA works fine last time I checked.
It’s only a guess but could it be the video card? This is so frustrating.
@ Eugene,
Do you get the same issue with an mkv and you do with a single m2ts file? Also, do you get the same AV Sync issue on both your desktop pc and your htpc, or is it only your HTPC that gives you the issue (if it occurs on both PCs then it would rule out the5450 being the issue)
@ Damian,
I don’t get this issue it seems when playing a m2ts file str8 from the Blu Ray disc. I have not tested playing back on my desktop computer as that may be a timely process. I may investigate that but it may be my last option. I am in the process of moving so hopefully, I will have some time to do it soon.
hi problems with the realtek installation
i installed the latest ccc 10.2- 10.6 after installing relatek driver
in control panel is no relatek hdmi output its an windows digital audio hdmi device set up only to 2 channels, i wouldt install the driver manuel over the hardwaremanager but i have no plan wich inf i must used for my ati 5770
please help
thx
You could possibly have some conflicting drivers messing around with your system. If possible I would uninstall the Realtek HDMI driver, uninstall CCC, use a driver cleaner program to clean out everythinig, and then just install CCC 10.6. See if that works (there is no need to install the Realtek HDMI anymore). Let me know if this works. Worse case, do a clean install and just install CCC 10.6
← Previous Comments
{ 1 trackback }