BUG - Dolby Digital 5.0 .mkv shows as 4.1 in default skin

  Thread Rating:
  • 1 Votes - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
flashy_cat Offline
Junior Member
Posts: 4
Joined: Nov 2013
Reputation: 0
Location: England
Post: #1
Apologies if posted in wrong section, first time poster.

As per the title, a DVD rip of "The Corrs Unplugged" which has a dolby digital 5.0 audio track is displayed as containing a 4.1 audio track. I'm assuming 5.0 is pretty rare as DVDs go, hence perhaps why this hasn't come up before?

Many thanks to the developers and all who contribute to xbmc.
find quote
Memphiz Offline
Team-Kodi Developer
Posts: 12,168
Joined: Feb 2011
Reputation: 118
Location: germany
Post: #2
Is this a cosmetic Problem or has it any issues?

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
find quote
flashy_cat Offline
Junior Member
Posts: 4
Joined: Nov 2013
Reputation: 0
Location: England
Post: #3
I don't have any sort of surround channel level meter/visualiser, but MediaInfo for Mac OS seems to confirm the correct 5.0 channels within the .mkv file. The file seems to sound as you would expect so I think it's mainly a cosmetic issue.

As a software engineering graduate (without seeing the source code), it's almost as if the display algorithm is:

display (numChannels -1)".1"

if that makes sense Smile
find quote
Ned Scott Offline
Team-Kodi Wiki Guy
Posts: 23,517
Joined: Jan 2011
Reputation: 307
Location: Arizona, USA
Post: #4
As far as the files in the Confluence skin, it does seem to assume that 5 channels equals the "4.1" image flag. There's no image for "5.0".

https://github.com/xbmc/xbmc/tree/master...ging/audio

So one hopes this is only a cosmetic issue :)

You can make easy links to the XBMC wiki using double brackets around common XBMC words: [[debug log]] = debug log, [[Video library]] = Video library, [[SMB]] = SMB , [[userdata]] = userdata, etc
find quote
Sunflux Offline
Senior Member
Posts: 123
Joined: Mar 2013
Reputation: 2
Post: #5
Hmm. Seems that this cosmetic issue still stands in all versions!
(This post was last modified: 2014-12-29 16:41 by Sunflux.)
find quote
Ned Scott Offline
Team-Kodi Wiki Guy
Posts: 23,517
Joined: Jan 2011
Reputation: 307
Location: Arizona, USA
Post: #6
It will continue to do so until someone has time and interest in coding a way for the software to make a distinction between 5.0 and 4.1.

You can make easy links to the XBMC wiki using double brackets around common XBMC words: [[debug log]] = debug log, [[Video library]] = Video library, [[SMB]] = SMB , [[userdata]] = userdata, etc
find quote
Sunflux Offline
Senior Member
Posts: 123
Joined: Mar 2013
Reputation: 2
Post: #7
But why can't this be distinguished? The "codec info" screen clearly shows the correct 5.0 for audio format. Is that information simply not available outside of that one screen?
find quote
Ned Scott Offline
Team-Kodi Wiki Guy
Posts: 23,517
Joined: Jan 2011
Reputation: 307
Location: Arizona, USA
Post: #8
I'm not a programmer, so I do not know the exact details.

You can make easy links to the XBMC wiki using double brackets around common XBMC words: [[debug log]] = debug log, [[Video library]] = Video library, [[SMB]] = SMB , [[userdata]] = userdata, etc
find quote
Hitcher Online
Skilled Skinner
Posts: 11,366
Joined: Aug 2007
Reputation: 115
Location: Eastleigh, UK
Post: #9
Skins can only base the image to display on the number of channels but we don't know if there's a .1 channel or not hence the reason 5 channels is assumed to be 4.1.

Quote:ListItem.AudioChannels Shows the number of audio channels of the currently selected video (possible values: 0, 1, 2, 4, 5, 6, 8)

Looks like there's a need to define the .1 channel in the future -

Quote:Although commonly associated with the 5.1 channel configuration, Dolby Digital allows a number of different channel selections. The options are:
Mono (center only)
2-channel stereo (left + right), optionally carrying matrixed Dolby Surround
3-channel stereo (left, center, right)
2-channel stereo with mono surround (left, right, surround)
3-channel stereo with mono surround (left, center, right, surround)
4-channel quadraphonic (left, right, left surround, right surround)
5-channel surround (left, center, right, left surround, right surround)
These configurations optionally include the extra low-frequency effects (LFE) channel. The last two with stereo surrounds optionally use Dolby Digital EX matrix encoding to add an extra Rear Surround channel.
Many Dolby Digital decoders are equipped with downmixing to distribute encoded channels to speakers. This includes such functions as playing surround information through the front speakers if surround speakers are unavailable, and distributing the center channel to left and right if no center speaker is available. When outputting to separate equipment over a 2-channel connection, a Dolby Digital decoder can optionally encode the output using Dolby Surround to preserve surround information.
The '.1' in 5.1, 7.1 etc. refers to the LFE channel, which is also a discrete channel.
find quote
Sunflux Offline
Senior Member
Posts: 123
Joined: Mar 2013
Reputation: 2
Post: #10
Okay, I guess just add that to the general "request" heap!

For some reason I find I have more instances of 5.0 than 4.1... although both are rare.
find quote