official mime types

Ralph W. Reid rreid at sunset.net
Thu Jan 27 14:15:15 EST 2005


On Wed, Jan 26, 2005 at 06:43:00PM -0500, Chuck Hallenbeck wrote:
> Are there any official or preferred mime types referring to flac files?
> or to ogg/vorbis files? I have invented my own to use locally, but would
> rather use standard or recommended ones if there are such things.
> 
> Thanks,
> Chuck
> 

By using `gst-typefind` on flac and ogg files on my Slackware system,
the following types were produced:

audio/x-flac
application/ogg

I do not know why ogg files wind up listed as type 'application' while
other audio files are listed as type 'audio'.  Maybe some one more
knowledgeable on this topic can provide more info.

The `gst-typefind` program seems to want to work with some kind of X
interface, but I was able to get usable output from a text command
line as follows:

gst-typefind <filename> 2> /dev/null

where:
<filename> was the name of the file whose type was desired,
and '2> /dev/null' is used to direct the extraneous trash which seems
to be the result of the program trying to connect to a graphical
interface.

HTH, and have a _great_ day.

-- 
Ralph.  N6BNO.  Wisdom comes from central processing, not from I/O.
rreid at sunset.net  http://personalweb.sunset.net/~rreid
...passing through The City of Internet at the speed of light!
_PI = 4 * ARCTAN (1)




More information about the Speakup mailing list