Page 1 of 1

Differentiate DTS vs. DTS-HD

Posted: 01 Oct 2016, 15:38
by Draik
I'm using OS X 10.11.5, Filebot 4.7.2 (4210) (Latest on the App Store)

When using the expression {ac}, the software does not seem to differentiate between DTS & DTS-HD.

Is there another expression to detect that?

Re: Differentiate DTS vs. DTS-HD

Posted: 01 Oct 2016, 16:19
by rednoah
Can you detect that based on the MediaInfo available to FileBot? If yes, then it's possible for FileBot as well.

Image

Re: Differentiate DTS vs. DTS-HD

Posted: 01 Oct 2016, 16:58
by Draik
I was able to find it under {audio[0].codec}.

Code: Select all

Format	DTS
Format/Info	Digital Theater Systems
Format_Commercial	DTS
Format_Profile	MA / ES Matrix / Core
Format_Settings_Mode	16
Format_Settings_Endianness	Big
CodecID	A_DTS
Codec	DTS-HD
Codec/String	DTS-HD
Codec/Family	DTS
Duration	6112758.000000
Duration/String	1 h 41 min
Duration/String1	1 h 41 min 52 s 758 ms
Duration/String2	1 h 41 min
Duration/String3	01:41:52.758
Duration/String4	01:41:36:47
Duration/String5	01:41:52.758 (01:41:36:47)
BitRate_Mode	VBR / CBR / CBR
BitRate_Mode/String	Variable / Constant / Constant
BitRate	2378965 / 1509000 / 1509000
BitRate/String	2 379 kb/s / 1 509 kb/s / 1 509 kb/s
Channel(s)	8 / 7 / 6
Channel(s)/String	8 channels / 7 channels / 6 channels
ChannelPositions	Front: L C R, Side: L R, Back: L R, LFE / Front: L C R, Side: L R, Back: C, LFE / Front: L C R, Side: L R, LFE
ChannelPositions/String2	3/2/2.1 / 3/2/1.1 / 3/2/0.1
ChannelLayout	 / C L R Ls Rs Cs LFE / C L R Ls Rs LFE
SamplesPerFrame	512
SamplingRate	48000
SamplingRate/String	48.0 kHz
FrameRate	93.750
FrameRate/String	93.750 FPS (512 spf)
Resolution	16
Resolution/String	16 bits
BitDepth	16
BitDepth/String	16 bits
Compression_Mode	Lossless / Lossy / Lossy
Compression_Mode/String	Lossless / Lossy / Lossy
Delay	0
Delay/String3	00:00:00.000
Delay_Source	Container
Delay_Source/String	Container
Video_Delay	0
Video_Delay/String3	00:00:00.000
Video0_Delay	0
Video0_Delay/String3	00:00:00.000
StreamSize	1817754940
StreamSize/String	1.69 GiB (18%)
StreamSize/String1	2 GiB
StreamSize/String2	1.7 GiB
StreamSize/String3	1.69 GiB
StreamSize/String4	1.693 GiB
StreamSize/String5	1.69 GiB (18%)
StreamSize_Proportion	0.17591
Language	en
Language/String	English
Language/String1	English
Language/String2	en
Language/String3	eng
Language/String4	en
Default	Yes
Default/String	Yes
Forced	No
Forced/String	No
Edit:
But I have to use {audio[0].codec.replace('/',"-")} due to "Atmos / TrueHD" creating folders on Mac.