mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
add support for MIME type video/MP2T
BIT-1457 #merged
This commit is contained in:
parent
cf4ab1d381
commit
b14b189d12
3 changed files with 14 additions and 1 deletions
4
CHANGES
4
CHANGES
|
@ -1,4 +1,8 @@
|
||||||
|
|
||||||
|
2.4-94 | 2015-08-21 17:31:32 -0700
|
||||||
|
|
||||||
|
* Add file type detection support for video/MP2T. (Mike Freemon)
|
||||||
|
|
||||||
2.4-93 | 2015-08-21 17:23:39 -0700
|
2.4-93 | 2015-08-21 17:23:39 -0700
|
||||||
|
|
||||||
* Make plugin install honor DESTDIR= convention. (Jeff Barber)
|
* Make plugin install honor DESTDIR= convention. (Jeff Barber)
|
||||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
||||||
2.4-93
|
2.4-94
|
||||||
|
|
|
@ -71,6 +71,14 @@ signature file-mp2p {
|
||||||
file-magic /\x00\x00\x01\xba([\x40-\x7f\xc0-\xff])/
|
file-magic /\x00\x00\x01\xba([\x40-\x7f\xc0-\xff])/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# MPEG transport stream data. These files typically have the extension "ts".
|
||||||
|
# Note: The 0x47 repeats every 188 bytes. Using four as the number of
|
||||||
|
# occurrences for the test here is arbitrary.
|
||||||
|
signature file-mp2t {
|
||||||
|
file-mime "video/mp2t", 40
|
||||||
|
file-magic /^(\x47.{187}){4}/
|
||||||
|
}
|
||||||
|
|
||||||
# Silicon Graphics video
|
# Silicon Graphics video
|
||||||
signature file-sgi-movie {
|
signature file-sgi-movie {
|
||||||
file-mime "video/x-sgi-movie", 70
|
file-mime "video/x-sgi-movie", 70
|
||||||
|
@ -94,3 +102,4 @@ signature file-3gpp {
|
||||||
file-mime "video/3gpp", 60
|
file-mime "video/3gpp", 60
|
||||||
file-magic /^....ftyp(3g[egps2]|avc1|mmp4)/
|
file-magic /^....ftyp(3g[egps2]|avc1|mmp4)/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue