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.
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
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.
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
.
Check where vivaldi is and copy the library to this directory.
E.g. cp ./libffmpeg.so /opt/vivaldi/lib/
Thank you. Also works for opera, just copy file to
/usr/lib/x86_64-linux-gnu/opera