• 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
    6
    23
    8732
    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.
    • stefanw1337
      stefanw1337 last edited by

      So we're back here again, aren't we?

      I have no folder:
      /usr/lib/x86_64-linux-gnu/opera

      I couldn't find any widevind_config.json, so I made one, and tried to follow the guide made waay back on these forums, and read the comments and really, it's kinda messed for me right now.

      Does anyone have an updated guide?

      Running
      Xubuntu 20.04 and
      Opera 68.0.3618.125

      And I have Chrome, and DRM works there.
      Opera devs, please pay attention in class, and fix this once and for all!

      Reply Quote 1
        fonm A Former User 3 Replies Last reply
      • fonm
        fonm @stefanw1337 last edited by fonm

        @stefanw1337

        opera://about
        
        Path
        
        # locate /usr/*/opera
        # locate /opt/*/opera
        # whereis opera
        
        Reply Quote 0
          1 Reply Last reply
        • stefanw1337
          stefanw1337 last edited by stefanw1337

          Paths
          Install: /snap/opera/76/usr/lib/x86_64-linux-gnu/opera (also I tried to write and copy here, read-only, even with chmod 777 and sudo nano)

          Profile: /home/user/snap/opera/76/.config/opera

          Cache: /home/user/snap/opera/common/.cache/opera

          $ locate /usr/*/opera
          /usr/share/bash-completion/completions/opera

          $ locate /opt/*/opera

          $ whereis opera
          opera: /usr/lib/x86_64-linux-gnu/opera /snap/bin/opera

          Reply Quote 0
            1 Reply Last reply
          • fonm
            fonm @stefanw1337 last edited by fonm

            @stefanw1337 said in Widevine and Opera:

            widevind_config.json

            widevind_config.json?

            # whereis opera
            opera: /usr/bin/opera /usr/lib/opera /etc/opera
            
            # ls -lR /usr/lib/opera | grep widevine_config.json
            -rw-r--r-- 1 root root    25 мая 19 21:58 widevine_config.json
            
            # locate /usr/lib/opera | grep widevine_config.json
            /usr/lib/opera/resources/widevine_config.json
            
            # cat /usr/lib/opera/resources/widevine_config.json
            [
              "/opt/google/chrome/WidevineCdm",
              "/opt/google/chrome-beta/WidevineCdm",
              "/opt/google/chrome-unstable/WidevineCdm"
            ]
            
            Reply Quote 0
              stefanw1337 1 Reply Last reply
            • stefanw1337
              stefanw1337 @fonm last edited by

              @fonm

              $ ls -lR /usr/lib/opera | grep widevine_config.json
              ls: cannot access '/usr/lib/opera': No such file or directory

              $ locate /usr/lib/opera | grep widevine_config.json

              $ find . widevine_config.json
              find: ‘widevine_config.json’: No such file or directory

              Reply Quote 0
                fonm 1 Reply Last reply
              • fonm
                fonm @stefanw1337 last edited by

                @stefanw1337
                sudo

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

                  Get the non-snap version of Opera and then see https://www.reddit.com/r/operabrowser/wiki/opera/linux_widevine_config.

                  Reply Quote 0
                    stefanw1337 1 Reply Last reply
                  • stefanw1337
                    stefanw1337 @fonm last edited by

                    @fonm Exactly the same answers. Any more ideas? I need to try the non-snap version I suppose.

                    Reply Quote 1
                      1 Reply Last reply
                    • stefanw1337
                      stefanw1337 @burnout426 last edited by

                      @burnout426 I mean, even after installing snap:
                      $ sudo ls -lR /usr/lib/opera | grep widevine_config.json
                      ls: cannot access '/usr/lib/opera': No such file or directory

                      $ sudo locate /usr/lib/opera | grep widevine_config.json

                      $ sudo find . widevine_config.json | grep widevine_config.json
                      find: ‘widevine_config.json’: No such file or directory

                      Reply Quote 1
                        leocg 1 Reply Last reply
                      • leocg
                        leocg Moderator Volunteer @stefanw1337 last edited by

                        @stefanw1337 I guess that is exactly because your are using the snap version. Did you try the regular version?

                        Reply Quote 1
                          stefanw1337 1 Reply Last reply
                        • stefanw1337
                          stefanw1337 @leocg last edited by

                          @leocg Snap is the regular version, for the everyday user? At least, that's what the store installed for me. The other store was upgraded at some point to the "Snap Store".

                          I haven't been testing that much, as you can see the folders are the same as before. But when I went to check for DRM, it said it had widevide, so I suppose it's fine.

                          Reply Quote 0
                            leocg 1 Reply Last reply
                          • leocg
                            leocg Moderator Volunteer @stefanw1337 last edited by

                            @stefanw1337 Snap is one of the ways to install Opera on Linux. There are also the Deb and RPM packages.

                            Reply Quote 0
                              stefanw1337 1 Reply Last reply
                            • stefanw1337
                              stefanw1337 @leocg last edited by stefanw1337

                              @leocg I know, which is what I did to install the non-snap version(dpkg). But shouldn't the easier option have the most mainstream options and choices for the "normal" more casual user? You know, those new to linux?

                              Edit: seems more software is weird on snap. For instance Spotify.

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

                                To get the snap version of Opera to use proprietary codecs, I guess you need to do something special. I don't know the details, but https://www.google.com/search?q=chromium+ffmpeg+codecs+extra+snap+package might help. The snap-provided codecs must be built for the version of Chromium Opera uses just like with the non-snap version. Then, for Widevine, you might have to do something similar. https://www.google.com/search?q=chromium+widevine+snap might help.

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

                                  @stefanw1337 To fix this on new Opera installations just copy lib: libffmpeg.so to the Opera directory.Terminal command: sudo cp /usr/lib/chromium-browser/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/

                                  Reply Quote 0
                                    stefanw1337 1 Reply Last reply
                                  • fonm
                                    fonm last edited by fonm

                                    archlinux

                                    opera --version 68.0.3618.165
                                    
                                    locate /usr/lib/opera|grep -i ffmpeg
                                    /usr/lib/opera/libffmpeg.so
                                    /usr/lib/opera/lib_extra/libffmpeg.so
                                    /usr/lib/opera/resources/ffmpeg_preload_config.json
                                    
                                    file /usr/lib/opera/libffmpeg.so
                                    /usr/lib/opera/libffmpeg.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), statically linked, BuildID[sha1]=ce701d11f0356081f48723c46e39da4607b6b87b, stripped
                                    
                                    file /usr/lib/opera/lib_extra/libffmpeg.so
                                    /usr/lib/opera/lib_extra/libffmpeg.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), statically linked, not stripped
                                    
                                    du -h /usr/lib/opera/libffmpeg.so
                                    1,7M	/usr/lib/opera/libffmpeg.so
                                    
                                    du -h /usr/lib/opera/lib_extra/libffmpeg.so
                                    4,3M	/usr/lib/opera/lib_extra/libffmpeg.so
                                    
                                    Reply Quote 0
                                      stefanw1337 1 Reply Last reply
                                    • stefanw1337
                                      stefanw1337 @fonm last edited by

                                      @fonm I mean, good for you?

                                      $ locate /usr/lib/opera|grep -i ffmpeg

                                      And for the sake of sudo:
                                      $ sudo locate /usr/lib/opera|grep -i ffmpeg

                                      Nothing. This with both snap and non-snap installed.

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

                                        @kalebesouza said in Widevine and Opera:

                                        @stefanw1337 To fix this on new Opera installations just copy lib: libffmpeg.so to the Opera directory.Terminal command: sudo cp /usr/lib/chromium-browser/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/

                                        $ sudo cp /usr/lib/chromium-browser/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/
                                        cp: cannot stat '/usr/lib/chromium-browser/libffmpeg.so': No such file or directory

                                        $ find . libffmpeg.so | grep libffmpeg.so
                                        find: ‘libffmpeg.so’: No such file or directory

                                        Reply Quote 0
                                          leocg A Former User bobsteel 3 Replies Last reply
                                        • leocg
                                          leocg Moderator Volunteer @stefanw1337 last edited by

                                          @stefanw1337 Do you have Chromium installed?

                                          Reply Quote 0
                                            stefanw1337 1 Reply Last reply
                                          • stefanw1337
                                            stefanw1337 @leocg last edited by

                                            @leocg Chrome, yes.

                                            Reply Quote 0
                                              leocg 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-