https://bugs.kde.org/show_bug.cgi?id=440632

            Bug ID: 440632
           Summary: Mimetype - MPEG-2 TS and Matroska video files flagged
                    as audio/vnd.dts.hd
           Product: frameworks-kfilemetadata
           Version: 5.84.0
          Platform: Neon Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: pinak.ah...@gmail.com
          Reporter: tagwer...@innerjoin.org
  Target Milestone: ---

SUMMARY:

    A MPEG-2 TS or Matroska file, with embedded DTS HD audio, is flagged
    as audio/vnd.dts.hd

STEPS TO REPRODUCE:

    Download a .m2ts video that has embedded DTS HD audio, check with

        xdg-mime query filetype testfile.m2ts 

OBSERVED RESULTS

    The mimetype is shown as "audio/vnd.dts.hd". 

EXPECTED RESULTS

    The mimetype is shown as "video/mp2t"

SOFTWARE/OS VERSIONS

    Neon Testing

    Plasma : 5.22.4
    Frameworks : 5.85.0
    Qt : 5.15.5 

ADDITIONAL INFORMATION

    The same affects Matroska files with embedded DTS HD audio

        xdg-mime query filetype testfile.mkv

    shows a mimetype of "audio/vnd.dts.hd".

    Seems to be an issue with the "magic" for the DTS HD entry which has
    a priority "60" in freedesktop.org.xml, higher than that for MPEG-2 TS
    files (that have a priority of "50") or for Matroska files (that have
    the default priority of "50"), potentially also "application/x-matroska"
    and "video/webm"

    The container files, I suspect, need a higher priority than the DTS HD
    audio and the "video/x-matroska" entry should include sufficient "magic"
    so that a priority can be specified.

    If changing the priority of "video/x-matroska", the
    "application/x-matroska" and "video/webm" priorities may also need
    changing. I don't have test cases for the full range of formats.

    (Issue extracted from Bug 420939)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to