XBMC Audio goes HD

Posted By: Team XBMC on May 30, 2012 in Site News
hd-audio-announce

It’s been long-awaited, oft-discussed and it’s finally here – AudioEngine for XBMC!

What is AudioEngine? A complete re-write of the core audio sub-system of XBMC, and a two-year project comprising some 22,000 lines of code.

Spear-headed by lead-developer gnif, with contributions from many other team developers (dddamian, gimli, fneufneu, anssi, memphiz and others!), AudioEngine brings high-definition audio to the already amazing XBMC. No matter the audio source, AE handles the decoding, resampling, transcoding, encoding and streaming of your media, including for the first time DTS-MA, TrueHD and 24-bit audio. XBMC has never sounded better!

With full floating-point audio pipes, even mp3’s sound audibly better, with dithering built-in to further reduce quantization noise.

After a herculean effort and many lost evenings, the team is happy to announce that AudioEngine has been merged with the master branch as of May 15th 2012.  As such, it is now possible for the team as a whole to participate in it’s further development and for users to enjoy via the nightlies or your own builds.

Features of AE include:

support for DTS-MA / Dolby TrueHD Bluray formats (OSX pending)
support for 24-bit and floating-point audio at up to 384,000hz
mixing of all streams including GUI sounds even when transcoding audio
start-up enumeration of hardware audio devices and their capablities with log output
bitstreaming support in PAPlayer (XBMC’s music player)
upmixing of stereo to full channel layout
tighter syncing of A/V streams
floating-point processing of audio
24-bit and floating-point decoding/handling of mp3
full support for ReplayGain
built-in sample-rate conversion and transcoding

Planned Features for upcoming AE releases:

rules-based decisions for output formats based on hardware capabilites
a range of DSP’s (digital signal processors) including headphone head-related transfer function processing, DRC (dynamic range compression), low-pass filtering for subs and an equalizer function
custom channel-mixing/mapping for up and downmixing

It’s still early days for AE. Bugs will be found, and new and exciting features added. It’s stability and feature-set will develop as it matures and grows in the amazing open-source environment of XBMC.  We’d especially like to thank all the testers who helped make it possible to bring this merge about.

If you want to give it a try just grab one of the nightly versions on one of XBMC’s mirrors. For further details and support links please visit the AudioEngine page in our Wiki where you will also find links to the support threads in our forum, if you have additional questions.  From the development team, enjoy!

Share on reddit
Share on StumbleUpon


Discussion - 118 Comments

  • Mitch May 30, 2012 

    Great news !

    Does HD audio work also on Macs ?

    • nedscott May 30, 2012 

      @Mitch
      At the moment, no. AudioEngine is in the Mac version (which brings far more than just HD audio), but there are some hangups with Apple’s audio APIs and HD audio that the team is currently working on.

  • alex May 30, 2012 

    Does this update ends all problems with alsa configs on linux? Or makes it verry simple? Non the less good development thank to you all who made it possible

  • Kevin Thomas May 30, 2012 

    Awesome Guys…Getting to the point of everything about XBMC turns to Gold….<3'ing all of the progress these last few years….Thanks to all for your time and efforts…HUGE DOUBLE THUMBS Up !!!!!….

  • J May 30, 2012 

    I’m assuming that AE will be in the alpha2 that will be posted the beginning of next month? I downloaded the nightlies but they were too unstable for me.

    • nedscott May 30, 2012 

      @J
      Yes, they will be in the Monthly Snapshot for Alpha 2.

  • Chris! May 30, 2012 

    Awesome news – Thanks all

  • Jack May 30, 2012 

    Already using a nightly on Windows and have been really happy with it.

    Big thanks to all devs for their hard work in creating AE!

    When will the next official build be released that will incorporate AE?

  • oos May 30, 2012 

    \o/ You rock!

  • Greg May 30, 2012 

    Awesome. Great work. This will be good for when at friends with my MediaPC. I personally do not have a sound system sadly but all my friends do. My question though is I knew the engine was getting a rewrite and i’d been hearing that one of the features would be the ability to make audio louder (Like VLC’s ability to go beyond 100% and go louder). Will this be an included feature? It would be extremely useful to me I know. Some videos I have even with XBMC, System Audio, and TV audio maxed are still sometimes too low to hear. Would be great to turn it up louder instead of having to VNC into my MediaPC and play the files in VLC to increase the audio to audible levels. This is pretty much the only feature left that ive been waiting on. I am glad to see 10-Bit video is supported now (Not that my MediaPC can actually handle 10-Bit video. Need to build a new system some day for that). That and the audio was all ive been waiting on.

  • Jason Kotzin May 30, 2012 

    I’m fearful this runs on top of Alsa? Or worse, Pulse? Eye twitches…

  • Salem May 30, 2012 

    alex :
    Does this update ends all problems with alsa configs on linux? Or makes it verry simple? Non the less good development thank to you all who made it possible

    I’ve been using AE with OpenELEC frodo releases in their forum, which is linux based. It has drastically simplified my audio settings. No more half-dozen or more audio output options. For me, using optical out and HDMI, it just works.

  • Salem May 30, 2012 

    @Salem

    …but know that if you’re running an AMD/ATI GPU as your audio output source, you will not achieve HD Audio, that problem lies solely on AMD finally taking care of their drivers in that regard.

  • Barry May 30, 2012 

    Please tell me this will hit XBMCbuntu soon!

  • Salem May 30, 2012 

    under linux…

  • Harley May 30, 2012 

    Will this help get audio to work better on ARM SoCs and new OS platforms too? :)

    Good enough for all audiophiles on any XBMC supported platforms as of yet? :D

  • rikardo1979 May 30, 2012 

    wow,you guys just make my day or better said my year ;) this is like my Xmas gift.thanks

  • huffandpuff May 30, 2012 

    AE- Fantastic! still alsa issues here and there but it works. Great work guys….

    On another note when is http://trac.xbmc.org/ticket/13068 gonna get pulled in…?? <= big annoyances ^^ if we have to wait another month or twenty.

    good work pull the patches pls.

  • JustinSane May 30, 2012 

    With this, it would also be better to have sound profiles. at the moment I use my headphones in the analogue port on my HTPC, and digital for my Logitech system.

    To switch between these, I have to change 3 options every time: optical/analogue, 2.0/5.1 and sound source. What the sound options page needs is a profiles selection and a save button.

    set sound options, hit save, keyboard pops up to give it a name, then ok then done. At the bottom of the save button (or above) a sound profiles option with up and down toggle at the side with the sound profile name.

    The z906 does have a headphone port, BUT I don’t want to waste power when I’m just using headphones and I would still need to change the option to 2.0 anyway so…….

    I posted this in the suggestions but had no takers. come on, I’m sure this would benefit more than just me.

  • jmorey May 30, 2012 

    This is the best news I’ve heard this month and is sure to make the top ten items of the year!

  • dddamian May 30, 2012 

    @JustinSane <- nice nic :)

    I personally like that idea, as more settings will be added once DSPs are rolled out (two out of three initial ones done, and the DSP class written). Will bring this up with the team.

  • Anonymous May 30, 2012 

    is this AE build for windows or linux? becuase i install the latest nightly and i have trouble with audio and video…. by the way im using amd a6 apu

  • Anonymous May 30, 2012 

    JustinSane :
    With this, it would also be better to have sound profiles. at the moment I use my headphones in the analogue port on my HTPC, and digital for my Logitech system.
    To switch between these, I have to change 3 options every time: optical/analogue, 2.0/5.1 and sound source. What the sound options page needs is a profiles selection and a save button.
    set sound options, hit save, keyboard pops up to give it a name, then ok then done. At the bottom of the save button (or above) a sound profiles option with up and down toggle at the side with the sound profile name.
    The z906 does have a headphone port, BUT I don’t want to waste power when I’m just using headphones and I would still need to change the option to 2.0 anyway so…….
    I posted this in the suggestions but had no takers. come on, I’m sure this would benefit more than just me.

    Yep I wold like this too….

  • Evan Richardson May 30, 2012 

    Dumb question maybe, but how will we know if it’s enabled? besides obviously receivers saying HD Audio or what not, is there a setting or something?

  • nedscott May 30, 2012 

    @Evan Richardson
    Yep, check the XBMC wiki page link in the blog post. It will show you the new audio settings page and how to enable everything.

  • dddamian May 30, 2012 

    Anonymous :is this AE build for windows or linux? becuase i install the latest nightly and i have trouble with audio and video…. by the way im using amd a6 apu

    It’s for all platforms. Please follow the link to the wiki page for general help and links to the forum threads listed there. Troubleshooting will not be provided here.

  • dddamian May 30, 2012 

    Evan Richardson :Dumb question maybe, but how will we know if it’s enabled? besides obviously receivers saying HD Audio or what not, is there a setting or something?

    You will see new settings in the Audio Options.

  • skeeter alamo May 30, 2012 

    @Greg
    you can already sort of do that. in the osd for video in sound settings you see volume amplification. acts like a compressor to bring up the low level sounds.

  • jajo May 30, 2012 

    Great work with AE!

    One question though… Can DTS HDMA and TrueHD be decoded and sent to my 24bit capable sound card, or does it only work through HDMI bitstreaming?

    / Jacob

  • dddamian May 30, 2012 

    jajo :

    Great work with AE!

    One question though… Can DTS HDMA and TrueHD be decoded and sent to my 24bit capable sound card, or does it only work through HDMI bitstreaming?

    / Jacob

    TrueHD can be decoded losslessly to PCM and streamed to your card – DTS-MA cannot, it must be passed thru or you can play the DTS core.

  • jgslima May 30, 2012 

    Thank you very much guys.
    One funny thing is that I was with the impression that XBMC team did not care for HD audio, and then we would not have this feature. It seems I was wrong. :)

  • Oli_Oops May 30, 2012 

    Thanks Devs! Just installed nightly, runs like a charm, no issues to report. It sounds grrrreeat!

  • Anonymous May 31, 2012 

    @JustinSane

    Seconded. I switch between an analog headphone set and a digital out for SPDIF. Sound profiles are a great idea. There is something similar in the PS3. The Sound Settings menu now has a multiple audio out setting that lets the PS3 shoot out digital audio [streams] and 2.0 analog at the same time.

    Would come in handy in an HTPC situation.

  • isaac May 31, 2012 

    Thank you XBMC team on the best Media Center System!

  • Spook May 31, 2012 

    Great work guys!
    Been waiting for this for a very long time.

    XBMC truly is the most advanced media center in the market!

  • Usenetdude May 31, 2012 

    This is great news! DTS-HD and i hope allot les ssounds problemes for lunix

  • huffandpuff May 31, 2012 

    mic input doesnt work still… Im having doubts it will ever work out of the box

  • Sav May 31, 2012 

    AWESOME news!
    I just got a new surround sound setup so this is awesome indeed!

  • misterkik May 31, 2012 

    Well done guys. Thanks and Viva XBMC !

  • Joey May 31, 2012 

    Are you planning to support recordings in high-resolution media formats such as SACD (Super Audio CD) and DVD-A (DVD-Audio)?

    WAV, FLAC, WMA Lossless, and Apple Lossless rips are very convenient but music collectors keep buying physical media format :)

    That sounds great ! Pardon the pun ;)

  • pszab May 31, 2012 

    Can an A10 Allwinner ARM cpu (or a similar >1Ghz) downmix all kinds of audio formats? I mean: is it strong enough to do it?

  • jajo May 31, 2012 

    @dddamian

    In MPC-HC it is possible to use the DTS HD Master Audio decoder from Arcsoft (libdtsdecode.dll). Is it somehow possible to use the same decoder DLL in XBMC through AE?

  • Kevin May 31, 2012 

    @Joey
    That was going to be my question as well as my only gripe with XBMC is the poor support for HD audio rips – I’ve been reduced to muxing the audio with a blank screen just to be able to get them to play consistently. It would be great to see the audio player front-end get some similar attention. Hopefully this is the start of something much better, thanks XBMC devs!

  • dddamian May 31, 2012 

    @huffandpuff – mic input? for what?

    @Joey, DVD-A yes, but given the format is almost dead (at least SACD caught a second wind) it’s not a large priority when you can rip them to FLAC losslessly and gain the advantages of tagging, replaygain and individual tracks – that’s what I do with mine. SACD there are some potential licensing issues – a search of the forums explains more.

    @jajo – that is a proprietary commercial decoder – XBMC is open source and free, so we cannot use that decoder. I’d expect it won’t be too long before ffmpeg or lib come up with an open-source decoder.

  • Zebraitis May 31, 2012 

    … nice!

    I thank you…

    MySQL based XBMC implementation thanks you…

    All 5 of my networked surround sound deployments of XBMC thanks you.

  • matemaciek May 31, 2012 

    Great work guys! (((-: I’ll try to compile it as soon as I get home (-:

    One question: so, the only way to get full quality DTS-HDMA is bitstream to AVR? Is there any chance to bitstream from nVidia 9600M GT or is it just hardware incompatible?

  • matemaciek May 31, 2012 

    PS. Thumbs up for DVD-A – not so dead, beautiful King Crimson 40th anniversary reeditions came out recently.

  • jajo May 31, 2012 

    dddamian :
    @jajo – that is a proprietary commercial decoder – XBMC is open source and free, so we cannot use that decoder. I’d expect it won’t be too long before ffmpeg or lib come up with an open-source decoder.

    Yes, true. Let us hope that DTS HDMA can soon be decoded without proprietary software. Good work guys!

  • Lloyd May 31, 2012 

    Nice work! Been using AudioEngine for a few weeks now and it ROCKS!!! Well done to all the devs.

  • dandirk May 31, 2012 

    Running Openelec with XBMC Master that includes AE…

    Once you get the right hardware (that supports bitstreaming), HD audio was working wonderfully.

    Though I swear an even bigger improvement was that I didn’t have to SSH, run a command, copy a line, re-enter it into XBMC just to get HDMI audio to work (lets forget about menu/2ch audio which takes even MORE steps). Amazed the process isn’t stickied in the linux forum, since about 10 threads a day are started regarding HDMI audio.

    I was pleasantly surprised that XBMC AE even picked up my receiver, my audio options showed “HDMI DENON RECVR…”, truly easy and user friendly.

  • Kristian May 31, 2012 

    dddamian :

    jajo :
    Great work with AE!
    One question though… Can DTS HDMA and TrueHD be decoded and sent to my 24bit capable sound card, or does it only work through HDMI bitstreaming?
    / Jacob

    TrueHD can be decoded losslessly to PCM and streamed to your card – DTS-MA cannot, it must be passed thru or you can play the DTS core.

    Hi ddamian,

    Can you elaberate a bit on TrueHD decoding to PCM. Is it possible to decode TrueHD into PCM and then output it via 5.1/7.1 analog connectors into to an amplifier? Ie. an amplifier that does not support hdmi/hd audio, but has 5.1 or 7.1 analog inputs? Or is it only for outputting LPCM via HDMI to an amplifier that does not support decoding HD formats itself?

    Either way, absolutely fantastic work on this new audio engine!

  • Anonymous May 31, 2012 

    Anonymous :
    @JustinSane
    Seconded. I switch between an analog headphone set and a digital out for SPDIF. Sound profiles are a great idea. There is something similar in the PS3. The Sound Settings menu now has a multiple audio out setting that lets the PS3 shoot out digital audio [streams] and 2.0 analog at the same time.
    Would come in handy in an HTPC situation.

    I like that. For me, having multiple outputs going at the same time would be great for me as sometimes I use only the TV using HDMI for the audio for shows or movies. But there are times I would like to be able to use the optical out on the HTPC to my receiver to do just music so that I can switch off the TV. Multiple out at the same time would be great as I can turn on or off the device I want to use for audio without having to mess with settings in XBMC.

  • Bob May 31, 2012 

    dddamian :
    @JustinSane <- nice nic :)

    Stolen from David Bowie mind u ;-)

  • thomthom May 31, 2012 

    Is it possible to get this up and running on XBMCbuntu?

  • Anonymous May 31, 2012 

    This is really cool news, great work! Any idea when this will be available in a stable build?

  • cron410 May 31, 2012 

    @JustinSane

    I would recommend using the headphone port on the reciever anyway as these usually have a better DAC than what you find on a PC motherboard.

    Most recievers do not take much power to operate when the main amplifier is not in use.
    If your reveiver acts like mine and draws a huge amount of power and dims the lights in the room when you turn it on,
    Its only charging the capacitors up. You can check this with a Kill-A-Watt meter or similar device. If you really are worried about power usage, you will want one of these anyway for real power usage numbers on your devices. Maybe a friend has one?

  • Hrynio May 31, 2012 

    Nightly builds 20120531 presents really good. Sound seriously its better than regular eden. I have only one problem, when i play song and visualization got start then my processor go to 100% and everything slowing down, the same situation is when i play mkv 720p or 1080p. In Eden i don’t have that issue. (work on win7)

  • Mark May 31, 2012 

    AWESOME guys!!! It would be amazing if you could look into DSD, and SACD format playback…..another hi-res audio kind (about the same resoution-wise as 24-bit 96kHz, just different), SACD has now been cracked fully and the format now opening up on the computer platform:

    PS3 SACD ripper: http://code.google.com/p/sacd-ripper/

    foobar sacd plugin: https://sourceforge.net/projects/sacddecoder/

    And it’s all open-source.

    there’s Mytek USB DSD sound cards, DSD ASIO drivers, and maybe even some HDMI/iLink DSD digital driver could be created. Most decent receivers accept DSD over HDMI or firewire!

  • dddamian May 31, 2012 

    Kristian :

    dddamian :

    jajo :
    Great work with AE!
    One question though… Can DTS HDMA and TrueHD be decoded and sent to my 24bit capable sound card, or does it only work through HDMI bitstreaming?
    / Jacob

    TrueHD can be decoded losslessly to PCM and streamed to your card – DTS-MA cannot, it must be passed thru or you can play the DTS core.

    Hi ddamian,

    Can you elaberate a bit on TrueHD decoding to PCM. Is it possible to decode TrueHD into PCM and then output it via 5.1/7.1 analog connectors into to an amplifier? Ie. an amplifier that does not support hdmi/hd audio, but has 5.1 or 7.1 analog inputs? Or is it only for outputting LPCM via HDMI to an amplifier that does not support decoding HD formats itself?

    Either way, absolutely fantastic work on this new audio engine!

    Yes, that is possible. Keep in mind your DAC must support 8ch @ 192khz though – that’s what a TrueHD stream is comprised of once decoded. You *could* resample but now it starts to defeat the purpose.

    For the question of the next stable build the only answer is Frodo 12.0 ;)

  • BigJRM May 31, 2012 

    How can you just keep making the BEST MEDIA PLAYER BETTER? It just BLOWS MY MIND! So, CONGRATULATIONS to the DEVELOPERS/PROGRAMERS and all the other folks who work on this OPEN SOURCE software to make it what it is today and will be tomorrow. You folks ROCK!

  • João May 31, 2012 

    GREAT!!

    Thank you guys for the awesome work :D

  • Gabriel May 31, 2012 

    Nothing about DTS to AC3 on the fly?

  • SFW Jun 01, 2012 

    Awesome news guys

    Thanks to all the dev`s that helped

  • Nick.G Jun 01, 2012 

    Awesome news guys! You are the best!

    Thanks to all the developers that contributed!

  • Fernando rato Jun 01, 2012 

    Many thanks for this.
    The Hdaudio is working beautifuly, the only gripe is with movies with LPCM.
    They start to struggle to play.
    I know that you guys are going to solve that

    Many cheers

  • quotahoc Jun 01, 2012 

    Thank you, thank you, thank you!!!!!!! I have a custom install coming up where I am designing a bluray iso streaming video system. Thanks to this inclusion and the news announcement my Meridian Audio owning customer is at ease. Gnif and the rest of the team: YOU ROCK!

  • Henrik Jun 01, 2012 

    Will this fix the 24p audio sync problems?

  • dddamian Jun 01, 2012 

    Henrik :

    Will this fix the 24p audio sync problems?

    Reports are positive regarding that, but it does depend on your hardware too – many gpu’s do not clock 23.976hz well.

  • Henrik Jun 02, 2012 

    dddamian :
    Reports are positive regarding that, but it does depend on your hardware too – many gpu’s do not clock 23.976hz well.

    That’s great news! Wonder if my Mac Mini with Nvidia GeForce 9400M is supported…

  • alanchow Jun 02, 2012 

    Excellent. Great work guys. One step closer to move from bdlite to full BD playback. Tested our 24bit 96k audio and was blown away by the quality. Keep up the good work.

  • alanchow Jun 02, 2012 

    for those wanting to test out the HD-Audio Codecs i have found some demo’s for download below. TrueHD, DTS-HD MA / HR samples

    http://www.demo-world.eu/trailers/high-definition-trailers.php

  • Seb.26 Jun 02, 2012 

    O M G 8-O
    I dreams every nights about low pass filter functions ( got 5.1 with : sub + FL/FR = large + C/SL/SR = small )

    Pulseaudio is too hard for me and you are about to resolve my last problem with XBMCbuntu …

    Pretty hard now to wait a release !!!

    Many thanks guys.

  • subcell Jun 02, 2012 

    Not only to we get HD Audio with these new nightly builds but also… my 10-bits videos are now working!!! GREAT!!!!

  • Joelslaw Jun 02, 2012 

    Thank you guys sooooo much!!! I have been waiting on this feature for a while and am so excited to try it! Thank you for all the hard work!

  • Workstation Jun 02, 2012 

    @thomthom

    I also would like to know if this will be added into or can be added to xbmc Ubuntu .
    Currently running this because windows 7 was crashing with xbmc and now doesn’t with Ubuntu only problem is my audio doesn’t work on 5.1 streams through HDMI… any comments on this

  • Roy Barret Jun 02, 2012 

    wonderfull!!
    i need now.
    congratulation from Bogota,Colombia–
    Exelent for competition

  • Goku Jun 02, 2012 

    Thank you!!!!!!

  • alanchow Jun 02, 2012 

    subcell :
    Not only to we get HD Audio with these new nightly builds but also… my 10-bits videos are now working!!! GREAT!!!!

    no way 10 bit is working now better now? gotta check this out.

  • Jean-Yves Avenard Jun 03, 2012 

    Cool…

    XBMC has almost finally caught up with MythTV when it comes to audio features…. almost :)

  • erik Jun 03, 2012 

    It’s a pity the linux version is way behind..
    any timetable there?

  • jajo Jun 03, 2012 

    dddamian :
    Keep in mind your DAC must support 8ch @ 192khz though – that’s what a TrueHD stream is comprised of once decoded. You *could* resample but now it starts to defeat the purpose.

    This is making me a little confused. Most movies with TrueHD is encoded at 24bit/48khz. Some are even encoded at 16bit/48khz (in all channels). My USB sound card can handle 24bit/96khz maximum. Will XBMC reject the lossless data and send a lossy stream to my sound card just because it doesn’t handle 192khz? (Even though it does handle the actual encoded bitdepth and sample frequency of the lossless PCM)

  • Robert Jun 03, 2012 

    Great RE: HD Audio, now we need VIDEO levels (16-235) as an option for the entire XBMC experience, meaning even the home menu navigation etc… not just in a player via relative guidance of brightness/contrast which is far from specific. As is there is no distinct toggle, and though I’m glad to see the XBMC team taking HD seriously with the audio support, the video itself is lacking in a huge way both with the renderer and it’s lack of video levels for home theater enthusiasts.

  • Player 1 Jun 03, 2012 

    dddamian :

    Henrik :
    Will this fix the 24p audio sync problems?

    Reports are positive regarding that, but it does depend on your hardware too – many gpu’s do not clock 23.976hz well.

    Might try this one out then.
    10.1 did not have sync issues for me on ASRock ION 330 so fingers crossed.

  • atlind01 Jun 04, 2012 

    Eagerly waiting for the Monthly release, any idea when it will be available?

  • Zebraitis Jun 04, 2012 

    atlind01 :Eagerly waiting for the Monthly release, any idea when it will be available?

    DITTO !!! Inquiring minds want to know !!!

  • dddamian Jun 04, 2012 

    jajo :

    dddamian :
    Keep in mind your DAC must support 8ch @ 192khz though – that’s what a TrueHD stream is comprised of once decoded. You *could* resample but now it starts to defeat the purpose.

    This is making me a little confused. Most movies with TrueHD is encoded at 24bit/48khz. Some are even encoded at 16bit/48khz (in all channels). My USB sound card can handle 24bit/96khz maximum. Will XBMC reject the lossless data and send a lossy stream to my sound card just because it doesn’t handle 192khz? (Even though it does handle the actual encoded bitdepth and sample frequency of the lossless PCM)

    DTS-MA and TrueHD are both transmitted over a 192khz link – you need HDMI to bitstream these formats – there is no way around that. For TrueHD we can decode losslessly to PCM over your 24/96khz link. Easy answer is grab a cheap GPU with HDMI. Their is *no* software solution to bitstreaming these without HDMI.

  • Nick Jun 04, 2012 

    @Zebraitis Its out already ;)

  • Derek Jun 04, 2012 

    You guys are amazing! This was the one feature I was waiting for more than anything. Thanks for making my home theater futuristic!

  • jajo Jun 04, 2012 

    dddamian :

    jajo :

    dddamian :Keep in mind your DAC must support 8ch @ 192khz though – that’s what a TrueHD stream is comprised of once decoded. You *could* resample but now it starts to defeat the purpose.

    This is making me a little confused. Most movies with TrueHD is encoded at 24bit/48khz. Some are even encoded at 16bit/48khz (in all channels). My USB sound card can handle 24bit/96khz maximum. Will XBMC reject the lossless data and send a lossy stream to my sound card just because it doesn’t handle 192khz? (Even though it does handle the actual encoded bitdepth and sample frequency of the lossless PCM)

    DTS-MA and TrueHD are both transmitted over a 192khz link – you need HDMI to bitstream these formats – there is no way around that. For TrueHD we can decode losslessly to PCM over your 24/96khz link. Easy answer is grab a cheap GPU with HDMI. Their is *no* software solution to bitstreaming these without HDMI.

    So, if I understand you correctly – if I play a TrueHD movie today with AudioEngine I will get the lossless soundtrack as long as my soundcard is able to play the actual bitdepth and sampling frequency of the soundtrack?

    I completely understand that DTS HD-MA cannot be used since there is no open source decoder. But TrueHD should work, and also movies with pure PCM soundtracks, right?

    MPC-HC decodes TrueHD and DTS HDMA to normal PCM which is sent to my sound card. It works just fine. I just want to know that XBMC will do the same, except for DTS HDMA.

    Regarding HDMI. I am not very fond of bitstreaming. Mainly because it always ends with some minor A/V sync glitches. With analogue audio, it is possible to have audio and video synced perfectly during the entire movie, even if there is a frame drop.

    / j

  • dddamian Jun 04, 2012 

    Hrynio :

    Nightly builds 20120531 presents really good. Sound seriously its better than regular eden. I have only one problem, when i play song and visualization got start then my processor go to 100% and everything slowing down, the same situation is when i play mkv 720p or 1080p. In Eden i don’t have that issue. (work on win7)

    @Hrynio – found a deadlock issue in PAPlayer – fix coming in the next day or so. For issues with anything else just get a debug log together and hit the forums :)

  • dddamian Jun 04, 2012 

    jajo :

    dddamian :

    jajo :

    dddamian :Keep in mind your DAC must support 8ch @ 192khz though – that’s what a TrueHD stream is comprised of once decoded. You *could* resample but now it starts to defeat the purpose.

    This is making me a little confused. Most movies with TrueHD is encoded at 24bit/48khz. Some are even encoded at 16bit/48khz (in all channels). My USB sound card can handle 24bit/96khz maximum. Will XBMC reject the lossless data and send a lossy stream to my sound card just because it doesn’t handle 192khz? (Even though it does handle the actual encoded bitdepth and sample frequency of the lossless PCM)

    DTS-MA and TrueHD are both transmitted over a 192khz link – you need HDMI to bitstream these formats – there is no way around that. For TrueHD we can decode losslessly to PCM over your 24/96khz link. Easy answer is grab a cheap GPU with HDMI. Their is *no* software solution to bitstreaming these without HDMI.

    So, if I understand you correctly – if I play a TrueHD movie today with AudioEngine I will get the lossless soundtrack as long as my soundcard is able to play the actual bitdepth and sampling frequency of the soundtrack?

    I completely understand that DTS HD-MA cannot be used since there is no open source decoder. But TrueHD should work, and also movies with pure PCM soundtracks, right?

    MPC-HC decodes TrueHD and DTS HDMA to normal PCM which is sent to my sound card. It works just fine. I just want to know that XBMC will do the same, except for DTS HDMA.

    Regarding HDMI. I am not very fond of bitstreaming. Mainly because it always ends with some minor A/V sync glitches. With analogue audio, it is possible to have audio and video synced perfectly during the entire movie, even if there is a frame drop.

    / j

    I certainly never get sync issues bitstreaming. But to answer your question – yes, TrueHD will decode to PCM and can be output to your device as with other PCM. So you will be able to play it without issue – whether it will be lossless depends on your device e.g. a 16bit device will still suffer quality degradation.

  • dddamian Jun 04, 2012 

    Mark :

    AWESOME guys!!! It would be amazing if you could look into DSD, and SACD format playback…..another hi-res audio kind (about the same resoution-wise as 24-bit 96kHz, just different), SACD has now been cracked fully and the format now opening up on the computer platform:

    PS3 SACD ripper: http://code.google.com/p/sacd-ripper/

    foobar sacd plugin: https://sourceforge.net/projects/sacddecoder/

    And it’s all open-source.

    there’s Mytek USB DSD sound cards, DSD ASIO drivers, and maybe even some HDMI/iLink DSD digital driver could be created. Most decent receivers accept DSD over HDMI or firewire!

    Yes, I’ve spoken with Max and received his blessing on porting. The issue is the code is NOT GPL-compatible – see the DST-unpacking code copyrighted and licensed by Philips Ltd. It is not free to distribute, modify, publish without license.

  • Anonymous Jun 04, 2012 

    @Nick
    I installed it but I don’t see the audio settings for HD. Is there any additional flags that needs to be turned on in “ADVACNED SETTINGS”?

  • atlind01 Jun 04, 2012 

    Nick :
    @Zebraitis Its out already ;)

    I did download the May release, but I don’t see the HD audio options under system menu? Is there any additional flags that I need to turn on in advanced settings?

  • Anonymous Jun 04, 2012 

    atlind01 :

    Nick :@Zebraitis Its out already ;)

    I did download the May release, but I don’t see the HD audio options under system menu? Is there any additional flags that I need to turn on in advanced settings?

    You need either June’s XBMC Frodo Alpha3 or any nightly after May 15th – there are no advanced settings required to enable it – the new options will be there already.

  • Mark Harper Jun 04, 2012 

    wooooooooooooowwwwww!!!!! it’s awesoomeeee!!! thank u so very much dudes! i love the audio in HD!! DTS =)

  • Mics Jun 05, 2012 

    Hi there, very nice with the new audio formats, however the release is stille pretty unstable, it crashed a couple of times for me. Another issue is all my HD DVD movies i have they all, or most of them, have Dolby Digital Plus. This format is simply not recongnized by xbmc and the sound stutters and movie cannot play, it simply freezes. Will this older format be included?

  • Jean-Yves Avenard Jun 05, 2012 

    @jajo

    While TrueHD / DTS-HD is a usually 24bits, 48kHz sampled stream, it is carried over a 8 channels , 16 bits, 192kHz audio link. Hence why you have such requirements. Having said that, it’s not really a proper requirements. Your audio card could handle 8 channels @ 192kHz yet not do TrueHD and DTS-HD. You need HD passhtrough support, this means you need a nvidia GT4xx or later.

  • Jean-Yves Avenard Jun 05, 2012 

    So, if I understand you correctly – if I play a TrueHD movie today with AudioEngine I will get the lossless soundtrack as long as my soundcard is able to play the actual bitdepth and sampling frequency of the soundtrack?
    I completely understand that DTS HD-MA cannot be used since there is no open source decoder. But TrueHD should work, and also movies with pure PCM soundtracks, right?
    MPC-HC decodes TrueHD and DTS HDMA to normal PCM which is sent to my sound card. It works just fine. I just want to know that XBMC will do the same, except for DTS HDMA.
    Regarding HDMI. I am not very fond of bitstreaming. Mainly because it always ends with some minor A/V sync glitches. With analogue audio, it is possible to have audio and video synced perfectly during the entire movie, even if there is a frame drop.
    / j

    There is no decoder for DTS-HD MA, so you either bitstream DTS-HD MA, or you decode the DTS-core stream only (5.1 max)

  • Joey Jun 05, 2012 

    @dddamian Software patents applies to more than half the codecs in FFmpeg so one more software patent should not stop you now ;)

  • Nick Jun 05, 2012 
  • atlind01 Jun 05, 2012 

    @Nick
    thanks, got it, when I pulled obviously the build was going on I believe I saw only alpha1, but the win 32 directory showed a time stamp of June 4th, so I assumed I had the latest version.

  • Anonymous Jun 05, 2012 

    Jean-Yves Avenard :
    @jajo
    While TrueHD / DTS-HD is a usually 24bits, 48kHz sampled stream, it is carried over a 8 channels , 16 bits, 192kHz audio link. Hence why you have such requirements. Having said that, it’s not really a proper requirements. Your audio card could handle 8 channels @ 192kHz yet not do TrueHD and DTS-HD. You need HD passhtrough support, this means you need a nvidia GT4xx or later.

    This doesn’t make sense!

    If a 24 bit/48khz PCM soundtrack is compressed (lossless) with Dolby TrueHD, why should it not be possible to decode it to PCM again and then send it to my sound card that is capable of 24bit 96khz @ 7.1?

    I already do this in Media Player Classic. I can even decode DTS HD Master there and it is working perfectly (with Arcsoft DTS HD decoder).

    / j

  • jajo Jun 05, 2012 

    Jean-Yves Avenard :
    @jajo
    While TrueHD / DTS-HD is a usually 24bits, 48kHz sampled stream, it is carried over a 8 channels , 16 bits, 192kHz audio link. Hence why you have such requirements. Having said that, it’s not really a proper requirements. Your audio card could handle 8 channels @ 192kHz yet not do TrueHD and DTS-HD. You need HD passhtrough support, this means you need a nvidia GT4xx or later.

    This doesn’t make sense!

    If a 24 bit/48khz PCM soundtrack is compressed (lossless) with Dolby TrueHD, why should it not be possible to decode it to PCM again and then send it to my sound card that is capable of 24bit 96khz @ 7.1?

    I already do this in Media Player Classic. I can even decode DTS HD Master there and it is working perfectly (with Arcsoft DTS HD decoder).

    / j

  • Fernando rato Jun 05, 2012 

    Lpcm works great. I didnt edited the new audio settings. Wow this makes blurays sound much more incredible!!!
    Horray for the devs and everybody!!!

  • Zebraitis Jun 05, 2012 

    Nick :@atlind01 Grab alpha2 from here: http://mirrors.xbmc.org/snapshots/win32/

    OK… I’ll be the first to admit this is not where I should discuss this…

    BUT… When the first Frodo Alpha came out, it was greeted with some fanfare on the main page, and an anouncement was made that updates would be rolled intpo a monthly.

    So, I kept looking for a monthly announcement, and checked in the nighlies… and it did not look like it was out.

    Now, it looks like if you are in-the-know and are aware of the repository, you can get it.

    (… and I wish to say that I am grateful for that info being shared and the work that was done. No question.)

    However, as I like the idea of monthlies, can we go back to a quick notice on the main page of a monthly release, and some of the bullet point updates (with the usual disclaimer / warnings, of course).

    Thanks.

    (…I’ll take my sopbox with me as I leave.)

  • Francisco Jun 05, 2012 

    Hi,
    this might sound a bit silly but, does anyone know how do i test if i got my xbmc set up working properly?
    Or indicate me where should i go for advice.
    Thanks

  • Nick Jun 05, 2012 

    @Zebraitis The debug symbols have only been uploaded this evening, so may be an announcement tonight or tommorow maybe. Don’t know.

  • John Jun 05, 2012 

    I have some HD-DVD MKV rips with Dolby Digital +, they don’t play under the official nightly build, but do play under a custom build that another user posted (XBMCSetup-11.0+HD-audio-20120417-2f965ac-dx), can this be added to the nightlies? Also, it seems the Allmusic add-on is reporting that it is currently broken. Other than that, the interface seems cleaner & faster.

  • Anonymous Jun 05, 2012 

    Anonymous :

    Jean-Yves Avenard :@jajo While TrueHD / DTS-HD is a usually 24bits, 48kHz sampled stream, it is carried over a 8 channels , 16 bits, 192kHz audio link. Hence why you have such requirements. Having said that, it’s not really a proper requirements. Your audio card could handle 8 channels @ 192kHz yet not do TrueHD and DTS-HD. You need HD passhtrough support, this means you need a nvidia GT4xx or later.

    This doesn’t make sense!
    If a 24 bit/48khz PCM soundtrack is compressed (lossless) with Dolby TrueHD, why should it not be possible to decode it to PCM again and then send it to my sound card that is capable of 24bit 96khz @ 7.1?
    I already do this in Media Player Classic. I can even decode DTS HD Master there and it is working perfectly (with Arcsoft DTS HD decoder).
    / j

    Simply de-select TrueHD-capable receiver in the settings – it will be decoded to PCM and streamed as such. AE is capable of resampling it down.

  • Anonymous Jun 06, 2012 

    Anonymous :

    Jean-Yves Avenard :
    @jajo
    While TrueHD / DTS-HD is a usually 24bits, 48kHz sampled stream, it is carried over a 8 channels , 16 bits, 192kHz audio link. Hence why you have such requirements. Having said that, it’s not really a proper requirements. Your audio card could handle 8 channels @ 192kHz yet not do TrueHD and DTS-HD. You need HD passhtrough support, this means you need a nvidia GT4xx or later.

    This doesn’t make sense!
    If a 24 bit/48khz PCM soundtrack is compressed (lossless) with Dolby TrueHD, why should it not be possible to decode it to PCM again and then send it to my sound card that is capable of 24bit 96khz @ 7.1?
    I already do this in Media Player Classic. I can even decode DTS HD Master there and it is working perfectly (with Arcsoft DTS HD decoder).
    / j

    You’ve misread or confusing Dolby True HD with DTS-HD MA: Dolby TrueHD can be decoded and played as LPCM as there are opensource decoder for it. XBMC like most media players uses the FFmpeg libraries to do all the decoding.

    It’s DTS-HD MA that doesn’t have decoder and must be bitstreamed.
    If you decode a DTS-HD MA what you are really decoding is the DTS-Core stream, so you get 5.1 audio.
    Media Player classic doesn’t decode DTS-HD MA.
    Maybe you just can’t hear the difference between DTS and DTS-HD MA :)

    The original post was incorrect. That your audio/video card can do HDMI 8 channels at 192kHz isn’t sufficient to do HD digital bitstreaming. It must have HBR support. A nvidia 2xx or 3xx will do 8 channels LPCM just fine, but will not do HBR.

  • Jean-Yves Avenard Jun 06, 2012 

    Anonymous :

    Jean-Yves Avenard :
    @jajo
    While TrueHD / DTS-HD is a usually 24bits, 48kHz sampled stream, it is carried over a 8 channels , 16 bits, 192kHz audio link. Hence why you have such requirements. Having said that, it’s not really a proper requirements. Your audio card could handle 8 channels @ 192kHz yet not do TrueHD and DTS-HD. You need HD passhtrough support, this means you need a nvidia GT4xx or later.

    This doesn’t make sense!
    If a 24 bit/48khz PCM soundtrack is compressed (lossless) with Dolby TrueHD, why should it not be possible to decode it to PCM again and then send it to my sound card that is capable of 24bit 96khz @ 7.1?
    I already do this in Media Player Classic. I can even decode DTS HD Master there and it is working perfectly (with Arcsoft DTS HD decoder).
    / j

    You’ve misread or confusing Dolby True HD with DTS-HD MA: Dolby TrueHD can be decoded and played as LPCM as there are opensource decoder for it. XBMC like most media players uses the FFmpeg libraries to do all the decoding.

    It’s DTS-HD MA that doesn’t have decoder and must be bitstreamed.
    If you decode a DTS-HD MA what you are really decoding is the DTS-Core stream, so you get 5.1 audio.
    Media Player classic doesn’t decode DTS-HD MA.
    Maybe you just can’t hear the difference between DTS and DTS-HD MA :)

    The original post was incorrect. That your audio/video card can do HDMI 8 channels at 192kHz isn’t sufficient to do HD digital bitstreaming. It must have HBR support. A nvidia 2xx or 3xx will do 8 channels LPCM just fine, but will not do HBR.

  • Skram0 Jun 06, 2012 

    @Henrik
    The new AE hasn’t fixed my 24p audio sync issue. I still have to set my delay to around 200ms. :(

    I also get audio cut offs when I choose WASAPI over DirectSound in Win 7. It’s like the audio mutes after 2 seconds of no use.

  • Henrik Jun 06, 2012 
  • jajo Jun 06, 2012 

    Jean-Yves Avenard :

    Anonymous :

    Jean-Yves Avenard :
    @jajo
    While TrueHD / DTS-HD is a usually 24bits, 48kHz sampled stream, it is carried over a 8 channels , 16 bits, 192kHz audio link. Hence why you have such requirements. Having said that, it’s not really a proper requirements. Your audio card could handle 8 channels @ 192kHz yet not do TrueHD and DTS-HD. You need HD passhtrough support, this means you need a nvidia GT4xx or later.

    This doesn’t make sense!
    If a 24 bit/48khz PCM soundtrack is compressed (lossless) with Dolby TrueHD, why should it not be possible to decode it to PCM again and then send it to my sound card that is capable of 24bit 96khz @ 7.1?
    I already do this in Media Player Classic. I can even decode DTS HD Master there and it is working perfectly (with Arcsoft DTS HD decoder).
    / j

    You’ve misread or confusing Dolby True HD with DTS-HD MA: Dolby TrueHD can be decoded and played as LPCM as there are opensource decoder for it. XBMC like most media players uses the FFmpeg libraries to do all the decoding.
    It’s DTS-HD MA that doesn’t have decoder and must be bitstreamed.
    If you decode a DTS-HD MA what you are really decoding is the DTS-Core stream, so you get 5.1 audio.
    Media Player classic doesn’t decode DTS-HD MA.
    Maybe you just can’t hear the difference between DTS and DTS-HD MA :)
    The original post was incorrect. That your audio/video card can do HDMI 8 channels at 192kHz isn’t sufficient to do HD digital bitstreaming. It must have HBR support. A nvidia 2xx or 3xx will do 8 channels LPCM just fine, but will not do HBR.

    Hi!

    I haven’t misread or misunderstood anything. You wrote in your initial post “Your audio card could handle 8 channels @ 192kHz yet not do TrueHD and DTS-HD. You need HD passhtrough support, this means you need a nvidia GT4xx or later.” You are saying that a TrueHD stream of 24bit/48khz cannot be played in high res through my high-res capable analogue sound card. Now you say that TrueHD can be decoded to LPCM. Which one is correct?

    Do you mean that it will be decoded to LPCM 16bit/48khz? If that is true, then it is sad because my sound card is capable of 24bit 48khz.

    I know that DTS HD Master cannot be decoded in XBMC. But MPC HC can do it with the Arcsoft DTS HD Master decoder (proprietary).

    And I can surely hear the difference between DTS Core and DTS HD MA in my system. I am interested in getting as high quality audio as possible from XBMC, especially on my TrueHD/LPCM mkvs.

    / j

  • Patrik Dufresne Jun 07, 2012 

    I’m really impatience to hear it ! Again, nice work everyone !

  • ld Jun 09, 2012 

    I gotta say that after doing a git pull to the last version of xbmc with HD Audio, the audio is now total crap. I get the skipping sound all the time and I lost 5.1 sound completely. NOT a good work :-(

  • Anonymous Jun 12, 2012 

    Very pleased with this and what great work all you guys have done :)

    One question I deleted the old XBMC RC2 build and it asked me if I wanteded to delete all my scans of my folders ? Something like that anyway, so is it best to do a fresh install from scratch ?

    Once again thank you so much for such a great piece of software.

About XBMC

XBMC is a free and open source media player application developed by the XBMC Foundation, a non-profit technology consortium. XBMC is available for multiple operating-systems and hardware platforms, featuring a 10-foot user interface for use with televisions and remote controls. It allows users to play and view most videos, music, podcasts, and other digital media files from local and network storage media and the internet.