[WINDOWS][PATCH]Bitstream output of HD audio formats

  Thread Rating:
  • 17 Votes - 4.76 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Closed
bluray Offline
Posting Freak
Posts: 8,316
Joined: May 2011
Reputation: 145
Post: #1276
If you want to know what audio is included in your blu-ray disc movie, you can verify it on this site- Blu-ray Disc Statistics

or

MediaInfo

>Alienware X51- do it all HTPC
>Simplify XBMC configurations
>HOW-TO Bitstreaming using XBMC
I refused to watch movie without bitstreaming HD audio!
find
Phantom_Zone Offline
Donor
Posts: 56
Joined: Feb 2012
Reputation: 14
Location: NI
Post: #1277
(2012-04-18 23:21)steelman1991 Wrote:  
(2012-04-18 22:31)Phantom_Zone Wrote:  
(2012-04-18 21:53)OtisPresley Wrote:  This would indicate a problem with LPCM then. All of the Pirates of the Caribbean movies have LPCM audio tracks on the Blu-Ray release...mine all do anyway, and my receiver indicates MULTI CHANNEL when playing them meaning that it detected LPCM. Kill Bill, 300, Hidalgo, and 3:10 to Yuma have LPCM tracks as well if you have any of those to try and see if they exhibit the same behavior.

If your receiver supports DTS-MA and LPCM, make sure under Settings>>System>>Audio output, that you have:
  • receiver supports: DTS-HD Master Audio
  • receiver gets other DTS formats: decoded(LPCM)

Ah ok...Kill Bill Part 1 plays stereo, 300 Dolby True HD, Hidalgo I don't have and yes, 3:10 to Yuma plays stereo...

My settings are right and my amp does support LPCM! (Pioneer SC-LX85)

Anyone else having this issue? (or am I dimly missing something!)
Check that your windows sound settings are set to 5.1 (or whatever config you have) Its the only way I could effectively playback lpcm and flac tracks as they cannot be bitstreamed AFAIK, but require decoding before being passed to the receiver as LPCM. No doubt DanielaE or DDDamien will confirm/correct this info in due course.

Great work you two by the way

Ah dim it is then Rofl

I recently reloaded Windows on my main HTPC and forgot to do that!!! Many thanks! Nod
find
DanielaE Offline
Team-XBMC Member
Posts: 78
Joined: Dec 2011
Reputation: 30
Location: Germany
Post: #1278
(2012-04-18 23:21)steelman1991 Wrote:  Check that your windows sound settings are set to 5.1 (or whatever config you have) Its the only way I could effectively playback lpcm and flac tracks as they cannot be bitstreamed AFAIK, but require decoding before being passed to the receiver as LPCM
confirmed

ciao, Dani

AMD Fusion E-350/Win 8/custom XBMC, Yamaha RX-V1900, Pioneer DV-LX50, custom speakers
find
DanielaE Offline
Team-XBMC Member
Posts: 78
Joined: Dec 2011
Reputation: 30
Location: Germany
Post: #1279
(2012-04-18 22:03)serieofilo Wrote:  I'm using RC2 version with the HD patch
RC2 is obsolete btw. The most recent build is post-Eden.
serieofilo Wrote:- Support DTS-HD Master Audio (is this the best sound my receiver accepts, isn'it?)
- Other DTS as decoded (LPCM) (I suppose it doesn't matter because of the other setting)
Yes, and yes

ciao, Dani

AMD Fusion E-350/Win 8/custom XBMC, Yamaha RX-V1900, Pioneer DV-LX50, custom speakers
find
minimoe Offline
Senior Member
Posts: 225
Joined: Feb 2011
Reputation: 3
Post: #1280
(2012-04-18 19:25)DanielaE Wrote:  I'm not exactly a fan of log files when we can do better than that. I'm always getting the impression this is a bad sequel of the movie The Men Who Stare at Goats: The Coders Who Stare at Logs, that is.

As before: make snippets of these media files available to me (after checking that those snippets exhibit the same faulty behaviour on your system as the full files) and I am going to look into that. I need to reproduce issues on my development system under control of the debugger to get a better understanding of what's going on. It's as easy as that.

I made a few sample but, unfortunately, I can't reproduce the problem.

I believe the problem occurs when the DVD switches from the menu (with DTS audio) to the main movie (DTS-ES audio). If I go straight to the main movie, it plays fine.
Oh well, don't lose any sleep over it. As I said, it happens only with this particular DVD and I have the movie on Bluray anyway Smile

And a final note: DolbyDigital EX shows as plain DolbyDigital in OSD and AVR. Is this normal?

[Image: episode-thin-fanart@2x.jpg] [Image: movie-thin-fanart@2x.jpg]
Panasonic 42G10 ♦ Onkyo TX SR507 ♦ Teufel Concept R2 ♦ HTPC (Intel Q6600/ATI5450/Openelec 3.0.3)
find
m0bbed Offline
Member
Posts: 56
Joined: Jun 2009
Reputation: 0
Post: #1281
Hi,
is the "XBMCSetup-11.0+HD-audio Windows installer" based on the final Version of XBMC 11.0 Eden?

regards
m0bbed
find
SkItZo Offline
Junior Member
Posts: 37
Joined: Feb 2010
Reputation: 0
Post: #1282
Once again, Thanks for all the outstanding work done on this patch guys
find
DanielaE Offline
Team-XBMC Member
Posts: 78
Joined: Dec 2011
Reputation: 30
Location: Germany
Post: #1283
(2012-04-19 14:30)m0bbed Wrote:  is the "XBMCSetup-11.0+HD-audio Windows installer" based on the final Version of XBMC 11.0 Eden?
(2012-04-17 19:48)DanielaE Wrote:  cut off the very latest Eden branch (mostly translation changes on top of official Eden)
i.e. Nod

ciao, Dani

AMD Fusion E-350/Win 8/custom XBMC, Yamaha RX-V1900, Pioneer DV-LX50, custom speakers
find
serieofilo Offline
Member
Posts: 65
Joined: Sep 2011
Reputation: 0
Location: Barcelona, Spain
Post: #1284
(2012-04-19 07:28)DanielaE Wrote:  
(2012-04-18 22:03)serieofilo Wrote:  I'm using RC2 version with the HD patch
RC2 is obsolete btw. The most recent build is post-Eden.
serieofilo Wrote:- Support DTS-HD Master Audio (is this the best sound my receiver accepts, isn'it?)
- Other DTS as decoded (LPCM) (I suppose it doesn't matter because of the other setting)
Yes, and yes

OK. Thanks. I had "XBMCSetup-11.0+HD-audio-20120325-dx.exe" as the latest version and I've seen that some days ago has appeared "XBMCSetup-11.0+HD-audio-20120417-2f965ac-dx.exe". I'll give it a try. I'll try too the MKV slowness.

Desktop & HTPC System:
Intel Core 2 Quad Q9450 @ 2.66GHz || 4 x 2GB DDR2-1066 Kingston @ 1066MHz
Sapphire HD 6450 1GB || Dell UltraSharp 2009W @ 1680x1050 (using DVI) || Philips LCD 42PFL8404H @ 1920x1080 (using HDMI through Yamaha SR-301)
Yamaha YHT-S401 (SR-301 Receiver + NS-BR301 Speaker)
Hauppauge WinTV-HVR-4000
find
DanielaE Offline
Team-XBMC Member
Posts: 78
Joined: Dec 2011
Reputation: 30
Location: Germany
Post: #1285
As usual, my latest build is linked in post #1 of this thread. That build is the only one that I care about. This is a development thread in the first place ...

ciao, Dani

AMD Fusion E-350/Win 8/custom XBMC, Yamaha RX-V1900, Pioneer DV-LX50, custom speakers
find
Nimo Offline
Senior Member
Posts: 224
Joined: Nov 2011
Reputation: 3
Location: Germany
Post: #1286
i tried the latest build with an intel hd 2000 and it works well. and I find stereo sound clearer.

A/V: Sony KDL52W5500|Yamaha RX-V471|Elac Cinema XL Center|4x Elac Cinema 2 Sat|REL Strata II|Elac Sub 101 ESP
HTPC: Realan E-Q8|ASRock Z77E-ITX|iMon inside mod|i3-3225+HD4k|8GB 2133 RAM|60GB Vertex3|120W Pico PSU|Harmony 650|p8 USB-CEC|Win7 x64|XBMC 12alpha|Skin CE v2 SVN
Server: Raid 5 - 8x 2TB WD AV-GP|Win7 x64|HighPoint 2680
find
Roman_V_M Offline
Fan
Posts: 548
Joined: Jun 2011
Reputation: 14
Location: Kyiv, Ukraine
Post: #1287
Here's Russian translation for the latest Eden including strings from HD audio build:
http://dl.dropbox.com/u/24356082/XBMC-HD_strings_RU.zip

AMD A4-3300 + AsRock A75M-ITX
XBMC-DSplayer 13.1 (custom build) on Windows 7
find
serieofilo Offline
Member
Posts: 65
Joined: Sep 2011
Reputation: 0
Location: Barcelona, Spain
Post: #1288
Hi,

I'm using latest version of DanielaE (the build from April 17th) and I get the following error message:

Microsoft Visual C++ Runtime Library
Program: D:\SOFT\XBMC\XBMC.exe
File: libavformat/utils.c
Line: 2195
Expression: s->chapters[i]->start<=s->chapters[i+1]->start

After enabling debug and read xmbc.log I've found that the problem was the latest video file added to a source directory while trying to scan for new content.

The properties of this file are the following:

Code:
General
Format                         : MPEG-4
Format profile                 : Base Media
Codec ID                       : isom
File size                      : 1.37 GiB
Duration                       : 2h 12mn
Overall bit rate               : 1 478 Kbps
Writing application            : Lavf54.1.100

Video
ID                             : 1
Format                         : AVC
Format/Info                    : Advanced Video Codec
Format profile                 : Main@L4.1
Format settings, CABAC         : Yes
Format settings, ReFrames      : 2 frames
Codec ID                       : avc1
Codec ID/Info                  : Advanced Video Coding
Duration                       : 2h 12mn
Bit rate                       : 1 217 Kbps
Width                          : 1 280 pixels
Height                         : 536 pixels
Display aspect ratio           : 2.40:1
Frame rate mode                : Constant
Frame rate                     : 23.976 fps
Color space                    : YUV
Chroma subsampling             : 4:2:0
Bit depth                      : 8 bits
Scan type                      : Progressive
Bits/(Pixel*Frame)             : 0.074
Stream size                    : 1.13 GiB (82%)
Writing library                : x264 core 120 r2164
Encoding settings              : cabac=1 / ref=2 / deblock=1:0:0 / analyse=0x1:0x131 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=0 / b_adapt=1 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=230 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=1217 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=24000 / vbv_bufsize=24000 / nal_hrd=none / ip_ratio=1.40 / aq=1:1.00
Language                       : English

Audio
ID                             : 2
Format                         : AAC
Format/Info                    : Advanced Audio Codec
Format profile                 : LC
Codec ID                       : 40
Duration                       : 2h 12mn
Bit rate mode                  : Constant
Bit rate                       : 256 Kbps
Channel(s)                     : 6 channels
Channel positions              : Front: L C R, Side: L R, LFE
Sampling rate                  : 48.0 KHz
Compression mode               : Lossy
Stream size                    : 243 MiB (17%)
Language                       : English

Menu
00:00:00.000                   : 00:00:00.000 / 00:00:00.000
00:04:41.907                   : 00:04:41.907 / 00:04:41.907
00:11:28.897                   : 00:11:28.897 / 00:11:28.897
00:20:01.951                   : 00:20:01.951 / 00:20:01.951
00:27:35.320                   : 00:27:35.320 / 00:27:35.320
00:33:28.173                   : 00:33:28.173 / 00:33:28.173
00:38:18.087                   : 00:38:18.087 / 00:38:18.087
00:44:46.100                   : 00:44:46.100 / 00:44:46.100
00:51:37.219                   : 00:51:37.219 / 00:51:37.219
00:56:05.153                   : 00:56:05.153 / 00:56:05.153
01:02:50.183                   : 01:02:50.183 / 01:02:50.183
01:09:17.820                   : 01:09:17.820 / 01:09:17.820
01:16:32.379                   : 01:16:32.379 / 01:16:32.379
01:22:18.517                   : 01:22:18.517 / 01:22:18.517
01:31:17.055                   : 01:31:17.055 / 01:31:17.055
01:35:57.377                   : 01:35:57.377 / 01:35:57.377
01:42:49.914                   : 01:42:49.914 / 01:42:49.914
01:51:01.780                   : 01:51:01.780 / 01:51:01.780
01:58:26.391                   : 01:58:26.391 / 01:58:26.391
02:05:58.843                   : 02:05:58.843 / 02:05:58.843

Surely is nothing related to the DanielaE build but a bug in XBMC for this file so my question is the following: do you know why XBMC is crashing? It seems something about the chapters or the format. But I've tried to convert to MKV (using Handbrake) and I cannot get the audio off the MP4 file. Any idea would be very appreciated.

Thanks.

Desktop & HTPC System:
Intel Core 2 Quad Q9450 @ 2.66GHz || 4 x 2GB DDR2-1066 Kingston @ 1066MHz
Sapphire HD 6450 1GB || Dell UltraSharp 2009W @ 1680x1050 (using DVI) || Philips LCD 42PFL8404H @ 1920x1080 (using HDMI through Yamaha SR-301)
Yamaha YHT-S401 (SR-301 Receiver + NS-BR301 Speaker)
Hauppauge WinTV-HVR-4000
find
bluray Offline
Posting Freak
Posts: 8,316
Joined: May 2011
Reputation: 145
Post: #1289
(2012-04-22 01:05)serieofilo Wrote:  Hi,

I'm using latest version of DanielaE (the build from April 17th) and I get the following error message:

Microsoft Visual C++ Runtime Library
Program: D:\SOFT\XBMC\XBMC.exe
File: libavformat/utils.c
Line: 2195
Expression: s->chapters[i]->start<=s->chapters[i+1]->start

Thanks.
Your HTPC might need this- The Microsoft Visual C++ 2010 Redistributable Package

>Alienware X51- do it all HTPC
>Simplify XBMC configurations
>HOW-TO Bitstreaming using XBMC
I refused to watch movie without bitstreaming HD audio!
find
serieofilo Offline
Member
Posts: 65
Joined: Sep 2011
Reputation: 0
Location: Barcelona, Spain
Post: #1290
Hi bluray,

Is not related to the runtime. If I move the MP4 outside of the library XBMC doesn't crash. I have the following runtimes installed:

- Microsoft Visual C++ 2008 redistributable - x64 9.0.30729.6161
- Microsoft Visual C++ 2008 redistributable - x86 9.0.30729.6161
- Microsoft Visual C++ 2010 redistributable - x64 10.0.30319
- Microsoft Visual C++ 2010 redistributable - x86 10.0.30319

All of them are the latest patched versions of the redistributables.

In fact, if I use Handbrake v0.9.5 for converting I get the error "Your source may be copy protected, badly mastered or in a format which HandBrake does not support". If I use v0.9.6 then I can convert to MKV but I can't see the audio in the MP4 file so the final MKV gets no audio. I'll post a question in the HandBrake forums for converting but I'm interested in knowing why XBMC can't use this file if I can play it with WMP or MPC-HC.

Thanks.

Desktop & HTPC System:
Intel Core 2 Quad Q9450 @ 2.66GHz || 4 x 2GB DDR2-1066 Kingston @ 1066MHz
Sapphire HD 6450 1GB || Dell UltraSharp 2009W @ 1680x1050 (using DVI) || Philips LCD 42PFL8404H @ 1920x1080 (using HDMI through Yamaha SR-301)
Yamaha YHT-S401 (SR-301 Receiver + NS-BR301 Speaker)
Hauppauge WinTV-HVR-4000
(This post was last modified: 2012-04-22 09:51 by serieofilo.)
find
Thread Closed