XBMC Community Forum
[WINDOWS][PATCH]Bitstream output of HD audio formats - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Development (/forumdisplay.php?fid=93)
+--- Thread: [WINDOWS][PATCH]Bitstream output of HD audio formats (/showthread.php?tid=121877)



RE: [WINDOWS][PATCH]Bitstream output of HD audio formats - minimoe - 2012-04-16 20:47

I confirm that there is a problem with DTS-ES. I had mixed results:
Se7en, Collector's Edition DVD
Code:
Audio #7
ID                                       : 189 (0xBD)-142 (0x8E)
Format                                   : DTS
Format/Info                              : Digital Theater Systems
Format profile                           : ES
Muxing mode                              : DVD-Video
Duration                                 : 416ms
Bit rate mode                            : Constant
Bit rate                                 : 755 Kbps
Channel(s)                               : 7 channels / 6 channels
Channel positions                        : Front: L C R, Side: L R, Back: C, LFE / Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Compression mode                         : Lossy
Stream size                              : 38.3 KiB (0%)

Video plays in fast forward and I get no sound. On the OSD I see this: Audio: dca, 0 channels

LotR-The Return of the King, Extended DVD
Code:
Audio #7
ID                                       : 189 (0xBD)-137 (0x89)
Format                                   : DTS
Format/Info                              : Digital Theater Systems
Format profile                           : ES
Muxing mode                              : DVD-Video
Duration                                 : 18mn 34s
Bit rate mode                            : Constant
Bit rate                                 : 755 Kbps
Channel(s)                               : 7 channels / 6 channels
Channel positions                        : Front: L C R, Side: L R, Back: C, LFE / Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Bit depth                                : 24 bits
Compression mode                         : Lossy
Stream size                              : 100 MiB (10%)
The movie plays fine and the OSD reports audio type and channels correctly. The AVR locks the signal as DTS-ES 6.1.

System
ATI5450 connected to Onkyo TX-SR507 via HDMI

Let me know if you need a log.


RE: [WINDOWS][PATCH]Bitstream output of HD audio formats - KraziJoe - 2012-04-16 20:59

Um, Do DVD's do HD Audio?


RE: [WINDOWS][PATCH]Bitstream output of HD audio formats - minimoe - 2012-04-16 21:10

(2012-04-16 20:59)KraziJoe Wrote:  Um, Do DVD's do HD Audio?

No, but getting HD audio from XBMC doesn't mean that we have to sacrifice all other non-HD audio types Smile


RE: [WINDOWS][PATCH]Bitstream output of HD audio formats - loekf - 2012-04-16 22:42

Played around with .mkv, .ts and .m2ts remux of this stream:

Code:
General
ID                                       : 1 (0x1)
Complete name                            : M:\starwars.ts
Format                                   : MPEG-TS
File size                                : 17.0 MiB
Duration                                 : 31s 786ms
Overall bit rate mode                    : Variable
Overall bit rate                         : 4 472 Kbps
Maximum Overall bit rate                 : 35.5 Mbps

Video
ID                                       : 4113 (0x1011)
Menu ID                                  : 1 (0x1)
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 5 frames
Codec ID                                 : 27
Duration                                 : 31s 782ms
Bit rate mode                            : Variable
Bit rate                                 : 2 726 Kbps
Nominal bit rate                         : 12.6 Mbps
Maximum bit rate                         : 40.0 Mbps
Width                                    : 1 920 pixels
Height                                   : 818 pixels
Display aspect ratio                     : 2.35:1
Frame rate                               : 23.976 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.072
Stream size                              : 10.3 MiB (61%)
Writing library                          : x264 core 120 r2120 0c7dab9
Encoding settings                        : cabac=1 / ref=5 / deblock=1:-3:-2 / analyse=0x3:0x113 / me=umh / subme=10 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-3 / threads=6 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=9 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=0 / bitrate=12630 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=40000 / vbv_bufsize=40000 / nal_hrd=none / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:1.05 / zones=173859,179366,q=31,deblock=1

Audio
ID                                       : 4352 (0x1100)
Menu ID                                  : 1 (0x1)
Format                                   : DTS
Format/Info                              : Digital Theater Systems
Format profile                           : ES
Codec ID                                 : 130
Duration                                 : 31s 787ms
Bit rate mode                            : Constant
Bit rate                                 : 1 510 Kbps
Channel(s)                               : 7 channels / 6 channels
Channel positions                        : Front: L C R, Side: L R, Back: C, LFE / Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Bit depth                                : 24 bits
Compression mode                         : Lossy
Stream size                              : 5.72 MiB (34%)

.mkv: video, but no audio
.ts: no video, horrible noise, scratching etc. receiver completely confused
.m2ts: video, no audio. Video stops after 10 secs (the 20th Century Fox logo)

My receiver is an Onkyo TX-NR609.

HTPC has been based on a Llano A3650 with A75 chipset. Output device set to Directsound: AMD HDMI. Didn't try WASAPI. Should that matter at all ?


RE: [WINDOWS][PATCH]Bitstream output of HD audio formats - DDDamian - 2012-04-16 22:46

@loekf - absolutely it matters, Use WASAPI for passthrough, not DirectSound. DirectSound uses system mixers which essentially prevent passthrough. Make sure your Windows settings are set for WASAPI exclusive mode as well.


RE: [WINDOWS][PATCH]Bitstream output of HD audio formats - loekf - 2012-04-16 23:22

(2012-04-16 22:46)DDDamian Wrote:  @loekf - absolutely it matters, Use WASAPI for passthrough, not DirectSound. DirectSound uses system mixers which essentially prevent passthrough. Make sure your Windows settings are set for WASAPI exclusive mode as well.

Amazing...

I switch to WASAPI AMD HDMI device + exclusive mode and my DTS-ES movies work !!

So now basically all my movies work with bitstreaming (DD, DTS, DTS-ES and DTS MA).

(with DTS-ES movies I'm referring to those Lord Of The Rings and Star Wars movies)

EDIT: switching to the AE thread, because now I have also a question on AudioEngine ;-)


RE: [WINDOWS][PATCH]Bitstream output of HD audio formats - bluray - 2012-04-17 00:23

(2012-04-16 23:22)loekf Wrote:  I switch to WASAPI AMD HDMI device + exclusive mode and my DTS-ES movies work !!
Man, did you miss the screen shot in the first page? It clearly show WASAPI in OP first post......I posted the screen shot with Onkyo AVR in the 3rd page too.......

[Image: w99vlg.jpg]

I told you that there is nothing wrong with Onkyo........


RE: [WINDOWS][PATCH]Bitstream output of HD audio formats - loekf - 2012-04-17 01:44

Well, just started to use XBMC. Typical case of RTFM, or better said was too lazy to read through 125 pages in this thread.... sorry for that

Nothing wrong with Onkyo indeed, great value for money.


RE: [WINDOWS][PATCH]Bitstream output of HD audio formats - DDDamian - 2012-04-17 01:49

Hmmm...a little harsh there.


RE: [WINDOWS][PATCH]Bitstream output of HD audio formats - steeve23 - 2012-04-17 02:01

Just a quick question on the same theme as above, I tried using Wasapi, but got no end of problems (audio breakup mainly), but saw (a while back) here about using Directsound, been using it for a while, and I thought it worked, amp is
displaying correct symbols.

So is it working for me, or is an illusion (no sarcasm intended), will directsound work ok? I assumed as the amp has the correct pretty pretty lights, I was good?

Thanks,
Steve