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 - bluray - 2012-04-07

(2012-04-07, 02:04)Druthers Wrote: I will test with an MKV from Handbrake using the DTS HD passthrough.

Druthers
If you want to try it with MKV file, you can rip it with this- Download MakeMKV beta. It's among the best for ripping MKV file.......




RE: [WINDOWS][PATCH]Bitstream output of HD audio formats - uncola - 2012-04-07

Ok so I have the same problem, but my copies of star wars only have regular DTS ES audio. But it's the only file that I can't play that causes crazy static in my speakers using the DanielA build of xbmc. I used mkvmerge to split the first 30 seconds off.. maybe you can check it out to see if you can figure out the hd audio problem from the regular dts es versions.. http://dl.dropbox.com/u/134837/Star.Wars.Episode.IV.A.New.Hope.1977.1080p.BluRay.DTS.x264-CyTSuNee%20%281%29-001.mkv


RE: [WINDOWS][PATCH]Bitstream output of HD audio formats - T800 - 2012-04-07

I'm going to try a HD4650 in my HTPC after the smooth picture getting so much praise in here.

Other than un-installing the Nvidia drivers, swapping the cards and downloading new AMD drivers from here:
http://support.amd.com/us/gpudownload/Pages/index.aspx


The drivers look like 12.3 but many people are mentioning 12.1, should I look for 12.1 instead?

Is there anything else I have to do?


RE: [WINDOWS][PATCH]Bitstream output of HD audio formats - minimoe - 2012-04-07

(2012-04-02, 15:34)DDDamian Wrote:
(2012-04-02, 12:55)minimoe Wrote: For testing purposes, the problem appears with the channels Mega Cyprus (WMAv2 audio) and ANT1 Cyprus(MP3 audio). Frame fluctuates with WMAv2 audio and the problem gets worse with MP3 audio. In the second case there are a lot of errors like this:

Code:
13:20:56 T:4048   ERROR: CDVDAudio::AddPacketsRenderer - timeout adding data to renderer
13:20:56 T:4048   ERROR: CDVDAudio::AddPackets - failed to add leftover bytes to render
13:20:56 T:4048   DEBUG: CDVDPlayerAudio:: Discontinuity - was:4773429.335355, should be:1697000.026122, error:-3076429.309233

Can you capture a sample of these streams? Daniela's patch should not have affected either of those two audio formats, but side-effects can happen with any code. There is a pull-request on the books for better stream caching, but obviously it would affect audio and video if it was a caching issue.
With the help of lambda (creator of the Hellenic TV addon) I managed to find samples of the problematic channels.

http://dl.dropbox.com/u/67674650/Rapier/7-4-12/ant1-cyprus.flv

http://dl.dropbox.com/u/67674650/Rapier/7-4-12/mega-cyprus.asf

I don't even get sound when playing ANT1 Cyprus, only static and the framerate is ~4fps instead of the normal 15fps.

XBMC.log , when playing the live streams.



RE: [WINDOWS][PATCH]Bitstream output of HD audio formats - DanielaE - 2012-04-07

(2012-04-07, 08:26)uncola Wrote: ... my copies of star wars only have regular DTS ES audio... http://dl.dropbox.com/u/134837/Star.Wars.Episode.IV.A.New.Hope.1977.1080p.BluRay.DTS.x264-CyTSuNee%20%281%29-001.mkv
Thanks for the sample!

I've tried it with both XBMC Eden official build and my Eden+HD audio build (for hardware see in my sig). It's playing perfectly fine with both builds and every DTS output option I could think of (DTS-ES doesn't require HD audio passthough). Is your DTS decoder capable of DTS-ES in the first place? Alas, even if it's not, it should silently ignore DTS stream extensions it can't grok. After all, DTS-ES and DTS-96/24 streams are valid DTS streams with parameters well within the original DTS 5.1 specification.




RE: [WINDOWS][PATCH]Bitstream output of HD audio formats - bluray - 2012-04-07

(2012-04-07, 08:42)T800 Wrote: I'm going to try a HD4650 in my HTPC after the smooth picture getting so much praise in here.

Other than un-installing the Nvidia drivers, swapping the cards and downloading new AMD drivers from here:
http://support.amd.com/us/gpudownload/Pages/index.aspx


The drivers look like 12.3 but many people are mentioning 12.1, should I look for 12.1 instead?

Is there anything else I have to do?
The latest 12.3 works fine for me......


(2012-04-07, 08:26)uncola Wrote: http://dl.dropbox.com/u/134837/Star.Wars.Episode.IV.A.New.Hope.1977.1080p.BluRay.DTS.x264-CyTSuNee%20%281%29-001.mkv
It work fine on my AMD E350+Nvidia GT430+Onkyo HT-RC270......




RE: [WINDOWS][PATCH]Bitstream output of HD audio formats - DanielaE - 2012-04-07

(2012-04-07, 10:26)minimoe Wrote: ... samples of the problematic channels.
Great - thanks!

I can reproduce both problems with my HD audio build, with vanilla Eden they are playing fine here on my rig. I will look into this - stay tuned!




RE: [WINDOWS][PATCH]Bitstream output of HD audio formats - DDDamian - 2012-04-07

(2012-04-07, 18:07)DanielaE Wrote:
(2012-04-07, 10:26)minimoe Wrote: ... samples of the problematic channels.
Great - thanks!

I can reproduce both problems with my HD audio build, with vanilla Eden they are playing fine here on my rig. I will look into this - stay tuned!

Thx Daniela - I've been so busy with AE stuff I haven't been able to support here as much the last few weeks. Nice to see you on the job Smile


RE: [WINDOWS][PATCH]Bitstream output of HD audio formats - pro510 - 2012-04-07

(2012-04-04, 16:47)bluray Wrote:
(2012-04-03, 20:22)pro510 Wrote: Also I was mistaken about the PowerDVD working, that was with my other HTPC which uses an ATI 5450 and connects to the same AVR.
That is what I thought, because I never see PDVD bitstream without seeing HD audio formats in W7 control panel. So, what GPU are you trying to make it bitstream with the patches?

XFX GTX570


RE: [WINDOWS][PATCH]Bitstream output of HD audio formats - bluray - 2012-04-07

(2012-04-07, 22:45)pro510 Wrote:
(2012-04-04, 16:47)bluray Wrote:
(2012-04-03, 20:22)pro510 Wrote: Also I was mistaken about the PowerDVD working, that was with my other HTPC which uses an ATI 5450 and connects to the same AVR.
That is what I thought, because I never see PDVD bitstream without seeing HD audio formats in W7 control panel. So, what GPU are you trying to make it bitstream with the patches?

XFX GTX570
That is a powerful GPU, and you should be able to bitstream with it. I think that after you sort out your AVR, you should be able to bitstream with the patches....




RE: [WINDOWS][PATCH]Bitstream output of HD audio formats - DDDamian - 2012-04-07

(2012-04-07, 08:42)T800 Wrote: I'm going to try a HD4650 in my HTPC after the smooth picture getting so much praise in here.

Other than un-installing the Nvidia drivers, swapping the cards and downloading new AMD drivers from here:
http://support.amd.com/us/gpudownload/Pages/index.aspx


The drivers look like 12.3 but many people are mentioning 12.1, should I look for 12.1 instead?

Is there anything else I have to do?

I would just grab the latest drivers. We know the 12.1 drivers work well, but I haven't heard of any bugs with newer ones.

Once you've installed it and the drivers you will need to select the AMD HDMI High Definition Driver as the audio driver in both Win and XBMC, and set up your other audio settings. Make sure you enable Exclusive Mode in the Windows audio panel under Advanced.

I would also recommend going into Catalyst Control Center and enabling (under video>quality) Ensure smooth playback. There's a nice demo mode too which allows you to tweak options and it applies them to half the screen so you can see the difference.

Enjoy Smile


Re: RE: [WINDOWS][PATCH]Bitstream output of HD audio formats - apgood - 2012-04-07

(2012-04-07, 23:25)bluray Wrote:
(2012-04-07, 22:45)pro510 Wrote:
(2012-04-04, 16:47)bluray Wrote: That is what I thought, because I never see PDVD bitstream without seeing HD audio formats in W7 control panel. So, what GPU are you trying to make it bitstream with the patches?

XFX GTX570
That is a powerful GPU, and you should be able to bitstream with it. I think that after you sort out your AVR, you should be able to bitstream with the patches....

The GTX570 doesn't support hd audio bitstreaming. Only 560 and below support bitstreaming. For some reason nvidia decided not to support it on their high end gaming cards. Might be different in the 6xx series but definitely the case in the 5xx and 4xx series.


RE: [WINDOWS][PATCH]Bitstream output of HD audio formats - minimoe - 2012-04-08

(2012-04-07, 18:07)DanielaE Wrote: Great - thanks!

I can reproduce both problems with my HD audio build, with vanilla Eden they are playing fine here on my rig. I will look into this - stay tuned!

(2012-04-07, 21:29)DDDamian Wrote: Thx Daniela - I've been so busy with AE stuff I haven't been able to support here as much the last few weeks. Nice to see you on the job Smile

Thank you, both Big Grin



RE: [WINDOWS][PATCH]Bitstream output of HD audio formats - DDDamian - 2012-04-08

@minimoe - this thread turned into one of the best "mini-communities" on the forum Smile


RE: [WINDOWS][PATCH]Bitstream output of HD audio formats - bluray - 2012-04-08

(2012-04-07, 23:55)apgood Wrote: The GTX570 doesn't support hd audio bitstreaming. Only 560 and below support bitstreaming. For some reason nvidia decided not to support it on their high end gaming cards. Might be different in the 6xx series but definitely the case in the 5xx and 4xx series.
I thought that I read several reviews, and it said that it supports bitstreaming. Here is one of review- Nvidia GeForce GTX 570 review