Kodi Community Forum
[WINDOWS][PATCH]Bitstream output of HD audio formats - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+--- Thread: [WINDOWS][PATCH]Bitstream output of HD audio formats (/showthread.php?tid=121877)



RE: [WINDOWS][PATCH]Bitstream output of HD audio formats - clark kent - 2012-05-29

I have tried that also already but didn't work. Thanks for the suggestion though.


RE: [WINDOWS][PATCH]Bitstream output of HD audio formats - bluray - 2012-05-29

(2012-05-29, 04:56)clark kent Wrote: I have tried that also already but didn't work. Thanks for the suggestion though.
Could it be your HTPC is missing this- Microsoft Visual C++ 2010 Redistributable Package (x86)........

If it can bitstream HD audio with other media player, it should be able to bitstream HD audio with XBMC......




RE: [WINDOWS][PATCH]Bitstream output of HD audio formats - clark kent - 2012-05-29

I do have that installed and bitstreaming HD audio does work in XBMC just everything except TRUEHD. DTSHD works fine.


RE: [WINDOWS][PATCH]Bitstream output of HD audio formats - bluray - 2012-05-29

(2012-05-29, 10:32)clark kent Wrote: I do have that installed and bitstreaming HD audio does work in XBMC just everything except TRUEHD. DTSHD works fine.
That's weird......you can turn on the log and Pastebin it here.......




RE: [WINDOWS][PATCH]Bitstream output of HD audio formats - couto27 - 2012-05-29

(2012-05-29, 10:32)clark kent Wrote: I do have that installed and bitstreaming HD audio does work in XBMC just everything except TRUEHD. DTSHD works fine.

some movie titles have only TRUEHD and other movies have only DTS-HD

are you aware of that?



RE: [WINDOWS][PATCH]Bitstream output of HD audio formats - DDDamian - 2012-05-29

(2012-05-29, 04:53)bluray Wrote:
(2012-05-29, 03:19)clark kent Wrote: yes I do get sound with all other programs. I even get sound with XBMC just not in Dolby True HD
Un-install XBMC (wipe out XBMC entirely), and re-install it fresh......you can try the latest nightly build from here- XBMCSetup-20120528-64fd446-master.exe 28-May-2012 09:57 ......and select the proper audio output in XBMC settings/system/audio output.....

^^^ you would no longer have this patch - if you do the above any questions in this thread about this patch would be irrelevant.


RE: [WINDOWS][PATCH]Bitstream output of HD audio formats - bluray - 2012-05-29

(2012-05-29, 20:37)DDDamian Wrote:
(2012-05-29, 04:53)bluray Wrote:
(2012-05-29, 03:19)clark kent Wrote: yes I do get sound with all other programs. I even get sound with XBMC just not in Dolby True HD
Un-install XBMC (wipe out XBMC entirely), and re-install it fresh......you can try the latest nightly build from here- XBMCSetup-20120528-64fd446-master.exe 28-May-2012 09:57 ......and select the proper audio output in XBMC settings/system/audio output.....

^^^ you would no longer have this patch - if you do the above any questions in this thread about this patch would be irrelevant.
That is correct.....




RE: [WINDOWS][PATCH]Bitstream output of HD audio formats - clark kent - 2012-05-30

DDDamian are you suggesting that I do as the poster suggested? Or are you simply pointing out that his response was not an relevant one? Also where would I find the log dump another poster suggested I paste?


RE: [WINDOWS][PATCH]Bitstream output of HD audio formats - DDDamian - 2012-05-30

@clark kent - just pointing out that if you want to use Daniela's patch (what the thread's all about!) then installing a nightly version will overwrite it.

The log will be under c:\users\<your user name>\appdata\roaming\xbmc and is called xbmc.log.

Make sure you enable debugging, exit, try a TrueHD file then exit again. You can open the log in NotePad. Post the log by pasting the data at pastebin.com and copy the link to a post here.


RE: [WINDOWS][PATCH]Bitstream output of HD audio formats - clark kent - 2012-05-30

Here is my log dump after failing to play True Hd video. http://pastebin.com/kRs5etFf


RE: [WINDOWS][PATCH]Bitstream output of HD audio formats - DDDamian - 2012-05-30

(2012-05-30, 09:42)clark kent Wrote: Here is my log dump after failing to play True Hd video. http://pastebin.com/kRs5etFf

Bad driver or driver settings - format not supported - try delete the RealTek driver and grab Catalyst Control Center 12.4 drivers (or at least the HDMI audio driver from it). Then make sure you have enabled Exclusive in the Advanced tab of the audio device:

Code:
2840.
00:37:35 T:1684   ERROR: CWin32WASAPI::Initialize: Audio format not supported by the WASAPI device.  Channels: 8, Rate: 192000, Bits/sample: 16.

2841.
00:37:35 T:1684   ERROR: CWin32WASAPI::Initialize: WASAPI initialization failed.



RE: [WINDOWS][PATCH]Bitstream output of HD audio formats - tjcinnamon - 2012-05-30

Is it possible to incorporate this patch into your version?

http://forum.xbmc.org/showthread.php?tid=129274&page=10




RE: [WINDOWS][PATCH]Bitstream output of HD audio formats - voip-ninja - 2012-05-30

(2012-05-30, 15:03)DDDamian Wrote:
(2012-05-30, 09:42)clark kent Wrote: Here is my log dump after failing to play True Hd video. http://pastebin.com/kRs5etFf

Bad driver or driver settings - format not supported - try delete the RealTek driver and grab Catalyst Control Center 12.4 drivers (or at least the HDMI audio driver from it). Then make sure you have enabled Exclusive in the Advanced tab of the audio device:

Code:
2840.
00:37:35 T:1684   ERROR: CWin32WASAPI::Initialize: Audio format not supported by the WASAPI device.  Channels: 8, Rate: 192000, Bits/sample: 16.

2841.
00:37:35 T:1684   ERROR: CWin32WASAPI::Initialize: WASAPI initialization failed.

Ouch.

We have had many many issues like this where users have driver issues. Maybe Daniella can sticky a small FAQ right where the download link is so that we can cut down on these trouble reports. Just a thought.


RE: [WINDOWS][PATCH]Bitstream output of HD audio formats - clark kent - 2012-05-31

I orignally came from those drivers and was still having issues and that is why I switched to RealTek. I will try changing back to the AMD hdmi drivers and do a log dump that way. I dont want to change over my video and catalyst just because that was causing other issues with my system, like handshake problems with my HDMI.


RE: [WINDOWS][PATCH]Bitstream output of HD audio formats - clark kent - 2012-05-31

Thanks DDDamian that really helped out. I removed the RealTek drivers and updated with the AMD drivers and the TrueHD audio is detected and working. The only issue remaining is that while 7.1 audio is working and selected in windows and selected in XBMC. XBMC is not outputting 7.1 audio but instead 5.1. Do you have any thoughts as to why this would be occurring? Once again thank you everyone for all your help.