← Back to team overview

registry team mailing list archive

[Bug 17165] Re: Ogg Video container files not supported in mime definitions

 

Launchpad has imported 10 comments from the remote bug at
http://bugs.freedesktop.org/show_bug.cgi?id=1002.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2004-08-06T12:48:05+00:00 Tomasek-etf wrote:

Hello!

1) I think there's missing support for .ogm files (OGG based videos with DIVx
streams inside). Any pln to support them?

2) There was a discussion (last month I think) on the theora mailing list about
separate extensions and mime-types for Ogg based audio and video files. The
conclusion was:

 a) officially only .ogg and application/ogg was supported, since this was
accepted by IETF, for BOTH audio and video.

 b) most people do want to have sepparate audio and video extensions/mime-types,
because both are opened by different players. Most people agreed on .ogv and
application/x-ogg-video (although some suggested .oggv as well). Some proposed
.oga resp. application/x-ogg-audio leaving .ogg for generally describing Ogg
streams.
So, my question is: since it seems, that (at least some) people will start using
.ogv for Theora files, would it make sense for the freedesktop.org mime-database
to support this?

Thanks!

Reply at: https://bugs.launchpad.net/shared-mime/+bug/17165/comments/0

------------------------------------------------------------------------
On 2004-09-18T12:26:37+00:00 Stéphane Loeuillet wrote:

well well well, the eternal debate between container and content

ogg can contain tags, audio stream (including vorbis), video stream (including
thora), subs
riff is a container too (avi/wav/mid), like matroska (mkv)
mpeg streams were pure before id3 shit came in and did a terrible mess
ogm is a bad hack from the windows world

Reply at: https://bugs.launchpad.net/shared-mime/+bug/17165/comments/1

------------------------------------------------------------------------
On 2004-09-18T12:35:17+00:00 Stéphane Loeuillet wrote:

see bug #397 about the same issue for asf (container) and wma/wmv (classic
extensions)

Reply at: https://bugs.launchpad.net/shared-mime/+bug/17165/comments/2

------------------------------------------------------------------------
On 2004-12-10T11:34:04+00:00 Christophe Fergeau wrote:

Created an attachment (id=1508)
proof of concept patch

This patch adds various glob patterns to try to fix what is explained in this
bug. However, there's still a problem with mime sniffing, ogm files will be
sniffed as application/ogg files :-/

Reply at: https://bugs.launchpad.net/shared-mime/+bug/17165/comments/3

------------------------------------------------------------------------
On 2005-01-18T02:54:45+00:00 Fabian wrote:

Hi!

At least the way ogg files are handled right now in xdg is wrong!
The file from shared-mime-info-0.15 /usr/share/mime/packages/freedesktop.org.xml
contains:

  <mime-type type="application/ogg">
    <comment>Ogg Vorbis audio</comment>
   [...]

And this is wrong! ogg is not Ogg Vorbis audio only e.g. ogg media streams
containing video get the same.

Please correct at least this error until a better solution is found.

thanks, Fabian

Reply at: https://bugs.launchpad.net/shared-mime/+bug/17165/comments/4

------------------------------------------------------------------------
On 2005-05-18T02:00:55+00:00 Christophe Fergeau wrote:

http://bugzilla.gnome.org/show_bug.cgi?id=302757 has comments related to this
issue, in particular magic patterns we could use (though I guess this is an ugly
hack, but it seems to work...)

Reply at: https://bugs.launchpad.net/shared-mime/+bug/17165/comments/6

------------------------------------------------------------------------
On 2005-05-21T06:41:53+00:00 j^ wrote:

to my idea was to use the mime magic paterns to match all known codecs 
and fallback to application/ogg if not known.
the problem with the attached version is that it matches "Ogg Multimedia"
in the list view until one selects the file. than it will do an exact match.
is this a bug in nautilus not using the priortiy?

---
  <mime-type type="application/ogg">
    <comment>Ogg Multimedia</comment>
    <magic priority="40">
      <match type="string" value="OggS" offset="0"/>
    </magic>
    <glob pattern="*.ogg"/>
  </mime-type>
  <mime-type type="audio/vorbis">
    <comment>Ogg Vorbis audio</comment>
    <magic priority="50">
      <match type="string" value="OggS" offset="0">
        <match type="string" value="\x01vorbis" offset="28"/>
      </match>
    </magic>
    <glob pattern="*.ogg"/>
  </mime-type>
  <mime-type type="audio/x-oggflac">
    <comment>Ogg FLAC audio</comment>
    <magic priority="50">
      <match type="string" value="OggS" offset="0">
        <match type="string" value="fLaC" offset="28"/>
      </match>
    </magic>
    <glob pattern="*.ogg"/>
  </mime-type>
  <mime-type type="audio/x-speex">
    <comment>Ogg Speex audio</comment>
    <magic priority="50">
      <match type="string" value="OggS" offset="0">
        <match type="string" value="Speex  " offset="28"/>
      </match>
    </magic>
    <glob pattern="*.ogg"/>
  </mime-type>
  <mime-type type="video/x-theora">
    <comment>Ogg Theora video</comment>
    <magic priority="50">
      <match type="string" value="OggS" offset="0">
        <match type="string" value="\x80theora" offset="28"/>
      </match>
    </magic>
    <glob pattern="*.ogg"/>
  </mime-type>
  <mime-type type="video/x-ogm">
    <comment>OGM video</comment>
    <magic priority="50">
      <match type="string" value="OggS" offset="0">
        <match type="string" value="video" offset="29"/>
      </match>
    </magic>
    <glob pattern="*.ogm"/>
  </mime-type>

Reply at: https://bugs.launchpad.net/shared-mime/+bug/17165/comments/7

------------------------------------------------------------------------
On 2005-12-02T09:01:48+00:00 Christian Neumair wrote:

Created an attachment (id=3969)
Committed patch

Patch that was committed to shared-mime-info, and fixes the issue together with
recent xdgmime updates.

Distributors: Don't blindly distribute it. Ensure that you also ship the recent
update-mime-database.c changes and Matthias Clasen's work on xdgmime if you
want to backport this one. It won't break, but doesn't improve the situation.

Reply at: https://bugs.launchpad.net/shared-mime/+bug/17165/comments/10

------------------------------------------------------------------------
On 2006-04-08T03:53:55+00:00 Sebastien Bacher wrote:

should that bug be marked as fixed?

Reply at: https://bugs.launchpad.net/shared-mime/+bug/17165/comments/12

------------------------------------------------------------------------
On 2006-04-08T05:54:24+00:00 Christian Neumair wrote:

Yes, thanks.

Reply at: https://bugs.launchpad.net/shared-mime/+bug/17165/comments/13


** Changed in: shared-mime
   Importance: Unknown => Wishlist

** Bug watch added: GNOME Bug Tracker #302757
   https://bugzilla.gnome.org/show_bug.cgi?id=302757

-- 
Ogg Video container files not supported in mime definitions
https://bugs.launchpad.net/bugs/17165
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for shared-mime.