It seems 0x47 is the only byte we can trust to sniff mpeg transport stream, not enough to clearly identify.
Added ts as extension. This type of file isn't very well supported by our ffmpeg plugin atm (works well in VLC). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39349 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -3,7 +3,11 @@ resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
|
||||
|
||||
resource(1, "META:TYPE") "video/mp2t";
|
||||
|
||||
resource(2, "META:SNIFF_RULE") "0.50 (0x4700a3)";
|
||||
resource(2, "META:SNIFF_RULE") "0.30 (0x47)";
|
||||
|
||||
resource(3, "META:S:DESC") #'MSDC' "MPEG-2 Transport Stream";
|
||||
|
||||
resource(4, "META:EXTENS") message(234) {
|
||||
"extensions" = "ts",
|
||||
"type" = "video/mp2t"
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user