Guide: Bitstreaming HDMI HD Audio Formats from your HTPC

46 posts / 0 new
Last post
Offline
Joined: 13 Jul 2009
Guide: Bitstreaming HDMI HD Audio Formats from your HTPC

Original Article Link

Getting bitstreaming of HD AUdio working with standalone mkvs in SageTV v7 has been spotty at best. The internal mkv splitter that SageTV 7 now uses does not support properly (does not work with TrueHD and DTSMA is a mess). You can replace the internal splitter with Haali but that introduces other issues. TrueHD bitstreams fine but there appears to be a bug with Haali where DTSMA mkvs created with MakeMKV play fine with Haali but DTSMA mkvs created with mkvmerge or other stutter like crazy with Haali. I have submitted a bug to SageTV regarding the internal splitter issues.

Right now I find the most reliable way to bitstream from standalone mkv/m2(ts) is to use MPC HC launching from your favorite front end. I have been testing the XBMC DSPlayer build as well and bitstreaming works fine.

Cheers,
Damian

http://www.mediasmartserver.net
http://www.adigitalhomeblog.com Windows Entertainment and Connected Home MVP

captain_video's picture
Offline
Joined: 6 Jul 2007

I can't speak to bitstreaming HD audio from mkv's as I've never had any experience with it.  I have gone two separate routes for bitstreaming HD audio from my HTPC via HDMI to my Onkyo Pro preamp/processor.  I picked up an Asus HDAV 1.3 sound card as soon as it became available.  It worked great but I recently ran into some hardware issues with my HTPC and I'm not sure if the HDAV was involved without running additional tests. 

I recently upgraded from XP Pro to Win 7 Pro with Media Center in order to accommodate the pending release of the Ceton CableCard tuners.  I needed to free up a PCI-E slot for the Ceton card so I swapped out my existing graphics card and the HDAV for an ATi 5670 card.  The transition was simple and painless.  I also upgraded to PowerDVD 10, which fits seamlessly into MC.  Since I rip all of my Blu-Rays to iso's I installed the auto mount app by Mikinhosoft.  I'm able to select an iso from the movie library, have it mount the image, and start playing in PowerDVD while using the Media Center UI.  I can select the audio option to bitstream the HD audio during playback and it works beautifully.

mikinho's picture
Offline
Joined: 19 Mar 2007

I have almost everything in ISOs or BDMV format as well and I use a mix of PDVD10 and TMT3 (one other application but I'll mention that separately).  For the few MKVs I do have, typically lower quality Blu-ray content that I'll rip using MakeMKV, I am content with LPCM for now.

It is great that ffdshow tryouts supports DTS-HD and Dolby TrueHD bitstreaming but I find it too unstable with W7 x86-64 to be used reliably by my family.  I'm looking forward to a more stable build but until then I'll choose reliability.

@captain_video Glad Mount Image is still helpful

Mikinho | Missing Remote | Windows Entertainment and Connected Home MVP

Offline
Joined: 21 Jan 2007

Is there really any reason why people would consider buying one of the stand alone sound cards now, given the low price of the 5x series graphics card by ATI or the integrated offerings by intel?

Offline
Joined: 15 Mar 2007

Mike, this is a great resource.  Thanks for putting it together.  I have a quick comment though.  I'm not sure it was totally clear from the beginning what the different audio paths are and their advantages and limitations.  Specifically, LPCM and Spdif didn't really get an introduction early on and I am worried that a newbie could get confused.  I'm gonna try my hand here so it will help newbies.

The different audio paths for audio from a PC to a Receiver

Stereo analog audio:

If you don't know what this is stop reading now and go back to the Apple store and buy something shinny that catches your eye.   I thought I would include it here to be complete.  

Spdif
Supports bitstreaming DTS, Dolby Digital, and Stereo (via stereo PCM).  Comes in either Optical form or digital coax.  Quality of both connection types are equivalent.  This is the go to way to connect your PC to your receiver if you do not wish to take advantage of the HD audio.  These formats are lossy (except for Stereo PCM) but still sound great.  When watching a Blu-ray you will get the highest quality of each codec.  For DTS you get 1.5Mbit/s, and for Dolby Digital (DD) you get 640Kbit/s.  This quality is higher than DVDs which use a 448k DD track and DTS at 754 Kbit/s.  At the bitrates DD and DTS use on BDs the differences between the lossy and the HD versions are small and many experts agree that full bitrate DD and DTS are indistinguishable to the uncoded source in a double blind test.  (I had to throw that in  :) )

MultiChannel Analog Audio
Mike did a great job of explaining this so the only thing I thought I would add is that you are relying on the audio card in your PC to do the decoding.  If your sound on your PC isn't very good, quality will suffer.  Also and perhaps more importantly for the average listener, is that your receiver will no longer be able to use its post processing.  You will have to do your calibrations in the PC's software, meaning you will have to set the channel levels, crossover frequencies, phases, and subwoofer level in your PC.   Using analog audio you will have to set your levels all over again and won't be able to use the auto calibration settings on your receiver.  That's why I personally suggest Spdif if you can't get HDMI to your receiver.  I guarantee you will be able to hear setup problems introduced by an improperly calibrated setup, while the differences between lossy Spdif and and their HD counterparts are much harder to differentiate.

LPCM
LPCM is like an unpacked zip file of audio.  DTS HD and TrueHD use lossless compression to make their files sizes smaller, just like a zip file can take your documents and pack them into a smaller package without losing any of your data.  LPCM is simply an unpacked version of whatever audio format you give it.  Whether you play a DTS track, a DD track, or a TrueHD track, LPCM will pass that signal like an unpacked zip file.  Hence, LPCM can either pass lossy data, or lossless audio.  It is more like a transport that a format.  LPCM is supported by HDMI versions 1.1 and later and as long as the PC doesn't muck with the data as Mike describes, will be exactly the same data as their DTS HD and TrueHD counterparts.  LPCM is actually the way that Blu-ray engineers intended you to get HD audio from BDs and that is why early players launched with HDMI 1.1 and 1.2 connections.  It wasn't until HDMI 1.3 that bitstreaming of DTS HD and TrueHD became possible at all.  An advantage to LPCM is that the player software will mux together multiple audio streams like the commentary and beeps from navigating the menus in your BD plater.  If you go bitstream, you can only get one audio stream at a time.  

Bitstreaming HD audio.  

Supported by HDMI 1.3 and later versions.  Advantages are it can't be screwed with by your player or Windows, and the pretty HD audio light on your receiver impresses your friends with your audio greatness.  The disadvantage is that you miss out on beeps and some other audio that may be muxed by your player.  I've never missed those but you may come across a situation that you want LPCM for two audio streams to be muxed together.  Coupled with a supporting video card, motherboard, or sound card, HD bitstreaming seems to just work, and works well.

Anyways, I hope that helps a bit for those who are unfamiliar with some of the terms used here.  Audio is pretty complex because of all the differnt formats, and all the settings you need to set properly to get it to work.

Remember that the experience you get from any audio source, whether it is a lossy DD stream on a DVD, or a TrueHD stream on a Blu-ray, is only as good as your audio system and its calibration.  Before you even start to worry about HD audio on your system, it is ABSOLUTELY required that you take the time to properly calibrate your speaker placement, speaker levels, subwoofer levels, phase, and speaker crossovers.  Even the best audio stream on a $5000 system will sound like absolute garbage on an improperly setup system, and even low bitrate lossy Dolby Digital on a DVD can sound absolutely amazing if you have taken the time to setup your system properly.

mikinho's picture
Offline
Joined: 19 Mar 2007

bbig119 wrote:

Is there really any reason why people would consider buying one of the stand alone sound cards now, given the low price of the 5x series graphics card by ATI or the integrated offerings by intel?

Yes.  Well just one really that I can think of.  If you are looking to power a 3D HDTV depending on the 3D technology used NVIDIA is still the only option available in the HTPC market.  If you want the "best" 3D experience and hd audio bit streaming a discrete NVIDIA card paired with either the Auzentech or ASUS card is your only option for a single HDMI cable.

Intel has stated they will be supporting 3D technology later this year with their HD Graphics but there are still too many unanswered questions in regards to what will be supported. 

Mikinho | Missing Remote | Windows Entertainment and Connected Home MVP

Offline
Joined: 12 Jan 2010

bbig119 wrote:

Is there really any reason why people would consider buying one of the stand alone sound cards now, given the low price of the 5x series graphics card by ATI or the integrated offerings by intel?

Another reason would be if you're like me and have an older receiver that has only analog inputs.

Offline
Joined: 15 Mar 2007

jrandeck wrote:

bbig119 wrote:

Is there really any reason why people would consider buying one of the stand alone sound cards now, given the low price of the 5x series graphics card by ATI or the integrated offerings by intel?

Another reason would be if you're like me and have an older receiver that has only analog inputs.

I think he was referring to the HDMI equipped sound cards.  I don't see too many reasons other than 3D, or if you had special requirements for a gaming card that was only Nvidia.

There are still a few good reasons to buy a good quality analog sound card if you are using analog outputs for high quality audio, however, I would argue that the average guy use lossy Spdif from the motherboard instead of analog outputs because it is much easier to setup and calibrate properly.  It's also free.

mikinho's picture
Offline
Joined: 19 Mar 2007

autoboy, thanks for the additional information.  You are absolutely correct, properly setup and calibration is incredibly important for both audio and video quality.  But then again if you don't know what is "good", sadly most people don't, then it is hard to calibrate.

Mikinho | Missing Remote | Windows Entertainment and Connected Home MVP

Offline
Joined: 24 Aug 2009

One thing that should also be considered with bitstreaming is forced subtitles.  I'm not sure why this is never raised, because it is a major pain if you are watching a movie and all of a sudden there is some dialog from another language that you have no idea what is being spoken.

To my knowledge, there is a huge difference in the ease of getting forced subtitles to work.  With TMT3 as a player for a Blu-ray image (optionally, a reduced size image using ClownBD), forced subtitles just plain work with no tinkering.  The last time I checked, you can get forced subtitles to work with MPC HC or WMP, but it was a major hack job.  I understand that most people try to minimize cost and thus avoid the commercial players whenever possible, but I finally gave up and paid the price for TMT3 to have forced subtitles work with no problems.

Offline
Joined: 15 Mar 2007

Mikinho wrote:

autoboy, thanks for the additional information.  You are absolutely correct, properly setup and calibration is incredibly important for both audio and video quality.  But then again if you don't know what is "good", sadly most people don't, then it is hard to calibrate.

Calibration shouldn't be done by ear so it really shouldn't matter what someone thinks sounds good.  Thankfully most new receivers come with an autocalibration mic and they tend to actually work pretty well.  The only limitation I have found is their settings for the crossover.  My Axiom m60s were set as large and pretty much no speakers should ever be set for large if you have a subwoofer.  Then, my center channel was set at 150hz which is far too high.  I set mine at 90hz and used test tones to verify that it was correct.  150hz is far too high and with a center channel especially, you run the risk of getting boomy voices localized to the sub.

Offline
Joined: 21 Jan 2007

autoboy wrote:

jrandeck wrote:

bbig119 wrote:

Is there really any reason why people would consider buying one of the stand alone sound cards now, given the low price of the 5x series graphics card by ATI or the integrated offerings by intel?

Another reason would be if you're like me and have an older receiver that has only analog inputs.

I think he was referring to the HDMI equipped sound cards.  I don't see too many reasons other than 3D, or if you had special requirements for a gaming card that was only Nvidia.

There are still a few good reasons to buy a good quality analog sound card if you are using analog outputs for high quality audio, however, I would argue that the average guy use lossy Spdif from the motherboard instead of analog outputs because it is much easier to setup and calibrate properly.  It's also free.

First off thanks for the article and helpful comments.

I didn't even think about 3D. Guess that shows where my priorities are. So there are clearly some clear cases, though I suspect that they are mostly gaps that will close up and the market for these specialized sound cards will continue to drop. $250 is alot for a sound card, especially when it could buy a CPU + H55 motherboard combo; said combo could fit in a smaller case with a smaller profile.

For me, I think I'll consider buying a ATI 5x card to replace my old 3x series card which has served me well.

mikinho's picture
Offline
Joined: 19 Mar 2007

While overpriced I don't consider the cost of the Auzentech to be that outrageous considering the high quality analog output it offers.  I've been a fan of Auzentech since XP MCE 2005 for two reasons: 1- Their sound cards were one of the first and few to offer bit-perfect audio over SPDIF; 2- They design their sound cards with swappable op-amps for all channels.

What is a little absurd is that PDVD is not bundled with the card.

Mikinho | Missing Remote | Windows Entertainment and Connected Home MVP

skirge01's picture
Offline
Joined: 21 Dec 2006

I hate you guys!  ;)  Now you have me wanting to get HD audio working with my SageTV setup.  Looks like ffdshow-tryouts is the only option, though, and stability may be an issue.  We'll see...

Server: WHS, SuperMicro dual Xeon X7DWE, 1 x Xeon L5410, Thermalright HR-01, 4GB Crucial ECC, 8 port PCI-X SATA, 4 port RocketRAID 2300, 5x1 PortMultiplier, Corsair HX1000W PSU, Lian-Li PC343B case [blog]
Storage:
2 x Addonics 5-in-3 bays, 13TB
Client:
SageTV 7, Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion [blog]
Tuners: 2 x HD-PVR (serial control), 2 x HDHR, USB-UIRT

Offline
Joined: 4 Apr 2007

tcs2tx wrote:

One thing that should also be considered with bitstreaming is forced subtitles.  I'm not sure why this is never raised, because it is a major pain if you are watching a movie and all of a sudden there is some dialog from another language that you have no idea what is being spoken.

To my knowledge, there is a huge difference in the ease of getting forced subtitles to work.  With TMT3 as a player for a Blu-ray image (optionally, a reduced size image using ClownBD), forced subtitles just plain work with no tinkering.  The last time I checked, you can get forced subtitles to work with MPC HC or WMP, but it was a major hack job.  I understand that most people try to minimize cost and thus avoid the commercial players whenever possible, but I finally gave up and paid the price for TMT3 to have forced subtitles work with no problems.

I don't think bit streaming introduces any new issues to the difficulty getting subtitles (forced or otherwise) to work properly in many players.

Retail BD solutions do offer a better experience for the feature (as they should), but now that the ffdshow DXVA video filter supports BD subs it should work in players that can leverage that (provided you're willing to deal with ffdshow's nuances).

I use PDVD for most of my BD viewing, but Sage V7 works pretty well if menus aren't important - it supports external SRT so for the ISO that get more use, and require subs, that is a good way to make it work.

Senior Editor | @babgvant

skirge01's picture
Offline
Joined: 21 Dec 2006

This has been bugging me for about a week now.  If this is the only way to get the HD audio and there are so many caveats, why wouldn't people just convert the audio to FLAC?  Is there a downside I'm not considering?

Server: WHS, SuperMicro dual Xeon X7DWE, 1 x Xeon L5410, Thermalright HR-01, 4GB Crucial ECC, 8 port PCI-X SATA, 4 port RocketRAID 2300, 5x1 PortMultiplier, Corsair HX1000W PSU, Lian-Li PC343B case [blog]
Storage:
2 x Addonics 5-in-3 bays, 13TB
Client:
SageTV 7, Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion [blog]
Tuners: 2 x HD-PVR (serial control), 2 x HDHR, USB-UIRT

Offline
Joined: 4 Apr 2007

Skirge01 wrote:

This has been bugging me for about a week now.  If this is the only way to get the HD audio and there are so many caveats, why wouldn't people just convert the audio to FLAC?  Is there a downside I'm not considering?

FLAC is an excellent option if you can convert losslessly and get the audio off w/o it getting messed with - it's hard to go wrong.

That said, it's a lot more effort to do that each time then setuping up bit streaming once and just using that.  I didn't expect it to happen, but I've deleted most of my mkvs and just store the ISO now.

Senior Editor | @babgvant

Offline
Joined: 13 Jul 2009

What caveats? I have been bitstreaming HD Audio from my mkvs and my m2ts files for a while now without issue using MPC HC + FFDShow. With FLAC my understanding is you need to use Reclock in WASAPI exclusive mode to ensure that Windows mixer does not get its hands on the track. I honestly just like the idea of my receiver being responsible for decoding the audio, and of course seeing the lights  ;D

Cheers,
Damian

http://www.mediasmartserver.net
http://www.adigitalhomeblog.com Windows Entertainment and Connected Home MVP

Offline
Joined: 4 Apr 2007

dbone1026 wrote:

With FLAC my understanding is you need to use Reclock in WASAPI exclusive mode to ensure that Windows mixer does not get its hands on the track.

SageTV works fine with Reclock, so that's not a big deal.

Senior Editor | @babgvant

Offline
Joined: 13 Jul 2009

babgvant wrote:

dbone1026 wrote:

With FLAC my understanding is you need to use Reclock in WASAPI exclusive mode to ensure that Windows mixer does not get its hands on the track.

SageTV works fine with Reclock, so that's not a big deal.

Reclock works with WMC as well, although I think it may break something in WMC (possibly live tv, haven't tested reclock in a while so not 100% sure)

Cheers,
Damian

http://www.mediasmartserver.net
http://www.adigitalhomeblog.com Windows Entertainment and Connected Home MVP

Offline
Joined: 4 Apr 2007

dbone1026 wrote:

Reclock works with WMC as well, although I think it may break something in WMC (possibly live tv, haven't tested reclock in a while so not 100% sure)

Last I checked it breaks LiveTV in WMC - so I wouldn't recommend it to most WMC users.

Senior Editor | @babgvant

skirge01's picture
Offline
Joined: 21 Dec 2006

dbone1026 wrote:

What caveats? I have been bitstreaming HD Audio from my mkvs and my m2ts files for a while now without issue using MPC HC + FFDShow. With FLAC my understanding is you need to use Reclock in WASAPI exclusive mode to ensure that Windows mixer does not get its hands on the track. I honestly just like the idea of my receiver being responsible for decoding the audio, and of course seeing the lights  ;D

I could be misunderstanding something, since I'm still new to this whole HD audio thing, so bear with me, but the big caveat in my mind is the DRM (aka protected path).

Maybe the best way to get an understanding would be to ask a more direct question about my own setup?  Here's what I have:

1.  A/V receiver (no HDMI, no HD audio decoding)
2.  Analog audio from mobo to receiver
3.  HDMI (video) to TV via ATI 4650
4.  SageTV (v6, so far)
5.  Windows 7

Without using an external player (i.e.  PDVD, TMT3, etc.), what are my options for playing back HD audio via SageTV?

Server: WHS, SuperMicro dual Xeon X7DWE, 1 x Xeon L5410, Thermalright HR-01, 4GB Crucial ECC, 8 port PCI-X SATA, 4 port RocketRAID 2300, 5x1 PortMultiplier, Corsair HX1000W PSU, Lian-Li PC343B case [blog]
Storage:
2 x Addonics 5-in-3 bays, 13TB
Client:
SageTV 7, Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion [blog]
Tuners: 2 x HD-PVR (serial control), 2 x HDHR, USB-UIRT

Offline
Joined: 4 Apr 2007

Skirge01 wrote:

I could be misunderstanding something, since I'm still new to this whole HD audio thing, so bear with me, but the big caveat in my mind is the DRM (aka protected path).

Maybe the best way to get an understanding would be to ask a more direct question about my own setup?  Here's what I have:

1.  A/V receiver (no HDMI, no HD audio decoding)
2.  Analog audio from mobo to receiver
3.  HDMI (video) to TV via ATI 4650
4.  SageTV (v6, so far)
5.  Windows 7

Without using an external player (i.e.  PDVD, TMT3, etc.), what are my options for playing back HD audio via SageTV?

Analog is your only option.

1) Configure ffdshow for PCM output (i.e. disable all the bit streaming options), then setup the mixer options how you see fit (I disable it).
2) Configure Windows to use the analog outs with the proper number of speakers.
3) Done.

FWIW, I tried the mobo based analog route a while back and got much better sound quality with AC3/DTS over S/PDIF.  Integrated analog audio has gotten better since then (esp. on some boards), so your experience might be different - just make sure to test it out w/ the same track in both configs.

Senior Editor | @babgvant

captain_video's picture
Offline
Joined: 6 Jul 2007

My preamp/processor can accept bitstreamed HD audio directly via HDMI for processing.  I've used both the Asus HDAV 1.3 and just recently switched to an ATi 5670.  Both methods have worked flawlessly for me with no setup problems.  A few minor tweaks to audio settings in various apps and XP/Win 7 and I was up and running.  Having gone through the process a couple of times it's pretty easy.  Once you understand what settings need to be tweaked it's a cakewalk.  I had the 5670 bitstreaming HD audio using PowerDVD 10 in very short order.

skirge01's picture
Offline
Joined: 21 Dec 2006

babgvant wrote:

Analog is your only option.

1) Configure ffdshow for PCM output (i.e. disable all the bit streaming options), then setup the mixer options how you see fit (I disable it).
2) Configure Windows to use the analog outs with the proper number of speakers.
3) Done.

FWIW, I tried the mobo based analog route a while back and got much better sound quality with AC3/DTS over S/PDIF.  Integrated analog audio has gotten better since then (esp. on some boards), so your experience might be different - just make sure to test it out w/ the same track in both configs.

Mind walking me through the setup for ffdshow a little bit?  I'm installing ffdshow-tryouts and deselected all the video options during install.  What should I be selecting for audio?  Just LPCM?  Any other setup after install?

Windows is already set up to use the analog outputs, so I'm good there.

Server: WHS, SuperMicro dual Xeon X7DWE, 1 x Xeon L5410, Thermalright HR-01, 4GB Crucial ECC, 8 port PCI-X SATA, 4 port RocketRAID 2300, 5x1 PortMultiplier, Corsair HX1000W PSU, Lian-Li PC343B case [blog]
Storage:
2 x Addonics 5-in-3 bays, 13TB
Client:
SageTV 7, Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion [blog]
Tuners: 2 x HD-PVR (serial control), 2 x HDHR, USB-UIRT

Offline
Joined: 4 Apr 2007

Open "Audio Decoder Configuration" under the ffdshow folder in the start menu.

Go to the "Output" tab and uncheck all the options under "Pass-through", then check the options that are appropriate for your HW (you may have to play a bit) under "Output format for uncompressed or decoded streams".

Then on the "Mixer" tab either disable it or select the right output config for your system.

There are some screen shots of the tabs in this guide.  They are a bit outdated, but the gist is the same.  LMK if it gives you trouble.

Senior Editor | @babgvant

skirge01's picture
Offline
Joined: 21 Dec 2006

I had to tweak the merits in order to get ffdshow to be used over Haali.  Once I had that, though, when I change to the HD audio stream, I get severe stuttering.  Selecting LPCM causes a horrific sound from the speakers.  I couldn't find any setting which didn't cause this.  Any idea what the cause might be?

Server: WHS, SuperMicro dual Xeon X7DWE, 1 x Xeon L5410, Thermalright HR-01, 4GB Crucial ECC, 8 port PCI-X SATA, 4 port RocketRAID 2300, 5x1 PortMultiplier, Corsair HX1000W PSU, Lian-Li PC343B case [blog]
Storage:
2 x Addonics 5-in-3 bays, 13TB
Client:
SageTV 7, Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion [blog]
Tuners: 2 x HD-PVR (serial control), 2 x HDHR, USB-UIRT

Offline
Joined: 4 Apr 2007

I don't think you want to output LPCM.

Haali is a splitter, where ffdshow is a transform - they shouldn't conflict with each other.  Are you sure nothing else is joining the graph ( AC3Filter)?

Try building the playback graph in GraphStudio w/ the default audio renderer and see what happens.  You can tweak ffdshow's settings from there to get real time results.

Senior Editor | @babgvant

skirge01's picture
Offline
Joined: 21 Dec 2006

You were right.  AC3filter is intervening.  I tried lowering the merit of it and raising ffdshow, but that actually caused the audio to cut out entirely.  Am I perhaps missing a codec or something?

On a better note, I re-ripped a Blu-ray to FLAC and that plays back just fine.  If it takes too much more time to troubleshoot this, I may just go ahead and re-rip everything to FLAC.  Hmph...  I was halfway done ripping.  ;D

Server: WHS, SuperMicro dual Xeon X7DWE, 1 x Xeon L5410, Thermalright HR-01, 4GB Crucial ECC, 8 port PCI-X SATA, 4 port RocketRAID 2300, 5x1 PortMultiplier, Corsair HX1000W PSU, Lian-Li PC343B case [blog]
Storage:
2 x Addonics 5-in-3 bays, 13TB
Client:
SageTV 7, Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion [blog]
Tuners: 2 x HD-PVR (serial control), 2 x HDHR, USB-UIRT

Offline
Joined: 4 Apr 2007

Make sure you configure AC3Filter to not accept LPCM or PCM types, and edit the sage client properties to load ffdshow for TrueHD and DTS-MA.

Senior Editor | @babgvant

skirge01's picture
Offline
Joined: 21 Dec 2006

babgvant wrote:

Make sure you configure AC3Filter to not accept LPCM or PCM types,

Yep... I did that.

Quote:
and edit the sage client properties to load ffdshow for TrueHD and DTS-MA.

But, what's this?  What exactly needs editing?  I know my way around that file pretty well, but I have no clue what needs editing for this part.

Server: WHS, SuperMicro dual Xeon X7DWE, 1 x Xeon L5410, Thermalright HR-01, 4GB Crucial ECC, 8 port PCI-X SATA, 4 port RocketRAID 2300, 5x1 PortMultiplier, Corsair HX1000W PSU, Lian-Li PC343B case [blog]
Storage:
2 x Addonics 5-in-3 bays, 13TB
Client:
SageTV 7, Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion [blog]
Tuners: 2 x HD-PVR (serial control), 2 x HDHR, USB-UIRT

Offline
Joined: 4 Apr 2007

Skirge01 wrote:

But, what's this?  What exactly needs editing?  I know my way around that file pretty well, but I have no clue what needs editing for this part.

videoframe/dolbytruehd_audio_decoder_filter=ffdshow Audio Decoder
videoframe/dts-ma_audio_decoder_filter=ffdshow Audio Decoder

Senior Editor | @babgvant

skirge01's picture
Offline
Joined: 21 Dec 2006

Awesome!  Thanks for that!  I'll try those two entries when I get home tonight.  I honestly don't think those entries currently exist, which would be why I didn't know what to change.

Server: WHS, SuperMicro dual Xeon X7DWE, 1 x Xeon L5410, Thermalright HR-01, 4GB Crucial ECC, 8 port PCI-X SATA, 4 port RocketRAID 2300, 5x1 PortMultiplier, Corsair HX1000W PSU, Lian-Li PC343B case [blog]
Storage:
2 x Addonics 5-in-3 bays, 13TB
Client:
SageTV 7, Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion [blog]
Tuners: 2 x HD-PVR (serial control), 2 x HDHR, USB-UIRT

skirge01's picture
Offline
Joined: 21 Dec 2006

That did it!  Thanks so much!

Server: WHS, SuperMicro dual Xeon X7DWE, 1 x Xeon L5410, Thermalright HR-01, 4GB Crucial ECC, 8 port PCI-X SATA, 4 port RocketRAID 2300, 5x1 PortMultiplier, Corsair HX1000W PSU, Lian-Li PC343B case [blog]
Storage:
2 x Addonics 5-in-3 bays, 13TB
Client:
SageTV 7, Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion [blog]
Tuners: 2 x HD-PVR (serial control), 2 x HDHR, USB-UIRT

skirge01's picture
Offline
Joined: 21 Dec 2006

Lately, I've noticed a high pitch whine from my speakers every once in a while.  I'm guessing that's due to the low quality of the onboard sound.  I've got an X-Meridian I never even opened, so I'm going to give that a shot.

On a somewhat related note, is there anything out there which can adjust the speaker levels automatically using a microphone?  My receiver is capable of that, but now that I'm using analog, that feature doesn't work.  I'm doing some Googling, but I'm stuck at what terms I should be searching for.

Server: WHS, SuperMicro dual Xeon X7DWE, 1 x Xeon L5410, Thermalright HR-01, 4GB Crucial ECC, 8 port PCI-X SATA, 4 port RocketRAID 2300, 5x1 PortMultiplier, Corsair HX1000W PSU, Lian-Li PC343B case [blog]
Storage:
2 x Addonics 5-in-3 bays, 13TB
Client:
SageTV 7, Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion [blog]
Tuners: 2 x HD-PVR (serial control), 2 x HDHR, USB-UIRT

Offline
Joined: 4 Apr 2007

If you have Windows 7 it has a room correction "Enhancement". 

Senior Editor | @babgvant

skirge01's picture
Offline
Joined: 21 Dec 2006

Thanks.  I found the room correction and set those.  They sure don't make it easy to find, though!

That whine was getting annoying, so I installed the Auzentech X-Meridian yesterday.  I was pleasantly surprised to find that Auzentech released 64 bit drivers for Windows 7 for this--fairly old--card.  My sole complaint is that their software doesn't have a room correction, which goes by distance.  Instead, they use an interactive map, where you drag the speakers and it changes the decibel level automatically.  But, since it doesn't tell you how far you've moved the speaker.  In the end, I found that the default layout seemed to sound best.

Another interesting point was that I found that my subwoofer wasn't set to the proper crossover frequency and corrected that.  The bass sounds much more accurate now.

Server: WHS, SuperMicro dual Xeon X7DWE, 1 x Xeon L5410, Thermalright HR-01, 4GB Crucial ECC, 8 port PCI-X SATA, 4 port RocketRAID 2300, 5x1 PortMultiplier, Corsair HX1000W PSU, Lian-Li PC343B case [blog]
Storage:
2 x Addonics 5-in-3 bays, 13TB
Client:
SageTV 7, Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion [blog]
Tuners: 2 x HD-PVR (serial control), 2 x HDHR, USB-UIRT

skirge01's picture
Offline
Joined: 21 Dec 2006

My how quickly things change.  No sooner do I get this figured out than do I find a need to purchase a new receiver with HDMI.

So, is this a no-brainer and pretty much any receiver will do?  I'm currently looking at the Pioneer VSX-820.  The plan will be to hook up the 4650's HDMI to the receiver, as well as the Wii.  That receiver doesn't have multi-channel analog inputs, so I'm guessing I'll need to go the WASAPI/Reclock route?  Assuming that's correct--and this next part is where I'm really lost--would I then be looking to somehow hook up the X-Meridian to the ATI card to combine the audio over the HDMI cable to the receiver or does the 4650 do the audio itself?  Would my MKVs with HD audio (DTS-HD and TrueHD) be able to pass the audio correctly and untouched to the speakers?

Server: WHS, SuperMicro dual Xeon X7DWE, 1 x Xeon L5410, Thermalright HR-01, 4GB Crucial ECC, 8 port PCI-X SATA, 4 port RocketRAID 2300, 5x1 PortMultiplier, Corsair HX1000W PSU, Lian-Li PC343B case [blog]
Storage:
2 x Addonics 5-in-3 bays, 13TB
Client:
SageTV 7, Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion [blog]
Tuners: 2 x HD-PVR (serial control), 2 x HDHR, USB-UIRT

Offline
Joined: 4 Apr 2007

Skirge01 wrote:

So, is this a no-brainer and pretty much any receiver will do?

Best advice I can give is to find a A/V store with a good listening room and try out AVR from a bunch of different vendors at different tiers in their lineup.  Every AVR has a slightly different sound, find the one that sounds the best to you (and fits w/ in the budget). 

I'm really lazy when it comes to setting up room correction, so personally I'd opt for an AVR that has Audyssey MultEQ, or something similar, to do it for you (I didn't check to see if the VSX-820 has that feature - it might).

Skirge01 wrote:

The plan will be to hook up the 4650's HDMI to the receiver, as well as the Wii.  That receiver doesn't have multi-channel analog inputs, so I'm guessing I'll need to go the WASAPI/Reclock route? 

For bit perfect audio, yes.

Skirge01 wrote:

Assuming that's correct--and this next part is where I'm really lost--would I then be looking to somehow hook up the X-Meridian to the ATI card to combine the audio over the HDMI cable to the receiver or does the 4650 do the audio itself?

You don't need the X-Meridian - just the 4650, the Realtek ATI HDMI driver, and an HDMI cable.

Skirge01 wrote:

Would my MKVs with HD audio (DTS-HD and TrueHD) be able to pass the audio correctly and untouched to the speakers?

You can use ffdshow to decode TrueHD to LPCM losslessly during playback, but AFAIK there aren't any free/OSS lossless DTS-MA decoders so if you don't want to convert to FLAC prior to muxing the MKV (or they already exist) your best option is to bitstream the core for DTS-MA tracks - the difference is slight.

Senior Editor | @babgvant

skirge01's picture
Offline
Joined: 21 Dec 2006

The 820 has Pioneer's MCACC, which is what my current receiver has, as well.  I would definitely prefer to use that, as I did before I went multi-channel analog.  The ~$250 price of this receiver is right in range of what I can afford right now, so I don't think I have many other options.

According to the guide, Reclock works with SageTV, so that should be an issue.  Thanks for clarifying that for me.

I did plan to use ffdshow, as I currently am, but the DTS-MA bothers me.  (Mainly because I didn't keep the core in my rips.)  I have a license for TMT3 and it's installed, but I know that their decoders aren't available to 3rd party apps, by default.  However, this post seems to have found a way to make them available.  Assuming that works, I guess I wouldn't need to use ffdshow for any of the decoding, since I could use the TMT3 decoders for everything.

Thanks for all the help here!

Server: WHS, SuperMicro dual Xeon X7DWE, 1 x Xeon L5410, Thermalright HR-01, 4GB Crucial ECC, 8 port PCI-X SATA, 4 port RocketRAID 2300, 5x1 PortMultiplier, Corsair HX1000W PSU, Lian-Li PC343B case [blog]
Storage:
2 x Addonics 5-in-3 bays, 13TB
Client:
SageTV 7, Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion [blog]
Tuners: 2 x HD-PVR (serial control), 2 x HDHR, USB-UIRT

Offline
Joined: 4 Apr 2007

Skirge01 wrote:

I did plan to use ffdshow, as I currently am, but the DTS-MA bothers me.  (Mainly because I didn't keep the core in my rips.)  I have a license for TMT3 and it's installed, but I know that their decoders aren't available to 3rd party apps, by default.  However, this post seems to have found a way to make them available.  Assuming that works, I guess I wouldn't need to use ffdshow for any of the decoding, since I could use the TMT3 decoders for everything.

Even you can get the TMT3 decoders to work properly (I wasn't able to) the audio filter won't work the way you want.  It defaults to stereo output and expects the application to configure it for bit streaming each time it's used.  A while back I wrote a wrapper filter that could work around this, but it stopped working with one of their updates and I haven't had the need to revisit it.

Senior Editor | @babgvant

skirge01's picture
Offline
Joined: 21 Dec 2006

Ah, crap!  You were being SO helpful before.  LOL!  So, there's no way to get DTS-MA through SageTV at this point in time?

Server: WHS, SuperMicro dual Xeon X7DWE, 1 x Xeon L5410, Thermalright HR-01, 4GB Crucial ECC, 8 port PCI-X SATA, 4 port RocketRAID 2300, 5x1 PortMultiplier, Corsair HX1000W PSU, Lian-Li PC343B case [blog]
Storage:
2 x Addonics 5-in-3 bays, 13TB
Client:
SageTV 7, Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion [blog]
Tuners: 2 x HD-PVR (serial control), 2 x HDHR, USB-UIRT

Offline
Joined: 4 Apr 2007

Skirge01 wrote:

Ah, crap!  You were being SO helpful before.  LOL!  So, there's no way to get DTS-MA through SageTV at this point in time?

If you mean DTS-MA decoded to LPCM during playback, AFAIK the answer is no.  I converted all of my DTS-MA tracks to FLAC prior to muxing to workaround it.

Senior Editor | @babgvant

Offline
Joined: 27 Dec 2006

All of mine have been downconverted to AC3 Sad ...but I'm also sufficiently happy with the audio quality from 640K DD

My Home Theater, XLobbyMC
To Do: Finish Re-ripping my music collection - While Playing FF XIV

skirge01's picture
Offline
Joined: 21 Dec 2006

babgvant wrote:

Skirge01 wrote:

Ah, crap!  You were being SO helpful before.  LOL!  So, there's no way to get DTS-MA through SageTV at this point in time?

If you mean DTS-MA decoded to LPCM during playback, AFAIK the answer is no.  I converted all of my DTS-MA tracks to FLAC prior to muxing to workaround it.

I wanted to avoid as many conversions as possible when ripping, so I tried (and am still trying) to keep everything as original as possible.  I didn't want to convert to FLAC for fear of something else replacing it down the line.  I also wanted to minimize storage by removing all the stuff I didn't want (or see a need for), which was why I removed the core audio.  Oh well.

Server: WHS, SuperMicro dual Xeon X7DWE, 1 x Xeon L5410, Thermalright HR-01, 4GB Crucial ECC, 8 port PCI-X SATA, 4 port RocketRAID 2300, 5x1 PortMultiplier, Corsair HX1000W PSU, Lian-Li PC343B case [blog]
Storage:
2 x Addonics 5-in-3 bays, 13TB
Client:
SageTV 7, Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion [blog]
Tuners: 2 x HD-PVR (serial control), 2 x HDHR, USB-UIRT

Offline
Joined: 4 Apr 2007

Skirge01 wrote:

I wanted to avoid as many conversions as possible when ripping, so I tried (and am still trying) to keep everything as original as possible.  I didn't want to convert to FLAC for fear of something else replacing it down the line. 

Completely understandable - I deleted all of my MKV's with FLAC and am storing the ISOs now.

Senior Editor | @babgvant

Login or register to post comments
Website design by Yammm Software
Powered by Drupal