Hydrogenaudio Forums

Hosted Forums => foobar2000 => Support - (fb2k) => Topic started by: flashgor on 2018-06-19 13:43:13

Title: Incorrect display of DTS-HD stream format from MKV
Post by: flashgor on 2018-06-19 13:43:13
When playing DTS-HS MA from an MKV container (with video stream) or MKA (audio only), UI element Selection Properties displays Codec: DTS, and Encoding: lossy.
The bitrate for MKV shows apparently cumulative with the video stream.
The same stream is demuxed as the dts file is displayed correctly, that is, Codec: DTS-HD (with profile), and Encoding: lossless.
Comparing the playback of streams from dts and mkv (mka) using the foo_bitcompare plugin did not reveal any differences.
On the working configuration of foobar2000, everything is the same.

Test configuration:
- Win7 SP1 x64;
- Foobar2000 1.4 beta 17 (portable);
- user-components folder:
   foo_bitcompare 2.1.1
   foo_input_dts 0.5.4;

Components report:
Spoiler (click to show/hide)

(https://hydrogenaud.io/index.php?action=dlattach;sa=tmpattach;attach=13198;topic=116150) (https://hydrogenaud.io/index.php?action=dlattach;sa=tmpattach;attach=13200;topic=116150) (https://hydrogenaud.io/index.php?action=dlattach;sa=tmpattach;attach=13202;topic=116150) (https://hydrogenaud.io/index.php?action=dlattach;sa=tmpattach;attach=13204;topic=116150)
Title: Re: Incorrect display of DTS-HD stream format from MKV
Post by: Rollin on 2018-06-20 11:45:27
@kode54 can please you look into this? Is it possible to make foo_input_dts to display correct info about DTS-HD when it is packed in MKV?
Title: Re: Incorrect display of DTS-HD stream format from MKV
Post by: kode54 on 2018-06-20 22:15:27
It's a limitation of the packet_decoder interface. I'm only allowed to detect the format from the first packet, and DTS-HD requires at least two packets, since the first packet, as far as the container is concerned, is the DTS compatibility header. It doesn't help that every input packet is alternating with DTS lossy data, which is also essential to the decoding process.
SimplePortal 1.0.0 RC1 © 2008-2019