Chrome浏览器不播放MP4 [英] Chrome does not play MP4

查看:466
本文介绍了Chrome浏览器不播放MP4的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的安全摄像头系统每天都会收到几封电子邮件给我的Gmail帐户。这种邮件包含链接到MP4格式的摄像机的视频剪辑(每个约20秒)。
奇怪的是,在基于Mageia的PC上点击这样的链接后,剪辑被打开并在新的独立浏览器卡中播放。对我来说这是正确的情况。但在基于Ubuntu的PC上,Chrome始终将视频剪辑下载到HDD,而不是播放一个。
我不知道是不是Linux发行版相关的问题,但两个安装都使用Chrome的版本38.
如何更改/设置让MP4文件始终播放而不是下载?

解决方案

您是否在Ubuntu上使用Google Chrome或Chromium?无论哪种方式,问题可能是MP4支持尚未启用。



要启用它,您需要安装对mp4编解码器的支持:

  sudo apt-get install chromium-codecs -ffmpeg 

原因是一些编解码器是不完全开放源代码,因为它们可能会受到专利保护,因此它们不能包含在完全开源版本中。



查看一些讨论和参考资料:




I get several emails everyday to my Gmail account, from my security camera system. Such mail contains links to video clips (aprox 20 sec each) from cameras in MP4 format. Strange is that on Mageia based PC after clicking on such link the clip is open and playback in new separate browser card. And it is correct situation for me. But on Ubuntu based PC, Chrome always download video clip to HDD instead playback one. I dont know is it Linux distribution related problem but both installations use Chrome ver 38. How can I change/setup to have MP4 files always be playback instead downloaded ?

解决方案

Are you using Google Chrome or Chromium on Ubuntu, as a matter of interest? Either way the issue may be that MP4 support has not been enabled.

To enable it you need to install the support for mp4 codec:

sudo apt-get install chromium-codecs-ffmpeg

The reason for this is that some codecs are not fully open source, because they may be subject to patents for example, and hence they can't be included in a fully open source release.

See some discussion and references:

这篇关于Chrome浏览器不播放MP4的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆