]> granicus.if.org Git - file/commitdiff
add more "ftyp"es.
authorChristos Zoulas <christos@zoulas.com>
Sat, 30 Aug 2014 10:20:20 +0000 (10:20 +0000)
committerChristos Zoulas <christos@zoulas.com>
Sat, 30 Aug 2014 10:20:20 +0000 (10:20 +0000)
magic/Magdir/animation

index 561fe79e51276f0bee2e4093cde0ea20d03438ce..89d40007978bef9a74e7bbb1c41af192b7938a00 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: animation,v 1.53 2014/04/30 21:41:02 christos Exp $
+# $File: animation,v 1.54 2014/08/30 10:20:20 christos Exp $
 # animation:  file(1) magic for animation/movie formats
 #
 # animation formats
 !:mime application/x-quicktime-player
 4      string/W        jP              JPEG 2000 image
 !:mime image/jp2
+# http://www.ftyps.com/ with local additions
 4      string          ftyp            ISO Media
->8     string          isom            \b, MPEG v4 system, version 1
-!:mime video/mp4
->8     string          iso2            \b, MPEG v4 system, part 12 revision
->8     string          mp41            \b, MPEG v4 system, version 1
-!:mime video/mp4
->8     string          mp42            \b, MPEG v4 system, version 2
-!:mime video/mp4
->8     string          mp7t            \b, MPEG v4 system, MPEG v7 XML
->8     string          mp7b            \b, MPEG v4 system, MPEG v7 binary XML
->8     string/W        jp2             \b, JPEG 2000
-!:mime image/jp2
+>8     string          3g2             \b, MPEG v4 system, 3GPP2
+!:mime video/3gpp2
+>>11   byte            4               \b v4 (H.263/AMR GSM 6.10)
+>>11   byte            5               \b v5 (H.263/AMR GSM 6.10)
+>>11   byte            6               \b v6 (ITU H.264/AMR GSM 6.10)
+>>11   byte            a               \b C.S0050-0 V1.0
+>>11   byte            b               \b C.S0050-0-A V1.0.0
+>>11   byte            c               \b C.S0050-0-B V1.0
 >8     string          3ge             \b, MPEG v4 system, 3GPP
 !:mime video/3gpp
+>>11   byte            6               \b, Release 6 MBMS Extended Presentations
+>>11   byte            7               \b, Release 7 MBMS Extended Presentations
 >8     string          3gg             \b, MPEG v4 system, 3GPP
+>11    byte            6               \b, Release 6 General Profile
 !:mime video/3gpp
 >8     string          3gp             \b, MPEG v4 system, 3GPP
+>11    byte            1               \b, Release %d (non existent)
+>11    byte            2               \b, Release %d (non existent)
+>11    byte            3               \b, Release %d (non existent)
+>11    byte            4               \b, Release %d
+>11    byte            5               \b, Release %d
+>11    byte            6               \b, Release %d
+>11    byte            7               \b, Release %d Streaming Servers
 !:mime video/3gpp
 >8     string          3gs             \b, MPEG v4 system, 3GPP
+>11    byte            7               \b, Release %d Streaming Servers
 !:mime video/3gpp
->8     string          3g2             \b, MPEG v4 system, 3GPP2
+>8     string          avc1            \b, MPEG v4 system, 3GPP JVT AVC [ISO 14496-12:2005]
+!:mime video/mp4
+>8     string/W        qt              \b, Apple QuickTime movie
+!:mime video/quicktime
+>8     string          CAEP            \b, Canon Digital Camera
+>8     string          caqv            \b, Casio Digital Camera
+>8     string          CDes            \b, Convergent Design
+>8     string          da0a            \b, DMB MAF w/ MPEG Layer II aud, MOT slides, DLS, JPG/PNG/MNG
+>8     string          da0b            \b, DMB MAF, ext DA0A, with 3GPP timed text, DID, TVA, REL, IPMP
+>8     string          da1a            \b, DMB MAF audio with ER-BSAC audio, JPG/PNG/MNG images
+>8     string          da1b            \b, DMB MAF, ext da1a, with 3GPP timed text, DID, TVA, REL, IPMP
+>8     string          da2a            \b, DMB MAF aud w/ HE-AAC v2 aud, MOT slides, DLS, JPG/PNG/MNG
+>8     string          da2b            \b, DMB MAF, ext da2a, with 3GPP timed text, DID, TVA, REL, IPMP
+>8     string          da3a            \b, DMB MAF aud with HE-AAC aud, JPG/PNG/MNG images
+>8     string          da3b            \b, DMB MAF, ext da3a w/ BIFS, 3GPP, DID, TVA, REL, IPMP
+>8     string          dmb1            \b, DMB MAF supporting all the components defined in the spec
+>8     string          dmpf            \b, Digital Media Project
+>8     string          drc1            \b, Dirac (wavelet compression), encap in ISO base media (MP4)
+>8     string          dv1a            \b, DMB MAF vid w/ AVC vid, ER-BSAC aud, BIFS, JPG/PNG/MNG, TS
+>8     string          dv1b            \b, DMB MAF, ext dv1a, with 3GPP timed text, DID, TVA, REL, IPMP
+>8     string          dv2a            \b, DMB MAF vid w/ AVC vid, HE-AAC v2 aud, BIFS, JPG/PNG/MNG, TS
+>8     string          dv2b            \b, DMB MAF, ext dv2a, with 3GPP timed text, DID, TVA, REL, IPMP
+>8     string          dv3a            \b, DMB MAF vid w/ AVC vid, HE-AAC aud, BIFS, JPG/PNG/MNG, TS
+>8     string          dv3b            \b, DMB MAF, ext dv3a, with 3GPP timed text, DID, TVA, REL, IPMP
+>8     string          dvr1            \b, DVB (.DVB) over RTP
+!:mime video/vnd.dvb.file
+>8     string          dvt1            \b, DVB (.DVB) over MPEG-2 Transport Stream
+!:mime video/vnd.dvb.file
+>8     string          F4V             \b, Video for Adobe Flash Player 9+ (.F4V)
+!:mime video/mp4
+>8     string          F4P             \b, Protected Video for Adobe Flash Player 9+ (.F4P)
+!:mime video/mp4
+>8     string          F4A             \b, Audio for Adobe Flash Player 9+ (.F4A)
+!:mime audio/mp4
+>8     string          F4B             \b, Audio Book for Adobe Flash Player 9+ (.F4B)
+!:mime audio/mp4
+>8     string          isc2            \b, ISMACryp 2.0 Encrypted File
+#      ?/enc-isoff-generic
+>8     string          iso2            \b, MP4 Base Media v2 [ISO 14496-12:2005]
+!:mime video/mp4
+>8     string          isom            \b, MP4 Base Media v1 [IS0 14496-12:2003]
+!:mime video/mp4
+>8     string/W        jp2             \b, JPEG 2000
+!:mime image/jp2
+>8     string          JP2             \b, JPEG 2000 Image (.JP2) [ISO 15444-1 ?]
+!:mime image/jp2
+>8     string          JP20            \b, Unknown, from GPAC samples (prob non-existent)
+>8     string          jpm             \b, JPEG 2000 Compound Image (.JPM) [ISO 15444-6]
+!:mime image/jpm
+>8     string          jpx             \b, JPEG 2000 w/ extensions (.JPX) [ISO 15444-2]
+!:mime image/jpx
+>8     string          KDDI            \b, 3GPP2 EZmovie for KDDI 3G cellphones
 !:mime video/3gpp2
->>11   byte            4               \b v4 (H.263/AMR GSM 6.10)
->>11   byte            5               \b v5 (H.263/AMR GSM 6.10)
->>11   byte            6               \b v6 (ITU H.264/AMR GSM 6.10)
+>8     string          M4A             \b, Apple iTunes AAC-LC (.M4A) Audio
+!:mime audio/x-m4a
+>8     string          M4B             \b, Apple iTunes AAC-LC (.M4B) Audio Book
+!:mime audio/mp4
+>8     string          M4P             \b, Apple iTunes AAC-LC (.M4P) AES Protected Audio
+!:mime video/mp4
+>8     string          M4V             \b, Apple iTunes Video (.M4V) Video
+!:mime video/x-m4v
+>8     string          M4VH            \b, Apple TV (.M4V)
+!:mime video/x-m4v
+>8     string          M4VP            \b, Apple iPhone (.M4V)
+!:mime video/x-m4v
+>8     string          mj2s            \b, Motion JPEG 2000 [ISO 15444-3] Simple Profile
+!:mime video/mj2
+>8     string          mjp2            \b, Motion JPEG 2000 [ISO 15444-3] General Profile
+!:mime video/mj2
+>8     string          mmp4            \b, MPEG-4/3GPP Mobile Profile (.MP4 / .3GP) (for NTT)
+!:mime video/mp4
+>8     string          mobi            \b, MPEG-4, MOBI format
+>8     string          mp21            \b, MPEG-21 [ISO/IEC 21000-9]
+>8     string          mp41            \b, MP4 v1 [ISO 14496-1:ch13]
+!:mime video/mp4
+>8     string          mp42            \b, MP4 v2 [ISO 14496-14]
+!:mime video/mp4
+>8     string          mp71            \b, MP4 w/ MPEG-7 Metadata [per ISO 14496-12]
+>8     string          mp7t            \b, MPEG v4 system, MPEG v7 XML
+>8     string          mp7b            \b, MPEG v4 system, MPEG v7 binary XML
 >8     string          mmp4            \b, MPEG v4 system, 3GPP Mobile
 !:mime video/mp4
->8     string          avc1            \b, MPEG v4 system, 3GPP JVT AVC
-!:mime video/3gpp
->8     string/W        M4A             \b, MPEG v4 system, iTunes AAC-LC
+>8     string          MPPI            \b, Photo Player, MAF [ISO/IEC 23000-3]
+>8     string          mqt             \b, Sony / Mobile QuickTime (.MQV) US Pat 7,477,830
+!:mime video/quicktime
+>8     string          MSNV            \b, MPEG-4 (.MP4) for SonyPSP
+!:mime audio/mp4
+>8     string          NDAS            \b, MP4 v2 [ISO 14496-14] Nero Digital AAC Audio
 !:mime audio/mp4
->8     string/W        M4V             \b, MPEG v4 system, iTunes AVC-LC
+>8     string          NDSC            \b, MPEG-4 (.MP4) Nero Cinema Profile
 !:mime video/mp4
->8     string/W        M4P             \b, MPEG v4 system, iTunes AES encrypted
->8     string/W        M4B             \b, MPEG v4 system, iTunes bookmarked
->8     string/W        qt              \b, Apple QuickTime movie
+>8     string          NDSH            \b, MPEG-4 (.MP4) Nero HDTV Profile
+!:mime video/mp4
+>8     string          NDSM            \b, MPEG-4 (.MP4) Nero Mobile Profile
+!:mime video/mp4
+>8     string          NDSP            \b, MPEG-4 (.MP4) Nero Portable Profile
+!:mime video/mp4
+>8     string          NDSS            \b, MPEG-4 (.MP4) Nero Standard Profile
+!:mime video/mp4
+>8     string          NDXC            \b, H.264/MPEG-4 AVC (.MP4) Nero Cinema Profile
+!:mime video/mp4
+>8     string          NDXH            \b, H.264/MPEG-4 AVC (.MP4) Nero HDTV Profile
+!:mime video/mp4
+>8     string          NDXM            \b, H.264/MPEG-4 AVC (.MP4) Nero Mobile Profile
+!:mime video/mp4
+>8     string          NDXP            \b, H.264/MPEG-4 AVC (.MP4) Nero Portable Profile
+!:mime video/mp4
+>8     string          NDXS            \b, H.264/MPEG-4 AVC (.MP4) Nero Standard Profile
+!:mime video/mp4
+>8     string          odcf            \b, OMA DCF DRM Format 2.0 (OMA-TS-DRM-DCF-V2_0-20060303-A)
+>8     string          opf2            \b, OMA PDCF DRM Format 2.1 (OMA-TS-DRM-DCF-V2_1-20070724-C)
+>8     string          opx2            \b, OMA PDCF DRM + XBS ext (OMA-TS-DRM_XBS-V1_0-20070529-C)
+>8     string          pana            \b, Panasonic Digital Camera
+>8     string          qt              \b, Apple QuickTime (.MOV/QT)
 !:mime video/quicktime
+>8     string          ROSS            \b, Ross Video
+>8     string          sdv             \b, SD Memory Card Video
+>8     string          ssc1            \b, Samsung stereo, single stream (patent pending)
+>8     string          ssc2            \b, Samsung stereo, dual stream (patent pending)
 
 # MPEG sequences
 # Scans for all common MPEG header start codes