Support for the "MPEG Transport Stream" seem to be missing from the shared mime info. We got an upstream bug report filed against GIO that .ts files are incorrectly detected as "application/x-linguist" not "video/MP2T" ("dirac encoded video file"). Upstream bug report is https://bugzilla.gnome.org/show_bug.cgi?id=599347. More information on MPEG Transport Stream e.g. on http://en.wikipedia.org/wiki/MPEG_transport_stream
Created attachment 32902 [details] [review] proposed patch Patch attached. This is based on RFC 3555. It does not use the mask and big32 values as found in files magic database. This failed at least with the testcase provided in the bug-report mentioned in the OP. I cannot provide any test cases.
Duplicate of #14276. *** This bug has been marked as a duplicate of bug 14276 ***
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.