@Sebastien: thanks for asking about the magic. This made me running the
hard test described in last comment. Now I fixed the last false
positives.
To accomplish this I added another 2 bits to the magic mask to only
match if a transport stream is not scrambled. This is no big problem
because
You can read upstream how magic was determined. Basically I took the
proposal of Stanislav and adapted it after reading about mpeg headers on
rfc3555 and Wikipedia (details on
https://bugs.freedesktop.org/show_bug.cgi?id=14276#c7)
The attached sample file is a video/mp2t, recorded by a common
thank you for your work there, how did you determine the magic to use?
I've no files in that format to test that on so I'm a bit reluctant to
upload the change in lucid, it seems it's also not something requested a
lot seeing that the bug is the only opened on launchpad so far about the
issue
**
do you have any example of such video you could share there?
--
.ts files always get recognized as application/x-linguist and never as
video/mpeg (transport stream)
https://bugs.launchpad.net/bugs/502642
You received this bug notification because you are a member of Ubuntu
Bugs, which is
I submitted the final patch upstream a few weeks ago. No feedback yet.
Please help testing / committing it for Lucid LTS.
** Patch added: Patch to add support for video/mp2t (MPEG-2 transport streams)
http://launchpadlibrarian.net/41475509/freedesktop.org.xml-adding_video_mp2t.patch
** Tags
** Changed in: shared-mime-info
Status: Confirmed = In Progress
--
.ts files always get recognized as application/x-linguist and never as
video/mpeg (transport stream)
https://bugs.launchpad.net/bugs/502642
You received this bug notification because you are a member of Ubuntu
Bugs, which
** Changed in: shared-mime-info (Ubuntu)
Status: Triaged = In Progress
--
.ts files always get recognized as application/x-linguist and never as
video/mpeg (transport stream)
https://bugs.launchpad.net/bugs/502642
You received this bug notification because you are a member of Ubuntu
24690 has been marked as duplicate of 14276.
** Bug watch added: freedesktop.org Bugzilla #14276
https://bugs.freedesktop.org/show_bug.cgi?id=14276
** Changed in: shared-mime-info
Status: Invalid = Unknown
** Changed in: shared-mime-info
Remote watch: freedesktop.org Bugzilla #24690
** Changed in: shared-mime-info
Status: Unknown = Confirmed
--
.ts files always get recognized as application/x-linguist and never as
video/mpeg (transport stream)
https://bugs.launchpad.net/bugs/502642
You received this bug notification because you are a member of Ubuntu
Bugs, which is
** Changed in: shared-mime-info
Status: Confirmed = Invalid
--
.ts files always get recognized as application/x-linguist and never as
video/mpeg (transport stream)
https://bugs.launchpad.net/bugs/502642
You received this bug notification because you are a member of Ubuntu
Bugs, which is
** Changed in: shared-mime-info
Status: Unknown = Confirmed
--
.ts files always get recognized as application/x-linguist and never as
video/mpeg (transport stream)
https://bugs.launchpad.net/bugs/502642
You received this bug notification because you are a member of Ubuntu
Bugs, which is
Thank you for your bug report
** Changed in: shared-mime-info (Ubuntu)
Importance: Undecided = Low
** Changed in: shared-mime-info (Ubuntu)
Status: New = Triaged
--
.ts files always get recognized as application/x-linguist and never as
video/mpeg (transport stream)
** Attachment added: ~/.local/share/mime/packages/mpeg-ts.xml
http://launchpadlibrarian.net/37384504/mpeg-ts.xml
** Attachment added: Dependencies.txt
http://launchpadlibrarian.net/37384505/Dependencies.txt
** Attachment added: XsessionErrors.txt
13 matches
Mail list logo