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.

Re: SOLVED: Linux opera not playing videos

Posted: Sat Jul 13, 2024 6:59 pm
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.