【问题标题】:Play avi videos in google chrome在谷歌浏览器中播放 avi 视频
【发布时间】:2017-03-22 07:32:17
【问题描述】:

如何在 chrome 中播放 avi 视频?

我的代码是

<center><video width="560" height="448" controls>
  <source src="plaque.avi" type="video/avi"> </source>
</video></center>

但我只能看到播放器处于非活动状态,没有视频图像。

有什么帮助吗?

【问题讨论】:

  • html5视频标签中只能使用.ogg或.mp4

标签: html python-2.7 google-chrome opencv django-templates


【解决方案1】:

HTML5 标签支持 .avi 格式。

最好的机会是将其转换为 mp4、webm 或其他一些适用于网络的格式。

【讨论】:

  • 我正在使用 python/opencv 做一些视频处理,cv2.VideoCapture() 方法只能读取 avi 视频。
  • @zinon 你可以在你的程序中使用python-video-converter
  • 我会搜索出来的。谢谢。
猜你喜欢
  • 2013-12-16
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2019-11-07
  • 1970-01-01
  • 2017-05-04
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多