• Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Rules
    • Help

    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 and Opera

    Opera for Linux
    28
    69
    96498
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • leocg
      leocg Moderator Volunteer @zekemx last edited by

      Did you try the tip I've posted?

      Reply Quote 0
        1 Reply Last reply
      • fiambredunicornio
        fiambredunicornio last edited by

        What I did was install chrome and copied the widevine file to a different directory (cp /opt/google/chrome/libwidevinecdm.so /opt/widevine/), then edited /usr/lib/x86_64-linux-gnu/opera/resources/widevine_config.json to preload that new location. Then proceeded to purge google chrome and it kept working on opera.
        Hope this can help

        Reply Quote 1
          zibi1981 A Former User 2 Replies Last reply
        • zibi1981
          zibi1981 @fiambredunicornio last edited by

          @fiambredunicornio Does this mean you were able to make Widevine/DRM work on Opera? What does this page say to you?

          Reply Quote 0
            burnout426 1 Reply Last reply
          • burnout426
            burnout426 Volunteer @zibi1981 last edited by

            @zibi1981 Widevine has worked again for a while on Linux in Opera. Netflix still wasn't working but Netflix fixed the issue themselves on 5/23/2019 and it was confirmed fixed by Opera. Also, this user confirmed it's fixed on Ubuntu for example. Proprietary codecs are still working correctly in Opera too. see <https://www.reddit.com/r/operabrowser/comments/bcjpne/howto_opera_60_h264_in_ubuntu_1404/ for example. Things have been tested on the page you mention too.

            Reply Quote 0
              1 Reply Last reply
            • zekemx
              zekemx last edited by

              Hello

              It all has to do with "libffmpeg.so" included with opera for Linux.
              Replace it with this one - > https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/

              Once replaced you will have h264 and widevine support.

              I looked everywhere to fix widevine support, but once I found out how to fix h264 that widevine (AFAIK) requires, everything started working.

              It's too bad Opera hasn't fix this or doesn't care...

              I hope this helps..

              Regards
              Ezequiel Partida

              Reply Quote 5
                A Former User 1 Reply Last reply
              • A Former User
                A Former User @fiambredunicornio last edited by

                @fiambredunicornio thnx, this works for me

                Reply Quote 0
                  1 Reply Last reply
                • A Former User
                  A Former User @zekemx last edited by

                  @zekemx said in Widevine and Opera:

                  Hello

                  It all has to do with "libffmpeg.so" included with opera for Linux.
                  Replace it with this one - > https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/

                  Once replaced you will have h264 and widevine support.

                  I looked everywhere to fix widevine support, but once I found out how to fix h264 that widevine (AFAIK) requires, everything started working.

                  It's too bad Opera hasn't fix this or doesn't care...

                  I hope this helps..

                  Regards
                  Ezequiel Partida

                  Hi. New user. This worked for me after trying absolutely everything. Realy, thank you. More specified, for not advanced users of linux like me:

                  1. Downloaded, in the download folder, the latest libffmpeg.so from https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/
                  2. In the terminal, replaced the original Opera file in the sistem with the newer version I downloaded, did this:
                  3. A) Went to the folder where I downloaded the file with the "cd" command (note that the folder is named Descargas, in spanish): cd Descargas
                  4. 😎 Then, moved the file (need the sudo command): sudo cp libffmpeg.so /usr/lib/x86_64-linux-gnu/opera

                  Now, can use Spotify perfectly, as well as Netflix.

                  Thanks.

                  Reply Quote 6
                    A Former User 1 Reply Last reply
                  • A Former User
                    A Former User last edited by

                    Can someone prove or confirm that spotify uses drm, so as to justify the use of libwidevine that this thread is about?
                    Else, if everything is fixed by installing the "other" libffmpeg, it is not a drm issue, but the wll known "poor codec support" one.

                    Reply Quote 1
                      zekemx 1 Reply Last reply
                    • A Former User
                      A Former User @Guest last edited by

                      @Pibe Thank you for your tip.
                      Unfortunatly it doesn't work for me.
                      I have opera 63 on linux 64 bit.
                      I have done each step you recommand and after I have the error :
                      Code d'erreur : O7701-1003
                      Impossible to find WidevineCdm on the computer.
                      I have chrome on the same computer and it works fine.

                      Reply Quote 0
                        gregurbi 1 Reply Last reply
                      • gregurbi
                        gregurbi @Guest last edited by

                        @pm38 said in Widevine and Opera:

                        @Pibe Thank you for your tip.
                        Unfortunatly it doesn't work for me.
                        I have opera 63 on linux 64 bit.
                        I have done each step you recommand and after I have the error :
                        Code d'erreur : O7701-1003
                        Impossible to find WidevineCdm on the computer.
                        I have chrome on the same computer and it works fine.

                        It doesn't work for me too.

                        Reply Quote 0
                          zekemx 1 Reply Last reply
                        • zekemx
                          zekemx @Guest last edited by

                          @jimunderscorep Hi,.... Opera did not work with spotify but once I replaced libffmpeg.so from https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/ spotify started working great.

                          Reply Quote 1
                            1 Reply Last reply
                          • zekemx
                            zekemx @gregurbi last edited by

                            @gregurbi what distro do you use?.

                            In some distros you need to add libffmpeg.so to /usr/lib/x86_64-linux-gnu/opera

                            I'm using Mageia 7.1 64bit and I had to install it to /usr/lib64/opera

                            Just replace the one that comes included with your opera installation with the one from https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/

                            Regards

                            Reply Quote 1
                              1 Reply Last reply
                            • zekemx
                              zekemx last edited by

                              One tip...

                              Visit https://html5test.com and make sure H.264 support is enabled on the Video Section.. otherwise widevine will not work.

                              It seems widevine requires H.264 support.

                              Regards

                              Reply Quote 0
                                1 Reply Last reply
                              • zekemx
                                zekemx last edited by

                                Update:

                                I just noticed that widevine stop working with my opera Version:64.0.3417.83. The problem is that Google Chrome change their libwidevinecdm.so location from /opt/google/chrome/libwidevinecdm.so" to: opt/google/chrome/WidevineCdm/_platform_specific/linux_x64/

                                All you have to do is modify your widevine_config.json in the resources folder of your opera (Mine is in /usr/lib64/opera folder)...

                                Regards
                                Ezequiel

                                Reply Quote 0
                                  gregurbi 1 Reply Last reply
                                • gregurbi
                                  gregurbi @zekemx last edited by

                                  @zekemx said in Widevine and Opera:

                                  Update:

                                  I just noticed that widevine stop working with my opera Version:64.0.3417.83. The problem is that Google Chrome change their libwidevinecdm.so location from /opt/google/chrome/libwidevinecdm.so" to: opt/google/chrome/WidevineCdm/_platform_specific/linux_x64/

                                  All you have to do is modify your widevine_config.json in the resources folder of your opera (Mine is in /usr/lib64/opera folder)...

                                  Regards
                                  Ezequiel

                                  Thx, it works. 🙂

                                  Reply Quote 0
                                    1 Reply Last reply
                                  • johnnyboycurtis
                                    johnnyboycurtis last edited by

                                    I'm currently watching Netflix right now on Ubuntu 19.10 using the solution: Widevine + H.264 Support on Ubuntu 19.10.

                                    • Opera version 62.0.3331.116
                                    Reply Quote 0
                                      1 Reply Last reply
                                    • maydin95
                                      maydin95 last edited by

                                      If you don't want to install Google Chrome you can follow these steps:

                                      Go here: https://gist.github.com/ruario/3c873d43eb20553d5014bd4d29fe37f1
                                      Download the script then run. It will automatically download libwidevinecdm.so to opt/google/chrome/libwidevinecdm.so.

                                      In Opera 64 on Ubuntu 18.04, that directory defined inside /usr/lib/x86_64-linux-gnu/opera/resources/widevine_config.json. It might change in future versions, so keep in mind.

                                      I just tested on Spotify Web Player, which works perfect.

                                      Reply Quote 0
                                        paulkastel 1 Reply Last reply
                                      • paulkastel
                                        paulkastel @maydin95 last edited by

                                        @maydin95 You are hero!

                                        For everyone who is struggling with ths widevine DRM nightmare, and still have problems with "Enable secure playback in your browser" (or other) on Spotify Web Player using Opera here is what I did step by step (for newbie like me that are new to linux) to fix it:

                                        I am using Opera 64.0.3417.92 and Deepin Linux 15.11.

                                        1. Close all web-browsers.

                                        2. Download this file https://gist.github.com/ruario/3c873d43eb20553d5014bd4d29fe37f1 then execute it in terminal

                                        sudo sh latest-widevine.sh
                                        

                                        This will download newest version of widevine (for today this is 4.10.1440.19) to /opt/google/chrome folder.

                                        1. Using command
                                        cd /usr/lib/x86_64-linux-gnu/opera/resources/
                                        

                                        or file manager go to this folder and edit file widevine_config.json

                                        I edited it so it looks this way:
                                        c373e104-5be5-4143-b1ae-914b93661586-image.png
                                        (I don't know if it is super correct, but whatever)

                                        1. Go to folder /usr/lib/x86_64-linux-gnu/opera and remove not working proprietary codecs file using command
                                        sudo rm -f libffmpeg.so
                                        
                                        1. Download this: https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/
                                          (For today I used 0.41.3-linux-x64.zip)
                                          Extract file
                                        libffmpeg.so
                                        

                                        and copy it to the folder where you removed not working version with command:

                                        sudo cp ~/Downloads/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/
                                        
                                        1. Run Opera browser. Visit https://bitmovin.com/demos/drm . If everything went OK then you will see
                                          0c84d0e9-6c48-44a6-b895-fc4c45d8d7b3-image.png

                                        That mean that Spotify and Netflix should run on Opera browser without any issues.

                                        Proof (that everything is working with Opera as well on Google Chrome)
                                        b8e25479-3d74-4a77-aa3d-529de805a6d1-image.png

                                        Reply Quote 3
                                          paulkastel 1 Reply Last reply
                                        • mpvrisavant
                                          mpvrisavant last edited by

                                          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.

                                          Reply Quote 2
                                            A Former User yukiusa 2 Replies Last reply
                                          • A Former User
                                            A Former User @mpvrisavant last edited by

                                            @mpvrisavant It worked for me in Opera 65.0.3467.48. Thank for sharing

                                            Reply Quote 0
                                              1 Reply Last reply
                                            • First post
                                              Last post

                                            Computer browsers

                                            • Opera for Windows
                                            • Opera for Mac
                                            • Opera for Linux
                                            • Opera beta version
                                            • Opera USB

                                            Mobile browsers

                                            • Opera for Android
                                            • Opera Mini
                                            • Opera Touch
                                            • Opera for basic phones

                                            • Add-ons
                                            • Opera account
                                            • Wallpapers
                                            • Opera Ads

                                            • Help & support
                                            • Opera blogs
                                            • Opera forums
                                            • Dev.Opera

                                            • Security
                                            • Privacy
                                            • Cookies Policy
                                            • EULA
                                            • Terms of Service

                                            • About Opera
                                            • Press info
                                            • Jobs
                                            • Investors
                                            • Become a partner
                                            • Contact us

                                            Follow Opera

                                            • Opera - Facebook
                                            • Opera - Twitter
                                            • Opera - YouTube
                                            • Opera - LinkedIn
                                            • Opera - Instagram

                                            © Opera Software 1995-