[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-xdg
Subject: Re: About mimetypes and action definitions
From: Ilmari Heikkinen <kig () misfiring ! net>
Date: 2004-12-25 11:08:05
Message-ID: 400E3821-5665-11D9-89CB-000A95CD3934 () misfiring ! net
[Download RAW message or body]
On 22.12.2004, at 20:35, Christophe Fergeau wrote:
> mime types aren't really flexible enough to describe the content of a
> multimedia container (like ogg or avi) which can contain several video
> or audio streams encoded in different formats.
A good point.
How to fix this? It seems to be a common problem. Directories,
tarballs, media containers, device files, xml -- all these live in a
sort of "don't care"-limbo. New magic to handle those? "This is an
appdir, that's a usb thumbdrive, that tarball contains an installable
program (INSTALL, ./configure, Makefile..), these xmls use that xml
schema, marking as text/xml/http://foo/bar/schema.xml". It doesn't have
to be perfect, mime detection as is isn't perfect either, but it _is_
useful.
Re: media files, could ask e.g. gstreamer about what the multimedia
container really is. Getting subclasses such as application/ogg/(video:
xvid, audio: vorbis), and the actual stream formats can then be
described.
Then again, the easiest way to go with media files is to mark the
things the format is usually used for and trust the handling programs
to figure it out.
-Ilmari
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic