Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Install libffmpeg.so for Vivaldi and Opera

Install libffmpeg.so for Vivaldi and Opera

Troubleshooting videos issues in chromium based browsers

WARNING

Be aware that this manipulation could cause your browser to not launch anymore or make your pages crash !
So be sure to have a backup of your datas before doing it.

Find the chromium version your browser is based on

Goto opera://about or vivaldi://about,
then Ctrl+F to find 'Chrome' in the user-agent,
version number is Chrome/XX.other_numbers .

Download libffmpeg.so

× METHOD 1 ( EASY )

Go here and get your file based on your chromium version.
(If link is dead check the first link in Resources below)

× METHOD 2 ( ALTERNATIVE )

1. Download .deb package

Go here and download the chromium-codecs-ffmpeg-extra_XX where XX is your chromium version.
( i386 refers to 32bits & amd64 to 64bits version)

2. Extract data.tar.xz

cd <directory-where-you-download-.deb>
ar x <.deb-you-just-download> data.tar.xz

3. then Extract libffmpeg.so

tar -xJf data.tar.xz --strip-components=4 ./usr/lib/chromium-browser/libffmpeg.so

Copy libffmpeg.so in the browser folder

Find where the browser folder is ! Usually :

# Vivaldi
cp libffmpeg.so /opt/vivaldi/lib/

# Opera
cp libffmpeg.so /usr/lib/x86_64-linux-gnu/opera

Notes

On the browser's update, libffmpeg.so could become incompatible again, and make you repeat all the process 😮‍💨

Resources

OperaBrowser Wiki (Reddit) - you will find some great advices there, go checkout !
Original Gist - "Install libffmpeg.so in vivaldi"

@tiagofrancafernandes
Copy link

tiagofrancafernandes commented Sep 16, 2021

Fix

# Ubuntu/Debian or based
# Install package chromium-codecs-ffmpeg

sudo apt install -y chromium-codecs-ffmpeg

## Make a link
sudo ln -sf /snap/chromium-ffmpeg/current/chromium-ffmpeg-103551/chromium-ffmpeg/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/

@mauriau
Copy link

mauriau commented Apr 12, 2022

Thx

@Thomas-Ln
Copy link
Author

Thomas-Ln commented Apr 22, 2022

If you have followed the recommendations of r/operabrowser and added a lib_extra/ folder,
don't forget to add it in the path when you move / copy the libffmpeg.so file.

cp libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/lib_extra

Don't know if the lib_extra/ folder method works in Vivaldi, be careful 🙂

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