【发布时间】:2015-09-26 11:51:05
【问题描述】:
我有一个从 ffserver 流式传输的视频流,它在 webm 端(在 Chrome 中)运行良好,但是 h264/mp4 端不起作用,至少在 Internet Explorer 中不起作用。
Internet Explorer 提供以下错误:“MEDIA12899: AUDIO/VIDEO: Unknown MIME type”
查看提琴手中发生的事情,它似乎正在使用包含以下内容的标题:
内容类型:application/mp4
该类型不应该是 video/mp4 吗?
在 ffserver 中,这个特定的流被配置为:
<Stream 720.mp4>
Feed 720_h264.ffm
Format mp4
NoAudio
VideoCodec libx264
VideoSize 1280x720
VideoFrameRate 5
VideoBitRate 4096
VideoBufferSize 40000
AVOptionVideo flags +global_header
AVOptionVideo qmin 10
AVOptionVideo qmax 42
VideoGopSize 32
PreRoll 5
StartSendOnKey
</Stream>
有谁知道如何强制或更正 ffserver 设置的标头以(可能)让 MSIE 高兴?
【问题讨论】:
标签: internet-explorer ffmpeg video-streaming mime-types ffserver