HTML5 视频无法在 Opera 中播放

发布于 2024-11-25 08:55:15 字数 164 浏览 5 评论 0原文

此网站存在一些问题...

除了 Opera 之外,所有浏览器都可以播放 HTML5 视频。它以前玩过,但我在最近的更新中看不到任何会影响它的东西......

有什么想法吗?

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(6

陌生 2024-12-02 08:55:15

下面是我最终修复了Opera自带的libffmpeg.so的一些问题,这样我们就可以使用Chromium自带的库文件了。 (有点像上面那个人发布的内容,但我的没有应用符号链接。

从软件管理器安装 chromium 浏览器,然后:

 sudo mv /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so.old

sudo cp /usr/lib/chromium/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so

重新启动 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:

 sudo mv /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so.old

sudo cp /usr/lib/chromium/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so

restart Opera

家住魔仙堡 2024-12-02 08:55:15

更新到最新版本的 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.

再见回来 2024-12-02 08:55:15

至少在 Ubuntu 20.04 中这个问题再次存在。至少在使用 apt-get 安装 Opera 的情况下是这样。

在 Ubuntu 20.04 + 中,chromiumchromium-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 and chromium-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 file libffmpeg.so in the Opera directory /usr/lib/x86_64-linux-gnu/opera must be replaced with a link to sudo 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).

挥剑断情 2024-12-02 08:55:15

我无法播放 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.

此岸叶落 2024-12-02 08:55:15

解决方案 ...

sudo ln -sf /usr/lib/chromium-browser/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so

Solution ...

sudo ln -sf /usr/lib/chromium-browser/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so
枯叶蝶 2024-12-02 08:55:15

有一个针对 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文