Stuart.Sklinar
Stuart.Sklinar

Reputation: 3761

HTML5 video not playing in 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?

Upvotes: 1

Views: 9791

Answers (6)

Maksim Ivanov
Maksim Ivanov

Reputation: 1

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.

Upvotes: 0

k_o_
k_o_

Reputation: 6288

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).

Upvotes: 1

pete
pete

Reputation: 21

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

Upvotes: 2

Ishmael Sibisi
Ishmael Sibisi

Reputation: 69

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.

Upvotes: 1

Saleh Abdulaziz
Saleh Abdulaziz

Reputation: 1123

Solution ...

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

Upvotes: 0

Dave Kuhlman
Dave Kuhlman

Reputation: 99

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.

Upvotes: 0

Related Questions