Skip to content

Instantly share code, notes, and snippets.

@hauke96
Last active July 4, 2023 18:56
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save hauke96/5d808ff06e695c752783f4054232a4a9 to your computer and use it in GitHub Desktop.
Save hauke96/5d808ff06e695c752783f4054232a4a9 to your computer and use it in GitHub Desktop.
Install libffmpeg.so in vivaldi

Install libffmpeg.so in vivaldi

This short instruction shows how to install libffmpeg.so in vivaldi to play e.g. mp4 videos.

I use the ubuntu repository for that but this is just one way to get the file.

1. Download .deb package

Go to http://security.ubuntu.com/ubuntu/pool/universe/c/chromium-browser/ and choose the latest chromium-codecs-ffmpeg-extra and download it.

For example: chromium-codecs-ffmpeg-extra_58.0.3029.110-0ubuntu1.1354_amd64.deb

2. Get data.tar.xz out of deb file

The library is in a tar.xz ball inside the .deb file. Extraxt it with

ar x <your-deb-file> data.tar.xz

Now you have the data.tar.xz file next to your .deb file.

3. Extract library

Just use tar with tar -xJf data.tar.xz --strip-components=4 ./usr/lib/chromium-browser/libffmpeg.so to do so. There is now the file libffmpeg.so next to the data.tar.xz.

4. Copy libffmpeg.so to vivaldi folder

Check where vivaldi is and copy the library to this directory.

E.g. cp ./libffmpeg.so /opt/vivaldi/lib/

@hauke96
Copy link
Author

hauke96 commented Jul 4, 2023

I'm sorry, but I neither know flatpak nor opera.

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