HTML5 视频无法在 Opera 中播放
Having some issues with this website...
All the browsers play HTML5 video but Opera. It played before, but I can't see anything that would affect it in the recent update I did...
Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
下面是我最终修复了Opera自带的libffmpeg.so的一些问题,这样我们就可以使用Chromium自带的库文件了。 (有点像上面那个人发布的内容,但我的没有应用符号链接。
从软件管理器安装 chromium 浏览器,然后:
重新启动 Opera
Here's how I finally fixed it's some problem with libffmpeg.so that comes with Opera, so we can use the library file that comes with Chromium. (kinda like what the guy above posted, but mine did not appriciate the symlinks.
install chromium browser from software manager, then:
restart Opera
更新到最新版本的 Opera。转到 此存储库 并下载相关的 ffmped 二进制文件,然后解压并剪切到您的
/usr/lib/x86_64-linux-gnu/opera/
并重新启动 Opera。就是这样,您将能够播放您想要的视频。
Update to the latest version of Opera. Go to this repo and download the relevant ffmped binary then extract and cut to your
/usr/lib/x86_64-linux-gnu/opera/
and restart Opera.And thats it, you will be able to play the video you want.
至少在 Ubuntu 20.04 中这个问题再次存在。至少在使用 apt-get 安装 Opera 的情况下是这样。
在 Ubuntu 20.04 + 中,
chromium
和chromium-ffmpeg
软件包现在只能(在不够新的版本中)作为 snap 包使用。您也可以将 Opera 作为快照安装来克服问题,但这对我来说不是解决方案,因为我找不到如何在保留所有设置的情况下迁移到 Opera 的快照版本。如果 Opera 使用
apt-get
安装,则 Opera 目录/usr/lib/x86_64-linux-gnu/opera
中的文件libffmpeg.so
> 必须替换为 sudo ln -s /snap/chromium-ffmpeg/current/chromium-ffmpeg-104195/chromium-ffmpeg/libffmpeg.so 的链接libffmpeg.so 也许必须调整链接版本(104195),以便 Opera 在您的系统上正常运行(否则带有视频的页面将会崩溃)。At least in Ubuntu 20.04 the problem exists again. At least in the scenario when Opera is installed using
apt-get
.In Ubuntu 20.04 + the packages
chromium
andchromium-ffmpeg
are now only available (in a not recent enough version) as snap. You might install Opera also as a snap to overcome the problem, which was not a solution for me, because I found no way how to migrate to the snap version of Opera with keepign all my settings.In case Opera is installed with
apt-get
the filelibffmpeg.so
in the Opera directory/usr/lib/x86_64-linux-gnu/opera
must be replaced with a link tosudo ln -s /snap/chromium-ffmpeg/current/chromium-ffmpeg-104195/chromium-ffmpeg/libffmpeg.so libffmpeg.so
Maybe the linked version (104195) must be adjusted so that Opera runs fine on your system (otherwise pages with videos will crash).我无法播放 www.edge.org 上的视频。我收到一条消息,大意是:无法使用当前设置播放视频。我通过使用 apt-get/aptitude 安装 chromium-codecs-ffmpeg-extra 解决了这个问题。我在 Ubuntu Gnu/Linux 上使用 Opera 版本 50.0.2762.58。
I could not play the videos at www.edge.org. I was getting a message to the effect: can't play video with current setup. I fixed this by installing chromium-codecs-ffmpeg-extra using apt-get/aptitude. I'm using Opera version 50.0.2762.58 on Ubuntu Gnu/Linux.
解决方案 ...
Solution ...
有一个针对 x86_64 系统的自动化解决方案: https://github.com /Ld-Hagen/fix-opera-linux-ffmpeg-widevine
它将下载并安装最新的可用 libffmpeg.so 和可选的 WidevineCDM。
在某些系统上,它还可以在每次 Opera 更新后自动启动。
There is an automated solution for x86_64 systems: https://github.com/Ld-Hagen/fix-opera-linux-ffmpeg-widevine
It will download and install latest available libffmpeg.so and optionally WidevineCDM.
Also it could be started automatically after each Opera update on some systems.