Skip to content

Support DTS Express in Matroska#3226

Merged
copybara-service[bot] merged 2 commits into
androidx:mainfrom
nift4:dtsexpressinmkv
May 15, 2026
Merged

Support DTS Express in Matroska#3226
copybara-service[bot] merged 2 commits into
androidx:mainfrom
nift4:dtsexpressinmkv

Conversation

@nift4
Copy link
Copy Markdown
Contributor

@nift4 nift4 commented May 14, 2026

FFmpeg outputs DTS Express files with "DTS" codec ID, so we need to add it to the detection. That however is free because we must do the detection anyway for DTS-HD, and we can even reuse all the code needed for TS logic.

This is also a building block for a future commit detecting DTS-HD MA, and the util method is useful for a future commit for the MP4 extractor.

FFmpeg outputs DTS Express files with "DTS" codec ID, so we need to
add it to the detection. That however is free because we must do the
detection anyway for DTS-HD, and we can even reuse all the code
needed for TS logic.

This is also a building block for a future commit detecting DTS-HD MA,
and the util method is useful for a future commit for the MP4 extractor.
@FongMi
Copy link
Copy Markdown

FongMi commented May 15, 2026

@nift4 I hope that future versions of DTS-MA can be changed like this.
image
image

@nift4
Copy link
Copy Markdown
Contributor Author

nift4 commented May 15, 2026

@FongMi Yes, I'll do it once DTS Express is taken care of for MP4 and MKV. The reason is that changing this to a new MIME type will need some care in order to not break passthrough for Android TV devices, so I think it will be easier to review if it's seperated from the changes that are for DTS Express.

@FongMi
Copy link
Copy Markdown

FongMi commented May 15, 2026

@nift4 thanks,
My user has already tested it, and he said the amplifier can display the formats correctly, including DTS:X.

@copybara-service copybara-service Bot merged commit 3daf5d7 into androidx:main May 15, 2026
1 check passed
@nift4 nift4 deleted the dtsexpressinmkv branch May 15, 2026 15:35
@nift4
Copy link
Copy Markdown
Contributor Author

nift4 commented May 15, 2026

Thanks again @rohitjoins, I've uploaded the last shard of my original PR: #3229
After that I will probably look into a separate mime type for DTS-HD MA.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants