SOLVED: Linux opera not playing videos

Post Reply
mister_v
Posts: 193
Joined: Thu Mar 04, 2010 9:19 pm

SOLVED: Linux opera not playing videos

Post by mister_v »

Hi,

I use the browser Opera but it is not playing (all) videos.
a problem with the diver or codex ?

But in chrome or firefox (on the same PC) do play the videos.

Anyone know how to fix this?
I like opera as a browser.
Last edited by mister_v on Fri Feb 25, 2022 10:44 am, edited 1 time in total.
chris
Site Admin
Posts: 200
Joined: Mon Jul 21, 2008 9:52 am

Re: Linux opera not playing videos

Post by chris »

I think the real reason is a legal issue,
that Opera does have all the licences to plat the video (codecs).

But there is a way around.
If you have chrome or chromium installed, you can use their drive

Code: Select all

sudo apt install chromium-codecs-ffmpeg-extra
Then delete the file that opera use

Code: Select all

sudo rm /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so
and replace it (simlink)

Code: Select all

sudo ln -s /usr/lib/chromium-browser/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/
or (depends what is installed)

Code: Select all

sudo ln -s /snap/chromium/1912/usr/lib/chromium-browser/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera
mister_v
Posts: 193
Joined: Thu Mar 04, 2010 9:19 pm

Re: Linux opera not playing videos

Post by mister_v »

Ok, thanks that explains thing.
The workaround works.
chris
Site Admin
Posts: 200
Joined: Mon Jul 21, 2008 9:52 am

Re: SOLVED: Linux opera not playing videos

Post by chris »

With the lastest version of opera (version 125.0.6422.143) (and Chromium) the last workaround doesn't work anymore.
It crashes the page on youtube and doesn't play the videos in rumble.com.

You can download libffmpeg.so from :

Code: Select all

https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/
and copy over the existing one.
It works for me.
Post Reply