• Přihlásit se
    • Hledat
    • Kategorie
    • Nejnovější
    • Značky
    • Uživatelé
    • Skupiny
    • 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
    98703
    Načítání více příspěvků
    • Od nejstarších po nejnovější
    • Od nejnovějších po nejstarší
    • S nejvíce hlasy
    Odpovědět
    • Odpovědět jako Téma
    Přihlásit se pro odpověď
    Toto téma bylo odstraněno. Jen uživatelé s oprávněním správy témat ho mohou vidět.
    • zekemx
      zekemx naposledy upravil

      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

      Odpovědět Citovat 0
        gregurbi 1 odpověď Poslední odpověď
      • gregurbi
        gregurbi @zekemx naposledy upravil

        @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. 🙂

        Odpovědět Citovat 0
          1 odpověď Poslední odpověď
        • johnnyboycurtis
          johnnyboycurtis naposledy upravil

          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
          Odpovědět Citovat 0
            1 odpověď Poslední odpověď
          • maydin95
            maydin95 naposledy upravil

            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.

            Odpovědět Citovat 0
              paulkastel 1 odpověď Poslední odpověď
            • paulkastel
              paulkastel @maydin95 naposledy upravil

              @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

              Odpovědět Citovat 3
                paulkastel 1 odpověď Poslední odpověď
              • mpvrisavant
                mpvrisavant naposledy upravil

                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.

                Odpovědět Citovat 1
                  Bývalý uživatel Bývalý uživatel 2 odpovědí Poslední odpověď
                • Bývalý uživatel
                  Bývalý uživatel @mpvrisavant naposledy upravil

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

                  Odpovědět Citovat 0
                    1 odpověď Poslední odpověď
                  • paulkastel
                    paulkastel @paulkastel naposledy upravil

                    @paulkastel
                    I performed some updates of software and of operating system and Opera lost DRM support - again.

                    (This is joke from creators of Opera, that after all this time it works on macOS and Windows and Linux version of their product is not supported as well).

                    But - good news is that I performed same steps from my instruction but in step 5 I used newer version of codecs: 0.42.4-linux-x64.zip, and Opera ver. 65.0.3467.48 plays Spotify Web again.

                    Odpovědět Citovat 0
                      1 odpověď Poslední odpověď
                    • Bývalý uživatel
                      Bývalý uživatel naposledy upravil

                      As mentioned above the problem is the predefined path of widevine plugin which points to an address which is not valid anymore.

                      1. Install google chrome or download the libwidevinecdm.so
                      2. edit /usr/lib/x86_64-linux-gnu/opera/resources/widevine_config.json and give it the address of the libwidevinecdm.so
                        in my case it was
                        /opt/google/chrome/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so
                      3. restart the opera and it will work fine.
                        I am using Opera 65 on Linux.
                      Odpovědět Citovat 1
                        liewcheonfong 1 odpověď Poslední odpověď
                      • liewcheonfong
                        liewcheonfong @Host naposledy upravil

                        @igitqara this works. remember to clear browser cache too!

                        Odpovědět Citovat 0
                          1 odpověď Poslední odpověď
                        • Bývalý uživatel
                          Bývalý uživatel @mpvrisavant naposledy upravil

                          @mpvrisavant Rally appreciate it!!! This has worked for me😁 😁

                          Odpovědět Citovat 0
                            1 odpověď Poslední odpověď
                          • parasit
                            parasit naposledy upravil

                            Like @paulkastel wrote before "I performed some updates of software and of operating system and Opera lost DRM support - again." I have AGAIN the same situation, but this time above solution just not work.
                            I have new ffmpeg, libwidevinecmd, corrected (again !!!) widevine_config, and still no DRM, no Netflix, no Spotify.
                            This is not annoying anymore, this is a joke. Every #fword update is the same situation.

                            Any suggestions besides switching to Chrome?

                            This time Opera 66.0.3515.44 on Kubunu Linux 19.10

                            Odpovědět Citovat 0
                              parasit Bývalý uživatel 2 odpovědí Poslední odpověď
                            • parasit
                              parasit @parasit naposledy upravil

                              P.S. (Can't edit now) Chrome on the same libs works fine and shows in Components - Widevine 4.10.1610.0, where Opera shows 0.0.0.0

                              Odpovědět Citovat 0
                                1 odpověď Poslední odpověď
                              • maydin95
                                maydin95 naposledy upravil

                                Great. It is broken after Opera 66 update. Chrome version is 79 right now. I have no problem with Youtube videos but I cannot access Spotify.

                                I learned last version from this link: https://dl.google.com/widevine-cdm/versions.txt
                                Then downloaded last Widewine library using this link: https://dl.google.com/widevine-cdm/4.10.1582.2-linux-x64.zip
                                (This is what afore-mentioned script does)

                                All settings are correct but Opera doesn't play DRM content. I have updated this file too: /opt/google/chrome/libwidevinecdm.so

                                # /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"
                                   }
                                ]
                                
                                Odpovědět Citovat 0
                                  1 odpověď Poslední odpověď
                                • Bývalý uživatel
                                  Bývalý uživatel @parasit naposledy upravil

                                  @parasit I also confirm that after upgrading to Opera 66 the above mentioned solution is not working anymore. I have tried different versions of libwidevincdm but none worked. I have switched to Brave, since I had enough of this frustrating issue. All other chrome-based browsers such as Vivaldi and Brave already fixed this stupid problem by simply delivering the widevine with the browser.

                                  Odpovědět Citovat 0
                                    1 odpověď Poslední odpověď
                                  • maydin95
                                    maydin95 naposledy upravil

                                    According to Vivaldi developers there needs to be a manifest.json file for Chromium 79+. I tried to use that manifest file for Opera but I couldn't make it work.

                                    If you want to try yourself here that file: (Make sure you have right version of Widevine)

                                    {
                                        "arch": "x64",
                                        "description": "Widevine Content Decryption Module",
                                        "manifest_version": 2,
                                        "name": "WidevineCdm",
                                        "os": "linux",
                                        "version": "4.10.1582.1",
                                        "x-cdm-codecs": "vp8,vp9.0,avc1,av01",
                                        "x-cdm-host-versions": "10",
                                        "x-cdm-interface-versions": "10",
                                        "x-cdm-module-versions": "4",
                                        "x-cdm-persistent-license-support": false
                                    }
                                    
                                    Odpovědět Citovat 1
                                      1 odpověď Poslední odpověď
                                    • macfly1987
                                      macfly1987 naposledy upravil

                                      I have the same problem. Debian testing system.

                                      Since Opera 66 and above, Widevine support does not work.

                                      I reported the problem to them several times, but no response.

                                      Can the creators of Opera explain why in their browser they can not add built-in libffmpeg and widevine in the browser? Somehow on Windows you do not need to install Google Chrome to have Widevine.

                                      Now there is also a problem with the libffmpeg.so file, because before it was enough to install the appropriate package for Chromium. Now this file is stapled in the browser.

                                      Using Opera on Linux has become very limited and problematic.

                                      @maydin95 , where to upload this file?

                                      Odpovědět Citovat 0
                                        maydin95 1 odpověď Poslední odpověď
                                      • maydin95
                                        maydin95 @macfly1987 naposledy upravil

                                        @macfly1987 I read it from a Vivaldi developer in Vivaldi forum, he said there needs to be a manifest file but I have no what to do.

                                        Odpovědět Citovat 0
                                          burnout426 1 odpověď Poslední odpověď
                                        • zekemx
                                          zekemx naposledy upravil zekemx

                                          @maydin95 Hello and sorry for the delay.. My hard drive broke and I did not had any linux installed to test.

                                          It seems to me that the Opera Developers don't have the intention to support widevine in Opera linux for some reason.

                                          I did many changes and tests.
                                          modified the widevine.config.json from: /opt/google/chrome/libwidevinecdm.so to /opt/google/chrome/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so (and subsecuent) since the latest chrome changed the libwidevinecdm.so location.

                                          I downloaded the latest libffmpeg.so and made sure H.264 support was enabled (Test it on: https://html5test.com/).

                                          I created a soft link using: ln -s /opt/google/chrome/WidevineCdm/_platform_specific/linux_x64/libwidevinecdm.so /opt/google/chrome/ to be able to keep the original widevine_config.json file from opera (This worked great before so I didn't have to modify it everytime opera got updated.

                                          Nothing works... 😞

                                          In conclusion.. Opera doesn't work with widevine anymore (As of today), I hope the Opera Developers would explain why, but probably they don't care about linux users anymore.

                                          I even installed Opera for Windows and noticed that there is a folder named WidevineCdm located at: C:\Users\userprofile\AppData\Roaming\Opera Software\Opera Stable\WidevineCdm\ that seems to be google Chrome's.. so did the same on the linux side and did many tests, I even changed the manifest.json with no success.

                                          I noticed that in the manifest.json file the widevine library for linux is not defined so I did it myself.. Still it doesn't work.

                                          I have to say that I love Opera but since it doesn't work with widevine anymore and unable to watch netflix and listen to spotify I will remove it from my system.

                                          I'll keep you posted just in case it works for me.

                                          Regards
                                          Ezequiel Partida (ZekeMX)

                                          Odpovědět Citovat 1
                                            1 odpověď Poslední odpověď
                                          • burnout426
                                            burnout426 Volunteer @maydin95 naposledy upravil burnout426

                                            @maydin95 said in Widevine and Opera:

                                            @macfly1987 I read it from a Vivaldi developer in Vivaldi forum, he said there needs to be a manifest file but I have no what to do.

                                            You can try asking Ruari. He deals with Linux for Vivaldi and has written all those libffmpeg and widewine scripts for Vivaldi. He used to work for Opera too. If it's something that can be fixed outside Opera with the manifest thing, he probably knows how to do it.

                                            Odpovědět Citovat 1
                                              1 odpověď Poslední odpověď
                                            • 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-