I assume you have Opera installed as per 3rd party wiki page, this means you also had to install binutils and some other dependencies I don't quite remember anymore.
- Go to opera://about/ to find your Opera version and relevant Chromium version.
- Get the latest ubuntu chromium-codecs-ffmpeg-extra package relevant to your major Chromium version from here, place it somewhere and extract libffmpeg.so, e.g.
Code: Select all
mkdir ~/.opera-ffmpeg cd ~/.opera-ffmpeg/ wget http://security.ubuntu.com/ubuntu/pool/universe/c/chromium-browser/chromium-codecs-ffmpeg-extra_47.0.2526.106-0ubuntu0.15.10.1.1218_amd64.deb ar p chromium-codecs-ffmpeg-extra_47.0.2526.106-0ubuntu0.15.10.1.1218_amd64.deb data.tar.xz | tar xJ ./usr/lib/chromium-browser/libs/libffmpeg.so --strip 5
- Place the libffmpeg.so in the Opera directory, don't forget to append Opera version to the filename. Other posts suggest placing the file in lib_extra directory but on my system it has to replace the libffmpeg.so present in lib dir, so:
Code: Select all
sudo mv /usr/lib64/opera/lib/libffmpeg.so.34 /usr/lib64/opera/lib/libffmpeg.so.34.old sudo ln -s libffmpeg.so /usr/lib64/opera/lib/libffmpeg.so.34
- Restart Opera, it should support HTML5 codecs now. You can test h264 here.
As a sidenote, on Ubuntu the latest Opera versions are supposed to autodetect whether chromium-codecs-ffmpeg-extra is installed so if there's ever an official Opera package for Solus maybe it's worth looking into including those in the non-core repos as well. Also note that I'm not really an expert here, just a user who wanted to save someone a few hours of googling and troubleshooting.