Skip to content

Instantly share code, notes, and snippets.

@scf37
Forked from Thomas-Ln/install_libffmpeg_for_opera_and_vivaldi.md
Created October 12, 2021 19:44
Show Gist options
  • Save scf37/01ab2b81cef2716bb923c0d5059a5e73 to your computer and use it in GitHub Desktop.
Save scf37/01ab2b81cef2716bb923c0d5059a5e73 to your computer and use it in GitHub Desktop.
Install 'libffmpeg.so' in Vivaldi or Opera

Install libffmpeg.so in Vivaldi or Opera

Troubleshooting videos issues in chromium based browsers

1. Download .deb package

Go to http://security.ubuntu.com/ubuntu/pool/universe/c/chromium-browser/
Download the latest 'chromium-codecs-ffmpeg-extra'
( i386 refers to 32bits & amd64 to 64bits version)

2. Extract data.tar.xz

cd <directory-where-you-download-.deb>
ar x <.deb-you-just-download> data.tar.xz

3. then Extract libffmpeg.so

tar -xJf data.tar.xz --strip-components=4 ./usr/lib/chromium-browser/libffmpeg.so

4. Copy libffmpeg.so to browser folder

Find where the browser folder is; usually :

# Vivaldi
cp libffmpeg.so /opt/vivaldi/lib/

# Opera
cp libffmpeg.so /usr/lib/x86_64-linux-gnu/opera

Do this again if the problem returns after updating the browser

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