[英]How to play .h264(Ex:globalwarming.h264) video file through cross browser for Web Application
I have a video file with.h264 format, alternatively, tried VLC Media Player Plugin that can be hosted only in IE and not in any other browser but unable to find a solution for cross browser compatibility.我有一个 .h264 格式的视频文件,或者,尝试过只能在 IE 中托管而不能在任何其他浏览器中托管的 VLC 媒体播放器插件,但无法找到跨浏览器兼容性的解决方案。
<object classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921"
codebase="http://download.videolan.org/pub/videolan/vlc/last/win32/axvlc.cab" id="vlc">
<param name="Src" value="http://globalwarming.h264" />
<embed type="application/x-vlc-plugin" pluginspage="http://www.videolan.org" name="vlc" id="embedtag"
width="1
000" height="1000" target="http://globalwarming.h264" />
</object>
How can I make the video compatible so it works over cross browsers(Chrome,Firefox,IE)?我怎样才能使视频兼容,以便它在跨浏览器(Chrome、Firefox、IE)上工作?
Browsers will not play raw h264 files.浏览器不会播放原始的 h264 文件。 They must be in an mp4 container.
它们必须位于 mp4 容器中。
ffmpeg -I globalwarming.h264 -codec copy globalwarming.mp4
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.