8

enter image description here

Here is an example above. It also does the same thing on other sites with other video players, but I figure this is one of the more well known ones.

Any help?

Carson
  • 231
  • 2
  • 3
  • 7

5 Answers5

3

As others have stated, the main problem is ffmpeg library. To fix that, install Chromium and then copy the ffmpeg.so file that Chromium uses. You can do it like this:

sudo cp /snap/chromium/current/usr/lib/chromium-browser/libffmepg.so /usr/lib/x86-64-linux-gnu/opera/

After that, just restart Opera and the problem will be fixed.

NOTE: Everytime Opera upgrades, you need to copy ffmpeg.so.

Luisus
  • 131
  • 2
2

Run this command in a terminal (Ctrl+Alt+T):

sudo apt-get install chromium-codecs-ffmpeg-extra

Then restart Opera.

Eliah Kagan
  • 116,445
  • 54
  • 318
  • 493
Gustav
  • 459
  • 2
  • 13
1

If you are having trouble with videos on the web that are not flash, it is probably a video that uses the H.264 codec. In the past chromium-codecs-ffmpeg-extra has resolved this (and might again) Unfortunately, Opera has some issues with using the library sometimes, because it's so tightly integrated with chromium. There is no 100% good solution of getting H.264 support in Opera right now.

Basically Opera is having trouble with the licensing. The library that provides many codecs that Opera uses is called ffmpeg. However, they have removed the H.264 part of it, because even though ffmpeg has a free license, the patent pool of H.264 will demand license fees from commercial projects that are using implementations of it, like Opera.

Chromium and Chrome, however, do have support for H.264 in their ffmpeg library, because Google has payed the license fee.

Switching to Google Chrome or perhaps Chromium is highly likely to resolve this issue entirely.(it did for me on both Ubuntu 14.04 and 16.04 - 64-bit)

The only other option I can suggest even trying is the installation of the Ubuntu Resticted Extras Package Available in the [multiverse repository] which is defined as Unsupported, Closed-Source and Patent-Encumbered Software:

For more on the multiverse repository and how and whether to enable it see this excellent Q & A

Sources:

https://help.ubuntu.com/community/OperaBrowser

What's the difference between multiverse, universe, restricted and main?

Elder Geek
  • 35,476
  • 25
  • 95
  • 181
0

Opera installed from .deb (or apt)

# 1. install codecs
sudo snap install chromium-ffmpeg 

# or check if codecs are already installed
snap list | grep chromium-ffmpeg
snap refresh # to update snaps

# 2. find files
find /snap/chromium-ffmpeg/ -name "libff*"

# example output:
#/snap/chromium-ffmpeg/[YY]/chromium-ffmpeg-[XXXXXX]/chromium-ffmpeg/libffmpeg.so

# 3. symlink (don't use [], just the YY XXXXXX numbers) the largest numbers YY and XXXXXX

sudo ln -sf /snap/chromium-ffmpeg/[YY]/chromium-ffmpeg-[XXXXXX]/chromium-ffmpeg/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/

# 4. Restart opera, if video doesn't work use the next largest number XXXXXX

Opera installed as snap

Briefly:

snap connect opera:chromium-ffmpeg-XXXXXX chromium-ffmpeg:chromium-ffmpeg-XXXXXX
Ferroao
  • 745
  • 1
  • 7
  • 22
-1

I installed skype for linux then copied skypes libffmpeg.so to opera with the following command. sudo cp /usr/share/skypeforlinux/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so Restart Opera. Videos now play on Opera.

Tampaman
  • 1
  • 2