Do more on the web, with a fast and secure browser!

Download Opera browser with:

  • built-in ad blocker
  • battery saver
  • free VPN
Download Opera

Widevine + H.264 Support on Ubuntu 19.10

  • There are new changes with the release of Ubuntu 19.10 that interrupt Opera's support for Widevine and H.264 videos. Note that this solution assumes you have Google Chrome installed. I've only had time to test this on Ubuntu.

    With previous iterations of Ubuntu (e.g. 18.04 and 19.04) I was had widevine (Netflix, Amazon Prime) and H.264 (YouTube) support with a simple adjustments. You need to copy over Google Chrome's file over to Opera's directory

    sudo cp /usr/lib/chromium-browser/ /usr/lib/x86_64-linux-gnu/opera/ 

    However, in Ubuntu 19.10 things changed a bit. The file moved to /usr/share/code/ The fix was fairly easy

    sudo cp /usr/share/code/ /usr/lib/x86_64-linux-gnu/opera/

    This returned support for H.264 videos (YouTube). But widefine was still missing. Again, files moved with Ubuntu 19.10's release. Here is where I found the necessary file.

    sudo cp /opt/google/chrome/WidevineCdm/_platform_specific/linux_x64/ /opt/google/chrome/

    Looking at Opera's files we can see that it utilizes Google's files once again.

    (base) jonathan@asus:~$ cat /usr/lib/x86_64-linux-gnu/opera/resources/widevine_config.json 
        "preload" : "/opt/google/chrome/"
        "preload" : "/opt/google/chrome-beta/"
        "preload" : "/opt/google/chrome-unstable/"

    So the fix is to copy that to one of those directories. The above command does so.

    I hope this helps anyone out there encountering this problem. Comments and suggestions are welcome (especially for non-Ubuntu distributions).

  • I've had some issues with the chromium bundled ffmpeg library but iteufel/nwjs-ffmpeg-prebuilt works just fine.

    Just in case someone stumbles across ffmpeg issues.

  • @romanzipp are you using Google Chrome from ? You should download the .deb file from that source to install Google Chrome. Don't use Chromium or snap to install Google Chrome. This applies to Opera as well. Download Opera from .

Log in to reply