[vorbis-dev] file magic for Ogg, Vorbis?
Forever shall I be.
zinx at magenet.net
Tue Jul 17 01:39:49 PDT 2001
On Mon, Jul 16, 2001 at 07:02:35PM -0700, Jeremy C. Reed wrote:
> I am trying to figure out file(1) magic(1) for Ogg and Vorbis.
> (I am using file from NetBSD 1.5.1.)
>
> Currently I have:
>
> 0 string OggS Ogg data
> >29 string vorbis \b, Vorbis audio
>
[snip]
>
> Does anyone already have this file magic?
I made some..
0 string OggS Ogg bitstream data
>29 string vorbis \b, Vorbis compressed audio
>>40 lelong x \b, %d Hz
# MIME types
0 string OggS
>29 string vorbis \baudio/x-vorbis
>29 string !vorbis \bapplication/x-ogg
The mime type is a bit odd, because I didn't know how to really do it..
>
> In addition, I am going to do magic.mime also. Is "audio/vorbis" okay?
>
> What if OggS doesn't have a keyword "vorbis" (or other) do I use
> "application/ogg" mime type?
>
[snip]
>
> Any suggestions of other Ogg mime types names?
i think audio/vorbis and application/ogg are in the process of getting
approved..
>
> Thanks,
>
> Jeremy C. Reed
> http://www.reedmedia.net/
--
Zinx Verituse
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Vorbis-dev
mailing list