]> granicus.if.org Git - file/commitdiff
PR/440: agusdallalba: add Ogg Opus support
authorChristos Zoulas <christos@zoulas.com>
Sat, 28 Mar 2015 15:14:55 +0000 (15:14 +0000)
committerChristos Zoulas <christos@zoulas.com>
Sat, 28 Mar 2015 15:14:55 +0000 (15:14 +0000)
magic/Magdir/vorbis

index 0ac54d0ae7e08357f84a4ae2ba9572f5d1a10621..5c820482d78320021c7b2b8f0421a05fc35b1ff5 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: vorbis,v 1.20 2014/09/23 16:35:08 christos Exp $
+# $File: vorbis,v 1.21 2015/01/06 01:58:09 christos Exp $
 # vorbis:  file(1) magic for Ogg/Vorbis files
 #
 # From Felix von Leitner <leitner@fefe.de>
 >>>>>>(84.b+117)       string          20020717        (1.0)
 >>>>>>(84.b+117)       string          20030909        (1.0.1)
 >>>>>>(84.b+117)       string          20040629        (1.1.0 RC1)
+
+# non-Vorbis content: Opus https://tools.ietf.org/html/draft-ietf-codec-oggopus-06#section-5
+>>28           string          OpusHead        \b, Opus audio,
+!:mime         audio/ogg
+>>>36          ubyte           >0x0F           UNKNOWN VERSION %u,
+>>>36          ubyte           &0x0F           version 0.%d
+>>>>46         ubyte           >1              
+>>>>>46                ubyte           !255            unknown channel mapping family %u,
+>>>>>37                ubyte           x               %u channels
+>>>>46         ubyte           0
+>>>>>37                ubyte           1               mono
+>>>>>37                ubyte           2               stereo
+>>>>46         ubyte           1               
+>>>>>37                ubyte           1               mono
+>>>>>37                ubyte           2               stereo
+>>>>>37                ubyte           3               linear surround
+>>>>>37                ubyte           4               quadraphonic
+>>>>>37                ubyte           5               5.0 surround
+>>>>>37                ubyte           6               5.1 surround
+>>>>>37                ubyte           7               6.1 surround
+>>>>>37                ubyte           8               7.1 surround
+>>>>40         lelong          !0              \b, %u Hz