razzeee / xbmc-test

0 stars 0 forks source link

DTS in AVI pass-through to SPDIF optical-out #5

Closed razzeee closed 7 years ago

razzeee commented 7 years ago

Reported by Gamester17 on 2 Oct 2003 14:12 UTC

Real/true DTS pass-through to SPDIF optical-out By-pass the MPC sending audio stream out (no processing in XBMC whatsoever)

it is possible as both MS dashboard & DVDX 2.0 do this.

Quoting jmarshall on a couple obeservations:

  1. The XBox has onboard AC3 5.1 encoding in it's MCP- X (Audio processor). It can encode ac3 surround from 6 (or more if they're downmixed) channels of content.
    This allows game developers to easily create surround sound effects + soundtracks.

  2. There is currently no way that I know of to bypass the MCPx and write direct to the audio output buffers.
    This is clearly possible (Microsoft dash does it, as does DVD-X2) but I have found no documentation on how to do it, and the DVD-X2 guys have not got the code anymore.

This then leaves us with the following: We can either attempt to get the AC3 or DTS or whatever through the MCP-X unscathed, or decode in software and let the MCP-X reencode it. Unfortunately, the MCP-X upsamples everything to 24bit/48kHz which of course screws up any compressed stream. Thus, we are currently forced to decode in software and then let the MCP-X recode it after it's upsampled and done whatever else it wants. This is why DTS is currently not supported, as we can't decode it in software.

If anyone knows of a way to write direct to the audio output buffers BYPASSING the MCP-X, please get in contact and let me know. I'll implement it immediately.

Migrated-From: http://trac.kodi.tv/ticket/5

razzeee commented 7 years ago

Comment by monkeyhappy on 21 Nov 2003 15:39 UTC

Logged In: YES user_id=872682

This is also done

razzeee commented 7 years ago

Comment by gamester17 on 24 Nov 2003 10:22 UTC

Logged In: YES user_id=630186

k, but are you sure? I thought that only AC3 was working?

razzeee commented 7 years ago

Comment by nuendo on 11 Jan 2004 16:54 UTC

Logged In: YES user_id=692875

It worked, but is broken atm.

razzeee commented 7 years ago

Comment by gamester17 on 12 Jan 2004 13:54 UTC

Logged In: YES user_id=630186

ok, let's keep the FR open til it's fixed :) @monkeyhappy, ok if we assign this to you?

razzeee commented 7 years ago

Comment by gamester17 on 10 Mar 2004 15:53 UTC

Logged In: YES user_id=630186

DTS pass-through to SPDIF optical is now working for DVD's, but not working for DTS streams/tracks inside AVI/OGM/MKV.

Leaving this open but chaning topic summery to be more clear