ninenines / cowlib

Support library for manipulating Web protocols.
ISC License
279 stars 173 forks source link

mts mimetype #100

Closed benbro closed 4 years ago

benbro commented 4 years ago

.mts files are defined as <<"model">>, <<"vnd.mts">> in cow_mimetypes

I think it should be video/MP2T as shown in this RFC and on Wikipedia on the table on the right.

The file extensions generally used with AVCHD are called .mts and .m2ts. Both MTS and .m2ts are based on MPEG 2 standards (which is a type of MPEG format).

essen commented 4 years ago

This is generated from the Apache list at https://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types so if there's a problem with it you should see with them directly. You can always create your own function that overrides this value and then calls all_ext.

benbro commented 4 years ago

ok thanks.