SOLVED: Linux opera not playing videos

Post Reply
mister_v
Posts: 188
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: 194
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: 188
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.
Post Reply