video/mp4 和 video/mp4 之间的区别视频/x-mp4 & x-视频/mp4
进行了通常的谷歌搜索,似乎找不到任何关于何时使用什么 mime 类型的解释。我能说的最好的是它似乎指定了流媒体?!但为什么会有三个选项呢? http://www.playstation.com/manual/psp/rss/en /spec.html(向下滚动一点)
是否需要找出文件的 MIME 类型?如果是这样,我该怎么做,因为谷歌搜索并没有给我任何简单的方法来解决这个问题!
Did the usual google searches and can't seem to find any explanation of when to use what mime type. The best I can tell is it seems to designate streaming?! But why are there three options?
http://www.playstation.com/manual/psp/rss/en/spec.html (scroll down a bit)
Is it a matter of finding out what MIME type the file is? If so, how do I do that as, again, a google search doesn't give me any simple way of working that out!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
正确的 MIME 类型是
video/mp4 在所有情况下。
某些软件(例如 PSP 毯式使用的软件)允许 MIME 媒体类型或子类型的
x-
前缀版本。在获得 IANA 批准之前,有许多子类型最初都是以x-
为前缀的非官方版本,因此它确实具有某种意义,尽管在这种特殊情况下,video /x-mp4
或x-video
类型从未存在过。这是链接手册所记录的内容,但您不想依赖它。The correct MIME type is
video/mp4
in all cases.Some software such as that used by PSP blanket-allows
x-
prefixed versions of the MIME media type or subtype. There have been a number of subtypes that started out asx-
-prefixed unofficial versions before being blessed by IANA, so it does make some sort of sense, even though in this particular case neithervideo/x-mp4
nor anx-video
type has ever existed. This is what the linked manual is documenting, but you wouldn't want to rely on it.