head	1.4;
access;
symbols
	RELENG_4_11_0_RELEASE:1.2.8.1
	RELENG_4_11:1.2.8.1.0.18
	RELENG_4_11_BP:1.2.8.1
	RELENG_4_10_0_RELEASE:1.2.8.1
	RELENG_4_10:1.2.8.1.0.16
	RELENG_4_10_BP:1.2.8.1
	RELENG_4_9_0_RELEASE:1.2.8.1
	RELENG_4_9:1.2.8.1.0.14
	RELENG_4_9_BP:1.2.8.1
	RELENG_4_8_0_RELEASE:1.2.8.1
	RELENG_4_8:1.2.8.1.0.12
	RELENG_4_8_BP:1.2.8.1
	RELENG_4_7_0_RELEASE:1.2.8.1
	RELENG_4_7:1.2.8.1.0.10
	RELENG_4_7_BP:1.2.8.1
	RELENG_4_6_2_RELEASE:1.2.8.1
	RELENG_4_6_1_RELEASE:1.2.8.1
	RELENG_4_6_0_RELEASE:1.2.8.1
	RELENG_4_6:1.2.8.1.0.8
	RELENG_4_6_BP:1.2.8.1
	RELENG_4_5_0_RELEASE:1.2.8.1
	RELENG_4_5:1.2.8.1.0.6
	RELENG_4_5_BP:1.2.8.1
	RELENG_4_4_0_RELEASE:1.2.8.1
	RELENG_4_4:1.2.8.1.0.4
	RELENG_4_4_BP:1.2.8.1
	RELENG_4_3_0_RELEASE:1.2.8.1
	RELENG_4_3:1.2.8.1.0.2
	RELENG_4_3_BP:1.2.8.1
	RELENG_4_2_0_RELEASE:1.2
	RELENG_4_1_1_RELEASE:1.2
	PRE_SMPNG:1.3
	RELENG_4_1_0_RELEASE:1.2
	RELENG_3_5_0_RELEASE:1.2
	RELENG_4_0_0_RELEASE:1.2
	RELENG_4:1.2.0.8
	RELENG_4_BP:1.2
	RELENG_3_4_0_RELEASE:1.2
	RELENG_3_3_0_RELEASE:1.2
	RELENG_3_2_PAO:1.2.0.6
	RELENG_3_2_PAO_BP:1.2
	RELENG_3_2_0_RELEASE:1.2
	RELENG_3_1_0_RELEASE:1.2
	RELENG_3:1.2.0.4
	RELENG_3_BP:1.2
	RELENG_2_2_8_RELEASE:1.2
	RELENG_3_0_0_RELEASE:1.2
	RELENG_2_2_7_RELEASE:1.2
	RELENG_2_2_6_RELEASE:1.2
	RELENG_2_2_5_RELEASE:1.2
	RELENG_2_2_2_RELEASE:1.2
	RELENG_2_2_1_RELEASE:1.2
	file_3_22:1.1.1.1
	RELENG_2_2_0_RELEASE:1.2
	RELENG_2_1_7_RELEASE:1.1.1.1
	RELENG_2_1_6_1_RELEASE:1.1.1.1
	RELENG_2_1_6_RELEASE:1.1.1.1
	RELENG_2_2:1.2.0.2
	RELENG_2_1_5_RELEASE:1.1.1.1
	RELENG_2_1_0:1.1.1.1.0.2
	file_3_19:1.1.1.1
	DARWIN:1.1.1;
locks; strict;
comment	@# @;


1.4
date	2000.11.05.09.06.03;	author obrien;	state dead;
branches;
next	1.3;

1.3
date	2000.07.03.04.59.37;	author green;	state Exp;
branches;
next	1.2;

1.2
date	96.10.24.15.49.48;	author erich;	state Exp;
branches
	1.2.8.1;
next	1.1;

1.1
date	96.01.23.12.27.03;	author mpp;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	96.01.23.12.27.03;	author mpp;	state Exp;
branches;
next	;

1.2.8.1
date	2000.11.29.19.32.49;	author obrien;	state dead;
branches;
next	;


desc
@@


1.4
log
@Switch over to using the Christos Zoulas maintained version in contrib/
This also gives use the same exact results as NetBSD, thus sharing more
code with our bretheren.
@
text
@
#------------------------------------------------------------------------------
# animation:  file(1) magic for animation/movie formats
#
# $FreeBSD: src/usr.bin/file/Magdir/animation,v 1.3 2000/07/03 04:59:37 green Exp $
#
# animation formats
# MPEG, FLI, DL originally from vax@@ccwf.cc.utexas.edu (VaX#n8)
# FLC, SGI, Apple originally from Daniel Quinlan (quinlan@@yggdrasil.com)

# MPEG animation format
0	belong		0x000001b3		Mpeg video stream data
#>4	beshort&0xfff0	x			(%d x
#>5	beshort&0x0fff  x			%d)
0	belong		0x000001ba		Mpeg system stream data
0	beshort&0xfff0	0xfff0			Mpeg audio stream data

# FLI animation format
4	leshort		0xAF11			FLI file
>6	leshort		x			- %d frames,
>8	leshort		x			width=%d pixels,
>10	leshort		x			height=%d pixels,
>12	leshort		x			depth=%d,
>16	leshort		x			ticks/frame=%d
# FLC animation format
4	leshort		0xAF12			FLC file
>6	leshort		x			- %d frames
>8	leshort		x			width=%d pixels,
>10	leshort		x			height=%d pixels,
>12	leshort		x			depth=%d,
>16	leshort		x			ticks/frame=%d

# DL animation format
# XXX - collision with most `mips' magic
#
# I couldn't find a real magic number for these, however, this
# -appears- to work.  Note that it might catch other files, too, so be
# careful!
#
# Note that title and author appear in the two 20-byte chunks
# at decimal offsets 2 and 22, respectively, but they are XOR'ed with
# 255 (hex FF)!  The DL format is really bad.
#
#0	byte	1	DL version 1, medium format (160x100, 4 images/screen)
#>42	byte	x	- %d screens,
#>43	byte	x	%d commands
#0	byte	2	DL version 2
#>1	byte	1	- large format (320x200,1 image/screen),
#>1	byte	2	- medium format (160x100,4 images/screen),
#>1	byte	>2	- unknown format,
#>42	byte	x	%d screens,
#>43	byte	x	%d commands
# Based on empirical evidence, DL version 3 have several nulls following the
# \003.  Most of them start with non-null values at hex offset 0x34 or so.
#0	string	\3\0\0\0\0\0\0\0\0\0\0\0	DL version 3

# SGI and Apple formats
0	string		MOVI		Silicon Graphics movie file
4	string		moov		Apple QuickTime movie file (moov)
4	string		mdat		Apple QuickTime movie file (mdat)

# RealNetworks formats
0	string		.RMF		RealMedia file
@


1.3
log
@Add the RealMedia file format.  Also, add the $FreeBSD$.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.2
log
@Teach file about:
1) our branded elf's
2) mpeg audio/video/system streams
3) compiled java classes
@
text
@d5 2
d61 3
@


1.2.8.1
log
@MFC: switch over to using the Christos Zoulas maintained version in contrib/
@
text
@@


1.1
log
@Initial revision
@
text
@d10 5
a14 1
0	string		\000\000\001\263	MPEG file
@


1.1.1.1
log
@Upgrade to file version 3.19.
@
text
@@
