Skip to content

Instantly share code, notes, and snippets.

@mkaraki
Created February 15, 2020 10:09
Show Gist options
  • Save mkaraki/684cd27d6e09c19f986de03f63a55b5c to your computer and use it in GitHub Desktop.
Save mkaraki/684cd27d6e09c19f986de03f63a55b5c to your computer and use it in GitHub Desktop.
Install ffmpeg codec for Opera in Linux (Ubuntu)
#!/bin/bash
# for Ubuntu
# Install pre-requirements
sudo apt-get update
sudo apt-get install -y chromium-codecs-ffmpeg-extra
# Import to opera
sudo ln -sf /usr/lib/chromium-browser/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so
@dpedrinha
Copy link

None of that worked for me on Linux Mint

@MehdiPapir
Copy link

Hi, i'm using opera 116.0.5366.35 with chromium 131.0.6778.26 on ubuntu 24.04.2 LTS, and just install chromium-codecs-ffmpeg-extra with apt solved my problem.

@cavit8
Copy link

cavit8 commented Mar 9, 2025

Hi, i'm using opera 116.0.5366.35 with chromium 131.0.6778.26 on ubuntu 24.04.2 LTS, and just install chromium-codecs-ffmpeg-extra with apt solved my problem.

That's interesting Mahdi. I'm using Linux Mint 21.3 Virginia and Opera 132.0.6834.210. The chromium ffmpeg package has been superceded by chromium-ffmpeg snap in that distro. Using the symlink as above to the libffmpeg.so has so far been unsuccessful although I may be linking to the wrong codec version.

--Edit--
Using these instructions to download a matching libffmpeg.so worked for me. https://www.reddit.com/r/operabrowser/wiki/opera/linux_libffmpeg_config/?rdt=33857

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment