Page 1 of 1

SOLVED: Linux opera not playing videos

Posted: Mon Feb 21, 2022 8:14 pm
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.

Re: Linux opera not playing videos

Posted: Mon Feb 21, 2022 8:37 pm
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

Re: Linux opera not playing videos

Posted: Fri Feb 25, 2022 10:43 am
by mister_v
Ok, thanks that explains thing.
The workaround works.