【发布时间】:2016-01-21 10:11:23
【问题描述】:
我用我的手机录制了一个格式为“.mp4”的视频。现在,如果我在 HTML5 视频标签中加载该视频,我收到错误 HTTP "Content-Type" of "video/3gpp" is not supported. 为什么 Firefox 将文件视为 3gpp 尽管它是一个 mp4 文件?
如果我在加载到浏览器时记录文件属性,我会看到以下内容
{ name: "test.mp4", lastModified: 1434536249000, lastModifiedDate: Date 2015-06-17T10:17:29.000Z, size: 41151959, type: "video/mp4" }
这意味着 firefox 仅将类型识别为 mp4。但不播放它给出错误HTTP "Content-Type" of "video/3gpp" is not supported.
【问题讨论】:
-
ffmpeg -i file对文件有什么看法?
标签: html firefox ffmpeg html5-video