XBMC Community Forum
XBMC PulseAudio passthrough support (including Nvidia) is available - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Development (/forumdisplay.php?fid=93)
+--- Thread: XBMC PulseAudio passthrough support (including Nvidia) is available (/showthread.php?tid=96316)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27


- cbxbiker61 - 2012-01-11 18:07

alexb38 Wrote:Right, ok then. So I have to chose between PVR and DTS-HD, hard choice ^^

I guess we still need to install audiofilter ? and when using pulseaudio git, do we still need to apply the patch ?

Thanks for your work anyway Smile

Audiofilter is necessary.

Yes, the pulseaudio patch will be necessary even with pulseaudio git (until pulseaudio comes up with an appropriately elegant solution to the problem).


- eternalsword - 2012-01-12 09:02

Looks like merging with upstream has become more difficult with the addition of their preliminary pulse passthrough support. Right now I'm just overwriting any merges to the AudioRenderers directory with the ones from your repo and then correcting a couple of function calls that use their EEncoded in place of the boolean that your fork uses. Is that the best way to go about things at this point?

By the way, I made a fork at https://github.com/eternalsword/xbmc. The master branch is just your master branch merged with upstream in the way I described. delta branch includes some changes I've made on top. Take a look if you want.

I'm eagerly awaiting your work on dolby truehd. Let me know if you need help testing/debugging.


- elite1967 - 2012-01-12 13:49

cbxbiker61 Wrote:The support is there if you use my git repo. The main repo isn't quite up to par with my version.

Hi cbxbiker61,
You did an excellent job!!

I managed to get the AudioFilter working without pulse, and only with ALSA.
Now I have:
- DTS-HD MA working
- TrueHD coming as PCM Surround

Few questions:
Do you have plans to merge the latest eden git (beta 1 I think) with your xbmc code?

Also, is it correct to have TrueHD coming out as PCM Surround?

Finally, in TrueHD only, I have a mismatch in the speakers: side speakers should be rear speakers. Tested with TrueHD file: hd_dolby_truehd_channel_check_lossless.m2ts


thanks again for your excellent work!


- eternalsword - 2012-01-12 21:35

TrueHD doesn't have support yet, so it is being encoded to PCM on the fly by the ffmpeg backend. If there is a speaker mismatch, it is in the way ffmpeg handles it. Once cbxbiker61 is finished adding TrueHD support, that will be moot. ffmpeg may also have fixed this issue upstream as the version used internally by xbmc is quite old. If you are on linux, you can try building with an external ffmpeg by using the --enable-external-ffmpeg configuration flag and see if that works better for you.


- elite1967 - 2012-01-13 10:21

eternalsword Wrote:TrueHD doesn't have support yet, so it is being encoded to PCM on the fly by the ffmpeg backend. If there is a speaker mismatch, it is in the way ffmpeg handles it. Once cbxbiker61 is finished adding TrueHD support, that will be moot. ffmpeg may also have fixed this issue upstream as the version used internally by xbmc is quite old. If you are on linux, you can try building with an external ffmpeg by using the --with-external-ffmpeg configuration flag and see if that works better for you.

Hi eternalsword,
Thanks for the tip.
In order to build with the new ffmpeg, what is the syntax in the ./configure command?
I assume I will have to download the new ffmpeg and then point its location in the command, right?
Can you help me with the syntax?

Thanks,

EDIT: I tried adding the --with-external-ffmpeg flag, but I get:
Code:
configure: WARNING: unrecognized options: --with-external-ffmpeg

Any idea why?


- cbxbiker61 - 2012-01-13 23:43

elite1967 Wrote:Hi eternalsword,
Thanks for the tip.
In order to build with the new ffmpeg, what is the syntax in the ./configure command?
I assume I will have to download the new ffmpeg and then point its location in the command, right?
Can you help me with the syntax?

Thanks,

EDIT: I tried adding the --with-external-ffmpeg flag, but I get:
Code:
configure: WARNING: unrecognized options: --with-external-ffmpeg

Any idea why?

use --enable-external-libraries
BTW ./configure --help | less


- eternalsword - 2012-01-14 03:25

my bad. it is --enable-external-ffmpeg

previous post has been edited to avoid confusion.

the configure script should automatically detect ffmpeg if it is in a sane location.


Eden beta - elite1967 - 2012-01-22 11:40

@cbxbiker61:
Hi,
I have been now using your version for a month.
No problems at all. (a part from the truehd issue rear-side channels mismatch).

Are you planning to merge your git with the latest version (beta 2) of the master?


- cbxbiker61 - 2012-01-23 05:07

elite1967 Wrote:@cbxbiker61:
Hi,
I have been now using your version for a month.
No problems at all. (a part from the truehd issue rear-side channels mismatch).

Are you planning to merge your git with the latest version (beta 2) of the master?

Yeah, it's on the agenda. I've been busy doing some work on my CuBox (porting my distro to it). Cubox can run Xbmc and that's ultimately what I'm going to be using for a couple (maybe more if it works out well) of my Xbmc boxes. It's also going to be interesting to see If I can get pass-through working on the CuBox adequately. So anyway within a couple of weeks my main projects (CuBox/Xbmc/pass-through) are going to come together and that's when I plan to update my code to work well with the new xbmc head.


- elite1967 - 2012-01-23 09:18

cbxbiker61 Wrote:Yeah, it's on the agenda. I've been busy doing some work on my CuBox (porting my distro to it). Cubox can run Xbmc and that's ultimately what I'm going to be using for a couple (maybe more if it works out well) of my Xbmc boxes. It's also going to be interesting to see If I can get pass-through working on the CuBox adequately. So anyway within a couple of weeks my main projects (CuBox/Xbmc/pass-through) are going to come together and that's when I plan to update my code to work well with the new xbmc head.

Excellent news.
Looking forward to it.