Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report extended channel count for audio formats with core/extended channels #2397

Closed
Omertron opened this issue Mar 16, 2015 · 1 comment
Closed

Comments

@Omertron
Copy link
Member

Original issue 2398 created by Omertron on 2012-04-05T00:58:08.000Z:

Using YAMJ 2.6.1 on Popcorn Hour C-200 models.

For a format such as DTS-HD Master Audio in MKV files, YAMJ is populating the XML file with most of the metadata referencing the track as a DTS-HD MA track, but is taking the number of channels from the 'core' channels rather than the 'extended' channels.

This means that DTS-HD MA 7.1 tracks are being flagged as 5.1 (which is the DTS core) rather than 7.1, despite being labelled as DTS-HD MA (which implies the extended track).

The relevant output from mediaInfo for a track like this would be:
Format : DTS
Format/Info : Digital Theater Systems
Format profile : MA / Core
Codec ID : A_DTS
Duration : 1h 40mn
Bit rate mode : Variable
Bit rate : 1 924 Kbps / 1 510 Kbps
Channel(s) : 8 channels / 6 channels
Channel positions : Front: L C R, Side: L R, Back: L R, LFE / Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 24 bits
Compression mode : Lossless / Lossy

The XML currently contains the following:
<audioCodec>DTS-HD (en)</audioCodec>
<codecs>
<audio count="1">
<codec bitrate="1923" channels="6" codecId="A_DTS" codecIdHint="UNKNOWN" format="DTS"
formatProfile="MA / Core"
formatVersion="UNKNOWN"
language="en"
langugageFull="English">DTS-HD</codec>
</audio>
</codecs>
<audioChannels>6</audioChannels>

Since everything in the XML references the full DTS-HD MA track rather than its DTS core, with the exception of the number of channels, I believe that the <channels> entry and also the channel count in the <codec> entry should both return the extended channel count.

I have found the same behaviour with some DTS-HD High Resolution Audio 6.1 tracks as well.

I guess the same would apply to TrueHD but I don't have any files with >5.1 channels to test and see how these behave.

A 6.1 DTS-HD HRA mediaInfo would look like:
Format : DTS
Format/Info : Digital Theater Systems
Format profile : HRA / Core
Codec ID : A_DTS
Duration : 1h 39mn
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

@Omertron
Copy link
Member Author

Comment #1 originally posted by Omertron on 2012-04-07T10:38:26.000Z:

This issue was closed by revision r3031.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant