From: Christos Zoulas Date: Wed, 1 Oct 2008 14:14:45 +0000 (+0000) Subject: add bink X-Git-Tag: FILE5_05~327 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e48d5330b66bff3919adcc4de49daa4c413e9153;p=file add bink --- diff --git a/magic/Magdir/animation b/magic/Magdir/animation index 443338a6..5565a1d2 100644 --- a/magic/Magdir/animation +++ b/magic/Magdir/animation @@ -790,3 +790,24 @@ 0 belong 0x00000001 >4 byte&0x1F 0x07 !:mime video/h264 + +# Type: Bink Video +# URL: http://wiki.multimedia.cx/index.php?title=3DBink_Container +# From: 2008-07-18 +0 string BIK Bink Video +>3 regex =[a-z] rev.%s +#>4 ulelong x size %d +>20 ulelong x \b, %d +>24 ulelong x \bx%d +>8 ulelong x \b, %d frames +>32 ulelong x at rate %d/ +>28 ulelong >1 \b%d +>40 ulelong =0 \b, no audio +>40 ulelong !0 \b, %d audio track +>>40 ulelong !1 \bs +# follow properties of the first audio track only +>>48 uleshort x %dHz +>>51 byte&0x20 0 mono +>>51 byte&0x20 !0 stereo +#>>51 byte&0x10 0 FFT +#>>51 byte&0x10 !0 DCT