Created
February 15, 2020 10:09
-
-
Save mkaraki/684cd27d6e09c19f986de03f63a55b5c to your computer and use it in GitHub Desktop.
Install ffmpeg codec for Opera in Linux (Ubuntu)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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