Skip to content

Instantly share code, notes, and snippets.

@lukaszzek
Last active October 5, 2015 14:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lukaszzek/201796cf66c8d2650480 to your computer and use it in GitHub Desktop.
Save lukaszzek/201796cf66c8d2650480 to your computer and use it in GitHub Desktop.

Download or install chromium-codecs-ffmpeg-extra deb package (version should be close to Opera's chromium version)

# This version can be extracted like this for example
strings /usr/lib/x86_64-linux-gnu/opera/opera | grep -e 'Chrome/.\+'

Extract package or find out where its files got installed

Either:

cat /var/lib/dpkg/info/chromium-codecs-ffmpeg-extra.list

Or:

dpkg -x <package> <dir>

Might be useful

Copy libffmpeg.so to opera install dir

# Declare OPERAVERSION to major opera version number (32,33,34 and so on)
# Declare OPERADIR to /usr/lib/x86_64-linux-gnu/opera-developer,/usr/lib/x86_64-linux-gnu/opera-beta or /usr/lib/x86_64-linux-gnu/opera
sudo mkdir $OPERADIR/lib_extra
sudo cp libffmpeg.so $OPERADIR/lib_extra/libffmpeg.so.$OPERAVERSION
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment