The Videos Don't Play Topic
-
linuc last edited by linuc
Oh, I thought I was here on the Opera forum. Sorry
Edit: Yes, I am in the Opera Forum, it is linked on the Opera Website!
Then click on the top right, open the menu, go to help and you will find the link to this Forum.
-
jrgsampaio last edited by
@marek-online
The solution presented worked like a charm in my box (Ubuntu 21.04 in a LG gram laptop with Core i7 8th gen)
I needed to search for libffmpeg.so with Nautilus to find the correct folders to use in the symlink command.Thanks,
Jorge Sampaio -
styen last edited by
This solves the problem.
https://github.com/Ld-Hagen/fix-opera-linux-ffmpeg-widevine -
styen last edited by styen
@linuc You need to install git to clone the repo.
Or download and unpack https://github.com/Ld-Hagen/fix-opera-linux-ffmpeg-widevine/archive/refs/heads/main.zip and make install.sh executable -
linuc last edited by
Thank you, I finally made it
In the description here:
https://github.com/Ld-Hagen/fix-opera-linux-ffmpeg-widevine
should still be under "Requirements":
3. git (Is needed to clone the repo) sudo apt install git
https://www.atlassian.com/git/tutorials/install-git#linux
It only needs the commands in point 1. Depending on the distribution with -get or without.
When executing the script you can answer questions and set the script so that it is automatically executed after every update of Opera. Great!
I hope it will work forever and ever ... and if not, someone could turn it into an extension for Opera.
-
linuc last edited by
Unfortunately I couldn't edit my last post:
Maybe I can post this link for a summary of the instructions? Unfortunately the server is very slow, ifastnet, but with a little patience the page loads. Sure, everyone can copy the instructions and distribute them further.
-
xZero last edited by
@rgplayzmc Thank you for keeping me in the loop, I was inactive lately. I will fix the script and post an updated version as soon as ready.
-
xZero last edited by xZero
@xzero said in Solving the problem of the Opera browser with video playback in Ubuntu and similar distributions (Linux Mint, KDE neon):
My previous solution still works, but you might lose the changes (symlink) when Opera gets updated. At least that happened in my case. Applying the solution manually every time is a pain.
You can use this handy script to fix ffmpeg support for you, whenever it gets broken.Fetch the always up to date script from here, or simply use this command to directly download the script:
curl -fsSL https://raw.githubusercontent.com/xZero707/opera-fix-ffmpeg/master/opera-fix-ffmpeg.sh -o opera-fix-ffmpeg.sh
Remember: When downloading the script from the internet, it is always a good idea to inspect the script first.
Run with:
sudo /bin/bash opera-fix-ffmpeg.sh
or
sudo /bin/bash opera-fix-ffmpeg.sh /path/to/your-opera-installation
or
sudo /bin/bash opera-fix-ffmpeg.sh /path/to/your-opera-installation /path/to/your/snap/binary
The script will install or update snap chromium-ffmpeg and create a symlink to the latest bundled ffmpeg.so, in your opera directory.
Note that sudo is required.
Tested and working on Linux Manjaro. Should work for other Linux distros as well.
Disclaimer: This script is provided as-is. Use at your own responsibility.The script has been updated. It is now moved to the repository here: https://github.com/xZero707/opera-fix-ffmpeg
Instructions have been also updated in the quote.
@rgplayzmc Please check it out and let me know if this is the fix you expected.
-
Cupid-101 last edited by
Hi, I can't load any video except videos on youtube, I have looked it up, but I still have no idea, I have tried turning off the hardware acceleration in Settings, but it didn't work.
I have to use Linux OS due to my low configuration (I'm using an old laptop), and I'm not an expert in technology or code. I can play videos on other browsers such as Chrome, Firefox; but my computer runs faster on Opera. Can the videos be played if I install an older version (but I don't know how to install it, too)? I'm stuck right now, please help me. Thanks in advance for any help. -
miyen last edited by
@xzero that does not work to me,
have to check few more codecs from here - http://security.ubuntu.com/ubuntu/pool/universe/c/chromium-browser/?C=M;O=A
currently working only with the codec from "chromium-codecs-ffmpeg-extra_94.0.4606.81-0ubuntu0.18.04.1_amd64.deb"
My PC is:
Linux Mint 20.2 Cinnamon / kernel 5.4.0-89-generic
Opera 80.0.4170.72
i5-2500k CPU,i386 codecs does not work to me.
Regards
-
MarcoRboels last edited by
Easy solution via Terminal (rooted):
$ sudo snap install chromium-ffmpeg
$ sudo cp /snap/chromium-ffmpeg/current/chromium-ffmpeg-104195/chromium-ffmpeg/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so
I chose 104195 version because is the only one workable over Opera version 80.0.4170.72 and Ubuntu 20.04.3 LTS (x86_64; LXQt)