Summary: | Mimetype - MPEG-2 TS and Matroska video files flagged as audio/vnd.dts.hd | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kfilemetadata | Reporter: | tagwerk19 |
Component: | general | Assignee: | Pinak Ahuja <pinak.ahuja> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | p.r.worrall |
Priority: | NOR | ||
Version: | 5.84.0 | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
tagwerk19
2021-08-05 15:02:56 UTC
This doesn't look like a KDE-specific issue, probably better reported at freedesktop.org: https://freedesktop.org/wiki/Software/shared-mime-info/ Please reset the status back to "Reported" if you know it's KDE specific. (In reply to Paul Worrall from comment #1) > ... better reported at freedesktop.org ... Done: https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/167 It impacts KDE as baloo depends on the mimetype to work out whether it extracts video specific metadata. See attachment, Synthetic test for video/mp2t https://bugs.kde.org/attachment.cgi?id=140645 This is a MPEG-2 TS file, zero'd out except for the bytes that flag that it was video/mp2t with embedded audio/vnd.dts.hd It should return a mimetype of video/mp2t but, seemingly depending on the Frameworks version, returns text/vnd.qt.linguist or audio/vnd.dts.hd It is an upstream issue, except for "which wrong mimetype" is returned. With Frameworks 5.85.0, returns text/vnd.qt.linguist, with 5.84.0, 5.83.0, 5.80.0, returns audio/vnd.dts.hd. Consider a curious edge case.... (In reply to tagwerk19 from comment #3) > It is an upstream issue... Patch... https://gitlab.freedesktop.org/xdg/shared-mime-info/-/commit/0678d7c3e7384dde48f2f17059e54bef1507fd69 > With Frameworks 5.85.0, returns text/vnd.qt.linguist, with 5.84.0, 5.83.0, > 5.80.0, returns audio/vnd.dts.hd. Consider a curious edge case ... No, not as clear cut. Not correlated with version of Frameworks |