Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
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/

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