Re: Hardware DTS decoding
Posted: Thu Jan 03, 2013 2:06 pm
I think we all have done what we can do. We are just need to keep working on letting DTS know that we are not going away until we get the licenses that we need.
A small, affordable computer with free resources to help people learn, make things, and have fun
https://www.raspberrypi.org/forums/
https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=15546
You could try this tool:mjsandbe wrote:In the meantime, until hardware DTS decoding is available, is there a workaround for streaming 1080P Video with DTS? I am currently using Rasbmc but am open to other versions of XBMC on Raspberry Pi. My files are the full size output from MakeMKV and I would strongly prefer not having to use something like handbrake to transcode my movies. I would be fine with just stereo sound for now as long as playback was smooth. I am sure I am not the first to ask this question, but Goggling did not turn up an obvious answer. Thanks.
You think a professional distributor who carries hundreds of products cannot somehow cope with two variations of one particular product? LOL, genius.ghans wrote:Oh yeah , the distributors will like that.
Just imagine a board with license and without license
getting mixed up , that is already a case of license fee evasion
if undetected ....
ghans
Damn straight!gman529 wrote:I think we all have done what we can do. We are just need to keep working on letting DTS know that we are not going away until we get the licenses that we need.
You may be interested in XBian. Back up this thread a little you can see that it has potential to allow for smooth playback of DTS already. I can't guarantee it of course but if you don't want to try dom's handy option, XBian could be worth a look. The people behind XBian are working daily to ensure that any and all optimisations, from either nightly XBMC builds, the Raspbian distribution or the Linux kernel itself, are applied and made available to users as easily and quickly as possible.mjsandbe wrote:In the meantime, until hardware DTS decoding is available, is there a workaround for streaming 1080P Video with DTS? I am currently using Rasbmc but am open to other versions of XBMC on Raspberry Pi. My files are the full size output from MakeMKV and I would strongly prefer not having to use something like handbrake to transcode my movies. I would be fine with just stereo sound for now as long as playback was smooth. I am sure I am not the first to ask this question, but Goggling did not turn up an obvious answer. Thanks.
That's a shame. Hopefully it will not come to a situation where there's a little extra pressure on distributors. It already seems like, from dom's news about the code being ready and DTS finally talking with the Raspi Foundation, that we are only the home straight away from the finish line.ghans wrote:@1080p_at_35b
Well i know a distributor which has problems with a certain
low-margin product advertised to consumers ...
ghans
For those who may not be aware, Dolby Digital (DD) is also known as AC3 and you may find that you already have support for AC3//DD in your HDMI device, particularly if the device is a reasonably new TV. I can't comment on how this may relate to HDMI computer monitors and TVs in different regions of the world might differ to mine, however I use an LG and a Sony TV and both of those have support for AC3/DD built in!Kainz wrote:Sure hope that we hear from Dolby :/
Code: Select all
/opt/vc/lib/tvservice -a
Code: Select all
PCM supported: Max channels: 2, Max samplerate: 48kHz, Max samplesize 24 bits.
AC3 supported: Max channels: 6, Max samplerate: 48kHz, Max rate 640 kb/s.
So does audio_mixer automatically downmix to 2.0, capabilities of the device being outputted to be damned? That has been my experience, and I'm not sure if this is a bug or if it's intentional. I am also experiencing total silence with 7.1 AAC files atm.There are 3 scenarios.
DTS passthough: DTS 5.1 bitstream -> VCHIQ -> television
ARM decode: DTS 5.1 bitstream -> ARM decode to 6 channel PCM -> VCHIQ -> audio_mixer -> television
GPU decode : DTS 5.1 bitstream -> VCHIQ -> GPU decode to 6 channel PCM -> audio_mixer -> television
VCHIQ is the message passing interface from ARM to GPU.
The GPU decode is just software, as is audio_mixer (although 16-way SIMD accelerated, so more efficient than ARM).
Could this not be somewhat dependant on software? XBMC for example, has some settings relevant to this:LastSilmaril wrote:In other words, I read this:So does audio_mixer automatically downmix to 2.0, capabilities of the device being outputted to be damned? That has been my experience, and I'm not sure if this is a bug or if it's intentional. I am also experiencing total silence with 7.1 AAC files atm.There are 3 scenarios.
DTS passthough: DTS 5.1 bitstream -> VCHIQ -> television
ARM decode: DTS 5.1 bitstream -> ARM decode to 6 channel PCM -> VCHIQ -> audio_mixer -> television
GPU decode : DTS 5.1 bitstream -> VCHIQ -> GPU decode to 6 channel PCM -> audio_mixer -> television
VCHIQ is the message passing interface from ARM to GPU.
The GPU decode is just software, as is audio_mixer (although 16-way SIMD accelerated, so more efficient than ARM).
Thanks for the reply, but as I say, bitstreaming (what you just described) works just fine. I want to know if on-board decoding to PCM is forced to downmix and output 2.0 or not, because whatever the speaker configuration I specify in the settings don't seem to matter - it is always downmixed. This is true of AAC audio as well, which can't be decoded by most (I haven't actually encountered *any*) receivers on the market today.1080p_at_35b wrote:Could this not be somewhat dependant on software? XBMC for example, has some settings relevant to this:LastSilmaril wrote:In other words, I read this:So does audio_mixer automatically downmix to 2.0, capabilities of the device being outputted to be damned? That has been my experience, and I'm not sure if this is a bug or if it's intentional. I am also experiencing total silence with 7.1 AAC files atm.There are 3 scenarios.
DTS passthough: DTS 5.1 bitstream -> VCHIQ -> television
ARM decode: DTS 5.1 bitstream -> ARM decode to 6 channel PCM -> VCHIQ -> audio_mixer -> television
GPU decode : DTS 5.1 bitstream -> VCHIQ -> GPU decode to 6 channel PCM -> audio_mixer -> television
VCHIQ is the message passing interface from ARM to GPU.
The GPU decode is just software, as is audio_mixer (although 16-way SIMD accelerated, so more efficient than ARM).
"Dolby Digital (AC3) capable receiver"
"DTS capable receiver"
When enabled, XBMC will pass (AFAIK) unmodified audio to the TV or receiver.
Some more XBM information is available here:
http://wiki.xbmc.org/index.php?title=AudioEngine
You seem to be determined to not mention what software setup you are using, for reasons which I guess are understandableLastSilmaril wrote:Thanks for the reply, but as I say, bitstreaming (what you just described) works just fine. I want to know if on-board decoding to PCM is forced to downmix and output 2.0 or not, because whatever the speaker configuration I specify in the settings don't seem to matter - it is always downmixed. This is true of AAC audio as well, which can't be decoded by most (I haven't actually encountered *any*) receivers on the market today.
LOL, I'm sorry dude, I'm so used to posting in the media center and xbmc forums that I didn't see the need to mention that I'm using xbmc or totally process what you said. I'm using the latest builds of OpenELEC with XBMC 12.0-RC3.1080p_at_35b wrote:You seem to be determined to not mention what software setup you are using, for reasons which I guess are understandableLastSilmaril wrote:Thanks for the reply, but as I say, bitstreaming (what you just described) works just fine. I want to know if on-board decoding to PCM is forced to downmix and output 2.0 or not, because whatever the speaker configuration I specify in the settings don't seem to matter - it is always downmixed. This is true of AAC audio as well, which can't be decoded by most (I haven't actually encountered *any*) receivers on the market today.![]()
No worries mate, I can relate to that as I've been posting in the XBian forums myself.LastSilmaril wrote:LOL, I'm sorry dude, I'm so used to posting in the media center and xbmc forums that I didn't see the need to mention that I'm using xbmc or totally process what you said. I'm using the latest builds of OpenELEC with XBMC 12.0-RC3.1080p_at_35b wrote:You seem to be determined to not mention what software setup you are using, for reasons which I guess are understandableLastSilmaril wrote:Thanks for the reply, but as I say, bitstreaming (what you just described) works just fine. I want to know if on-board decoding to PCM is forced to downmix and output 2.0 or not, because whatever the speaker configuration I specify in the settings don't seem to matter - it is always downmixed. This is true of AAC audio as well, which can't be decoded by most (I haven't actually encountered *any*) receivers on the market today.![]()
There may be an issue with ALSA sound. The XBian people are waiting for ALSA to be supported (I can't remember by whom/what - Raspi, XBMC, something ...) before they can implement some audio features such as simultaneous analog and HDMI output. The following links may be of interest:LastSilmaril wrote:https://github.com/huceke/omxplayer/blo ... MRemap.cpp
It looks like OMXPlayer already checks to see what the output capabilities are. I don't think it hardcodes 2.0 over there. It could be that the check isn't done properly or something, but really this is speculation.
From there it seems like someone is working on a workaround for that specific issue (dual audio output via hdmi and 3.5mm analog at once) that doesn't involve either ALSA or PulseAudio.1080p_at_35b wrote: https://github.com/xbianonpi/xbian/issues/172
I think raspbmc has already implemented this but it has caused some unwanted side-effects.LastSilmaril wrote:From there it seems like someone is working on a workaround for that specific issue (dual audio output via hdmi and 3.5mm analog at once) that doesn't involve either ALSA or PulseAudio.1080p_at_35b wrote: https://github.com/xbianonpi/xbian/issues/172
Sounds like you know your C/C++LastSilmaril wrote:In OMXAudio.cpp, the number of output channels is hardcoded to 2 (line 244)
https://github.com/xbmc/xbmc-rbp/blob/m ... XAudio.cpp
But I'm not sure how to find out how many channels are actually supported by output hardware/what the guisetting for audio is. There is a blob of code that's commented out that might do that, around line 250, but with no hint as to why or what else needs to be implemented for it to work.
Re guisettings, maybe here is a place to start:LastSilmaril wrote:From there it seems like someone is working on a workaround for that specific issue (dual audio output via hdmi and 3.5mm analog at once) that doesn't involve either ALSA or PulseAudio.1080p_at_35b wrote: https://github.com/xbianonpi/xbian/issues/172
In OMXAudio.cpp, the number of output channels is hardcoded to 2 (line 244)
https://github.com/xbmc/xbmc-rbp/blob/m ... XAudio.cpp
But I'm not sure how to find out how many channels are actually supported by output hardware/what the guisetting for audio is. There is a blob of code that's commented out that might do that, around line 250, but with no hint as to why or what else needs to be implemented for it to work.