libffmpeg.so needs to be changed every installation
-
jhonndee last edited by
You're right—Opera for Linux doesn’t bundle the full libffmpeg .so due to licensing issues. A practical fix is to symlink or copy the full version of libffmpeg .so (from Chromium or chromium-codecs-ffmpeg-extra) into Opera’s lib directory after each update. To automate it, you can write a simple shell script and add it to a post-install hook or run it manually after updates. This avoids doing it manually every time.
-
leifjoha last edited by
@jhonndee I have made a bash script for copy a full libffmpeg.so.
But I take libffmpeg.so from https://github.com/nwjs-ffmpeg-prebuilt/nwjs-ffmpeg-prebuilt/releases/. I have no Chromium/Crome on my PC. But I can't understand that Opera not can solved the legal problem, when Firefox to Linux and Crome to Linux can. -
javickers last edited by javickers
This no longer works
I've been doing the "Use Chromium's libffmpeg.so" "trick" for several years; but after the last 2-3 updates (or so), if I copy across Chromium's version, Opera just crashes whenever it tries to play ANY video - even ones it is capable of by itself.
Looking for a new solution now
-
burnout426 Volunteer last edited by
@javickers Doing a little digging, it seems like the libffmpeg.so that comes with the Slack deb package is from the chromium-ffmpeg snap package.
Also see https://www.reddit.com/r/operabrowser/wiki/opera/linux_libffmpeg_config/ for ways to find a compatible libffmpeg.so in the future if needed.
-
SmokDiplodok last edited by
@javickers There's no need to do any Google tricks.
Just download the file for Linux from this page
https://github.com/nwjs-ffmpeg-prebuilt/nwjs-ffmpeg-prebuilt
and upload it here
/usr/lib/x86_64-linux-gnu/opera/I need the 64-bit file, so I downloaded this one 0.101.2-linux-x64.zip
At least for Linux Mint 22.1. Then restart Opera.
This always works for me, and I do it every time I update Opera. It's a pain, unfortunately. Opera is a rather odd browser; it has some good points and a few annoying ones.
-
javickers last edited by
@SmokDiplodok said in libffmpeg.so needs to be changed every installation:
@javickers There's no need to do any Google tricks.
Just download the file for Linux from this page
https://github.com/nwjs-ffmpeg-prebuilt/nwjs-ffmpeg-prebuilt
and upload it here
/usr/lib/x86_64-linux-gnu/opera/Oh, cool, thanks! I'll try that next time Opera gets an update...
This always works for me, and I do it every time I update Opera. It's a pain, unfortunately. Opera is a rather odd browser; it has some good points and a few annoying ones.
Yeah - I've been using Opera since version 3 (when you had to pay actual money for it!) - it was a bit of a sad day when they dropped the Presto engine & reskinned Chromium - but after that setback, they pulled back most (maybe all) of the features I really liked about it. If it weren't for this libffmpeg thing, I'd say Opera's about as close as you can get to the perfect browser.
-
SmokDiplodok last edited by
@javickers said in libffmpeg.so needs to be changed every installation:
Oh, cool, thanks! I'll try that next time Opera gets an update...
If it happens that despite downloading the latest version of the ffmpeg file, the video still does not work, try using the previous version. The authors themselves inform that this may happen and that is how to proceed.
Well, you see, I gave you the link to version 0.101.2, but it turned out that this one doesn't work for me
. So I went back to 0.101.1.
That's how it is with software. But generally, this method works well.