June 9, 2023

Picture Illustration by Mateusz Slodkowski/SOPA | Photographs/LightRocket through Getty Photographs

Since I began utilizing Linux in 1997, there’s been one problem that has by no means did not be part of the open-source platform…the legality of enjoying sure multimedia codecs. It is one of many the explanation why, in sure working methods, you could set up these codecs from a 3rd social gathering and conform to their licenses. 

Additionally: How to decide on the precise Linux desktop distribution for you

Simply to be clear, it isn’t a Linux factor, it is a authorized factor. And do not be mistaken, it isn’t unlawful to play these media information on Linux, it is simply that licenses should be agreed to, in an effort to hold issues above board. And in some instances, there aren’t any licenses to conform to…it is simply the set up should be undertaken by the consumer.

It is a comparable scenario to the enjoying of movies on social media platforms like Fb and Twitter. You may need come throughout these black squares that state the video can’t be displayed.

Additionally: Find out how to set up Ubuntu Linux (It is simple!)

Fortuitously, there is a repair for it and I will stroll you thru the method.

Find out how to repair Opera’s lacking video problem

What you may want: The one belongings you’ll have to resolve this problem are a operating occasion of the Opera browser (or a browser based mostly on Opera, equivalent to Vivaldi) and a consumer with sudo privileges. That is it. Let’s get to the repair.

The very first thing to do is open a terminal window and set up the snap model of chromium-ffmpeg. For individuals who do not know this software program, it is a command line instrument for the manipulation, conversion, and streaming of multimedia content material. To put in chromium-ffmepg, problem the next command:

sudo snap set up chromium-ffmpeg

With the software program put in, you need to create a hyperlink (symlink) such that Opera can use the shared object file, libffmpeg.so. Earlier than you try this, you could discover out the place libffmpeg.so is. First, examine the chromium-ffmpeg listing with the command:

ls /snap/chromium-ffmpeg/

You may most likely see two directories:

It is the 30 listing you need, however in case you see a quantity greater than 30, that is the one you may use. 

Subsequent. you need to try which little one listing homes the .so file. For that, problem the command:

ls /snap/chromium-ffmpeg/30

You may most likely see numerous sub-directories, equivalent to chromium-ffmpeg-108372. You are in search of the listing with the very best quantity, which would be the listing that homes the latest model of the libffmpeg.so file.

We will now create the hyperlink from the chromium-ffmpeg listing to the right Opera listing with a command like this:

sudo ln -s /snap/chromium-ffmpeg/30/chromium-ffmpeg-108372/chromium-ffmpeg/libffmpeg.so /usr/lib/x86_64-linux-gnu/ope

If, after operating the command, you get an error saying the libffmpeg.so file already exists, rename it with the command:

sudo mv /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so.bak

After operating the above command, run the hyperlink command once more and it’ll succeed.

Additionally: 8 issues you are able to do with Linux you can’t do with MacOS or Home windows

As soon as you have issued the ultimate command, shut and re-open Opera and the issue needs to be resolved. Movies will now play with out problem on the Opera browser operating on Linux.

Leave a Reply

Your email address will not be published. Required fields are marked *