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)



- Philmatic - 2012-02-04

Am I the only one thinking WTF? This is incredible!

Any way your work could be merged into the Windows sink for AE?


- fyrfyter71 - 2012-02-04

Just tested on my system and it works great. Never could get the July version working on my setup, but this works great.

Sandy Bridge 2100, 430gt GPU, Pioneer 1120.

Thanks, you just made my week.


- bluray - 2012-02-04

I tried it on my lowest spec (E350M1) HTPC and Onkyo 7.1 surround sound system. If it work on my E350M1, it will definitely work on my more powerful HTP's too. I tried BD ISO movies "Thor (DTS-HD 7.1) and Kung Fu Panda 2 (TrueHD 7.1)". I watched roughly 10 minutes on each movie, and it bitstreamed flawless. Are these Gnif AE codes? If it is, I want to personally thank him for the latest AE and thank you for taking time to compile it and shared it with us. Great job!


- supermax - 2012-02-04

This is awesome!!! Just tried and only found one file it won't work on (DolbyTrueHD). Has a video sync issue on it. Trying to find the culprit. Otherwise perfect. Thank you so much, I thought this would never happen so soon.


- yallah - 2012-02-04

really thx for this release. Need only merge pvr inside your git (down know how can i do ... :/)

Thx Again


- charlievoviii - 2012-02-04

you are the man.


- charlievoviii - 2012-02-04

.....


- DanielaE - 2012-02-04

@ all: Thanks for all of your testing efforts - I appreciate them heartedly!

I can see those random TrueHD issues on my setup as well, but only if I play them from the original M2TS container. In almost every case output is fine on a retry. If I remux these files into my preferred MKV container I can't see playback issues, and the same is true with exactly the same audio streams in raw audio files. To me this looks like a timing problem deep down in the dvdplayer engine.

@ Memphiz: this is a Windows-only (former OS/2-only) shop - sorry Wink

@ steelman1991: I've never been hiding anywhere, my HTPC project started in december last year and I had to do something about the sad state of affairs when it comes to HD audio bitstreaming. Back then AE was seemingly abandoned and no binary worked on my brand new rig. And this is only a small part of the project...

@ Philmatic: rip the code apart, keep what you like, and dump the rest ...

@ bluray: there is gnif/AE stuff in there - it's too good to be put aside. My idea was to check what's available, take what works, add what's missing, and fix what needs fixing. And then strip all of the surplus code lines such that impact to main xbmc trunk code is kept as low as possible.

@ charlievoviii: try one more time. Hint: Daniela is a female name here in Germany Wink


- ArieS - 2012-02-04

DDDamian Wrote:Ah yes - I see the database change. Good you pointed that out in case anyone tries it and needs to revert.
What's the difference for the database?


- Montellese - 2012-02-04

ArieS Wrote:What's the difference for the database?

The database update comes from commits that have been done in XBMC after Beta2 has been released. No high impact changes though. Some commits that changed something in the SQL views were reverted so the database version had to be updated so that the "new" (old) views were re-created correctly.


- DDDamian - 2012-02-04

DanielaE Wrote:To me this looks like a timing problem deep down in the dvdplayer engine.

@ Philmatic: rip the code apart, keep what you like, and dump the rest ...

@ charlievoviii: try one more time. Hint: Daniela is a female name here in Germany Wink

Hi Daniela - AE is seeing the same dvdplayer timing or fetch issues as well, resulting in some skips/drop-outs or discontinuities as they are logged, so you are correct in the source of that issue.

@Philmatic - the WASAPI sink of AE already handles the bitstreaming in shared and Exclusive modes Cool but there's issues further up the ladder as noted above, plus some recently introduced stream-handling code that needs work.

Gotta say though, this is a working solution, and a great piece of work.

Daniela - you da woman lol. Wink


- DDDamian - 2012-02-04

Montellese Wrote:The database update comes from commits that have been done in XBMC after Beta2 has been released. No high impact changes though. Some commits that changed something in the SQL views were reverted so the database version had to be updated so that the "new" (old) views were re-created correctly.

So Montellese - are the nightlies post-Beta 2 using MyMovies60.db? As you say - low-impact but good for peeps to know if they try this, add items and have to revert for whatever reason.


- Jimbo Ro - 2012-02-04

For some reason I need to change either the audio track (if the movie has more than one) or change the audio output from HDMI to coax, and then back to HDMI (while in a movie) to get audio working. Other than that this works great.


- Montellese - 2012-02-04

DDDamian Wrote:So Montellese - are the nightlies post-Beta 2 using MyMovies60.db? As you say - low-impact but good for peeps to know if they try this, add items and have to revert for whatever reason.

Yes if the build from Daniela has a MyVideos60.db then it's a post-Beta2 build because Beta2 uses a MyVideos58.db.

But sure if someone wants to revert to Beta2 he must live with the fact that anything added while using the post-Beta2 build will not be in his Beta2 database.


- bluray - 2012-02-04

DanielaE Wrote:@ all: Thanks for all of your testing efforts - I appreciate them heartedly!

I can see those random TrueHD issues on my setup as well, but only if I play them from the original M2TS container. In almost every case output is fine on a retry. If I remux these files into my preferred MKV container I can't see playback issues, and the same is true with exactly the same audio streams in raw audio files. To me this looks like a timing problem deep down in the dvdplayer engine.
I tried 3 BD ISO movies with TrueHD audio on my AsRock E350M1/GT430 HTPC and Onkyo AVR (7.1 speakers). It seems to work fine with Audio settings as shown below.

I like a woman who take matter to their own hand, and don't rely on their hubby on everything. You remind me of one of the lady that used my guide to build her first HTPC, and she got everything to work the way she like it on her first trial. Great job! Smile

Image

Image