vorbis (267897) | vorbis (275698) |
---|---|
1 2#------------------------------------------------------------------------------ | 1 2#------------------------------------------------------------------------------ |
3# $File: vorbis,v 1.18 2014/04/30 21:41:02 christos Exp $ | 3# $File: vorbis,v 1.20 2014/09/23 16:35:08 christos Exp $ |
4# vorbis: file(1) magic for Ogg/Vorbis files 5# 6# From Felix von Leitner <leitner@fefe.de> 7# Extended by Beni Cherniavsky <cben@crosswinds.net> 8# Further extended by Greg Wooledge <greg@wooledge.org> 9# 10# Most (everything but the number of channels and bitrate) is commented 11# out with `##' as it's not interesting to the average user. The most --- 6 unchanged lines hidden (view full) --- 18# to be made relative to the search). In any case, if the file has ID3 19# tags, the ID3 information will be printed, not the Ogg information, 20# so until that's fixed, this doesn't matter. 21# FIXME[2]: Disable the above for now, since search assumes text mode. 22# 23# --- Ogg Framing --- 24#0 search/1000 OggS Ogg data 250 string OggS Ogg data | 4# vorbis: file(1) magic for Ogg/Vorbis files 5# 6# From Felix von Leitner <leitner@fefe.de> 7# Extended by Beni Cherniavsky <cben@crosswinds.net> 8# Further extended by Greg Wooledge <greg@wooledge.org> 9# 10# Most (everything but the number of channels and bitrate) is commented 11# out with `##' as it's not interesting to the average user. The most --- 6 unchanged lines hidden (view full) --- 18# to be made relative to the search). In any case, if the file has ID3 19# tags, the ID3 information will be printed, not the Ogg information, 20# so until that's fixed, this doesn't matter. 21# FIXME[2]: Disable the above for now, since search assumes text mode. 22# 23# --- Ogg Framing --- 24#0 search/1000 OggS Ogg data 250 string OggS Ogg data |
26!:mime application/ogg | |
27>4 byte !0 UNKNOWN REVISION %u 28##>4 byte 0 revision 0 29>4 byte 0 30##>>14 lelong x (Serial %lX) 31# non-Vorbis content: FLAC (Free Lossless Audio Codec, http://flac.sourceforge.net) 32>>28 string \x7fFLAC \b, FLAC audio 33# non-Vorbis content: Theora | 26>4 byte !0 UNKNOWN REVISION %u 27##>4 byte 0 revision 0 28>4 byte 0 29##>>14 lelong x (Serial %lX) 30# non-Vorbis content: FLAC (Free Lossless Audio Codec, http://flac.sourceforge.net) 31>>28 string \x7fFLAC \b, FLAC audio 32# non-Vorbis content: Theora |
33!:mime audio/ogg |
|
34>>28 string \x80theora \b, Theora video | 34>>28 string \x80theora \b, Theora video |
35!:mime video/ogg |
|
35# non-Vorbis content: Kate | 36# non-Vorbis content: Kate |
36>>28 string \x80kate\0\0\0\0 \b, Kate | 37>>28 string \x80kate\0\0\0\0 \b, Kate (Karaoke and Text) 38!:mime application/ogg |
37>>>37 ubyte x v%u 38>>>38 ubyte x \b.%u, 39>>>40 byte 0 utf8 encoding, 40>>>40 byte !0 unknown character encoding, 41>>>60 string >\0 language %s, 42>>>60 string \0 no language set, 43>>>76 string >\0 category %s 44>>>76 string \0 no category set 45# non-Vorbis content: Skeleton 46>>28 string fishead\0 \b, Skeleton | 39>>>37 ubyte x v%u 40>>>38 ubyte x \b.%u, 41>>>40 byte 0 utf8 encoding, 42>>>40 byte !0 unknown character encoding, 43>>>60 string >\0 language %s, 44>>>60 string \0 no language set, 45>>>76 string >\0 category %s 46>>>76 string \0 no category set 47# non-Vorbis content: Skeleton 48>>28 string fishead\0 \b, Skeleton |
49!:mime video/ogg |
|
47>>>36 short x v%u 48>>>40 short x \b.%u 49# non-Vorbis content: Speex 50>>28 string Speex\ \ \ \b, Speex audio | 50>>>36 short x v%u 51>>>40 short x \b.%u 52# non-Vorbis content: Speex 53>>28 string Speex\ \ \ \b, Speex audio |
54!:mime audio/ogg |
|
51# non-Vorbis content: OGM 52>>28 string \x01video\0\0\0 \b, OGM video | 55# non-Vorbis content: OGM 56>>28 string \x01video\0\0\0 \b, OGM video |
57!:mime video/ogg |
|
53>>>37 string/c div3 (DivX 3) 54>>>37 string/c divx (DivX 4) 55>>>37 string/c dx50 (DivX 5) 56>>>37 string/c xvid (XviD) 57# --- First vorbis packet - general header --- 58>>28 string \x01vorbis \b, Vorbis audio, | 58>>>37 string/c div3 (DivX 3) 59>>>37 string/c divx (DivX 4) 60>>>37 string/c dx50 (DivX 5) 61>>>37 string/c xvid (XviD) 62# --- First vorbis packet - general header --- 63>>28 string \x01vorbis \b, Vorbis audio, |
64!:mime audio/ogg |
|
59>>>35 lelong !0 UNKNOWN VERSION %u, 60##>>>35 lelong 0 version 0, 61>>>35 lelong 0 62>>>>39 ubyte 1 mono, 63>>>>39 ubyte 2 stereo, 64>>>>39 ubyte >2 %u channels, 65>>>>40 lelong x %u Hz 66# Minimal, nominal and maximal bitrates specified when encoding --- 52 unchanged lines hidden --- | 65>>>35 lelong !0 UNKNOWN VERSION %u, 66##>>>35 lelong 0 version 0, 67>>>35 lelong 0 68>>>>39 ubyte 1 mono, 69>>>>39 ubyte 2 stereo, 70>>>>39 ubyte >2 %u channels, 71>>>>40 lelong x %u Hz 72# Minimal, nominal and maximal bitrates specified when encoding --- 52 unchanged lines hidden --- |