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

Netflix on Linux Ubuntu

  • I am using Linux Ubuntu (18.04) Since I started using Ubuntu I can not watch Netflix, when playing netflix I come to a page abut demands of "HTML5" and "Silvernight" player. Is there anyone who knows a way fixing this and play Netflix on Linux with Opera Browser?

  • Please read this thread here about widevine and you will understand that there is no support for widevine in opera for linux
    https://forums.opera.com/topic/28663/widevine-and-opera

    p.s. Winevide is a key library for playing drm content like netflix.

  • @jimunderscorep okay thanks for help

  • On Ubuntu 16/18 LTS, you can bring support for Netflix by copying the libffmpeg file from Google Chrome. You can run the simple command:

    sudo cp /usr/lib/chromium-browser/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so
  • I can confirm that copying the libffmpeg file from Google Chrome works on Kubuntu 19.04 as well.

  • @NikoZ Also on Linux Mint 19.1 Tessa.

  • Can confirm this works perfectly in Mint 18.3

  • After the most recent Opera update it seems to work out of the box 🙂

    I'm on Mint as well and was just using Firefox for video since I'm lazy. Then updated and it works. Decided to try it after noticing videos on websites were playing more efficiently.

  • Are you on regular opera or snap?
    Also, may I ask what version of chromium does ubuntu have right now in its repos? I assume it is 75.x, which is still compatible with chromium-75-based opera 62.
    Keep in mind though that chromium 76 was released a couple of days ago, so things will break again once ubuntu packages it.

  • @jimunderscorep Cancel that - it doesn't work anymore, after another update. You're right, things broke again lol.

    Regular opera. Yep 76

  • It is because opera was updated to chromium 76.0.3809.132 while chromium on the ubuntu (and debian) repos is still stuck on 76.0.3809.100.
    For once, the opera devs surpassed the ubuntu ones in keeping the package up to date!

  • Hi @jwalker8 You can add the the line/repo: deb http://ppa.launchpad.net/canonical-chromium-builds/stage/ubuntu ubuntu-name-matching-your-mint-version* main to your /etc/apt/sources.list, and update the package (it's already @132 there), or simply download the appropriate pkg for you Ubuntu version from here, and install it manually.
    * e.g. bionic.

    By the way: the version .100 is still working here, when I add a symbolic link to the lib in "/opera's-installation-root/lib_extra/link-to-the-libffmpeg.so".

  • @jwalker8 have you tried running the command,

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

    It requires a recent version of Google Chrome and Opera. This provides a support fix for Netflix, YouTube and Amazon Video.

  • @cegalvao @NikoZ

    Thank you for your feed back.
    I tryed to copy the libffmpeg of Google Chrome (from sudo nautilus session) ... But I can't. My google Chrome is a snap installation. Do you have a tip ?
    Thank you a lot.

  • @pm38
    I have found the reason, I used an snap package.
    I have copied the libffmpeg.so into Opera folder.
    Now video are running on Twitter, but not in netflix.
    Always same error is wrotten : Code d'erreur : O7701-1003
    Widevinecdm is missing. I have chrome also in the same computer and everything is fine with chrome (netflis runs).
    Thank you for your help.

  • My answer below is no longer usable on Ubuntu 19.10 and later.

    @johnnyboycurtis said in Netflix on Linux Ubuntu:

    On Ubuntu 16/18 LTS, you can bring support for Netflix by copying the libffmpeg file from Google Chrome. You can run the simple command:

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

    Please refer to the following article for an updated solution Widevine + H.264 Support on Ubuntu 19.10

    Best,
    Jonathan

  • I have a same problem. If you have google chrome you can do this for widevine.

    ll /opt/google/chrome/WidevineCdm/
    ll /opt/google/chrome/WidevineCdm/_platform_specific/
    ll /opt/google/chrome/WidevineCdm/_platform_specific/linux_x64/

    in this path if you have "libwidevinecdm.so" you have to copy path "widevine_config.json" this file.
    your file like this:

    cat /usr/lib/x86_64-linux-gnu/opera/resources/widevine_config.json
    [
       {
          "preload" : "/opt/google/chrome/libwidevinecdm.so"
       },
       {
          "preload" : "/opt/google/chrome-beta/libwidevinecdm.so"
       },
       {
          "preload" : "/opt/google/chrome-unstable/libwidevinecdm.so"
       }
    ]
    

    first copy "libwidevinecdm.so" /opt/google/chrome
    sudo cp /opt/google/chrome/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so /opt/google/chrome

    then add to this file path widevine_config.json.

    sudo nano /usr/lib/x86_64-linux-gnu/opera/resources/widevine_config.json
    add this line:

      "plugin" : "/opt/google/chrome/libwidevinecdmadapter.so"
    

    then file like this:
    [
    {
    "preload" : "/opt/google/chrome/libwidevinecdm.so",
    "plugin" : "/opt/google/chrome/libwidevinecdmadapter.so"
    },
    {
    "preload" : "/opt/google/chrome-beta/libwidevinecdm.so"
    },
    {
    "preload" : "/opt/google/chrome-unstable/libwidevinecdm.so"
    }
    ]

    don't forget the "," :).
    hope it helps.

  • Consider reviewing the answer on Widevine + H.264 Support on Ubuntu 19.10
    for support Netflix, Amazon Prime, YouTube, etc...

Log in to reply