Navigation

    • 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

    [Solved]Solving the problem of the Opera browser with video playback in Ubuntu and similar distributions (Linux Mint, KDE neon)

    Opera for Linux
    solved
    68
    151
    91129
    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.
    • annevance
      annevance @annevance last edited by

      @annevance Indeed I have more video playbacks, but the live tv broadcasts which I watch with the VPN of that country still don't work on Opera, giving a DRM error.
      When this is not solved the browser is useless, unfortunately.

      Reply Quote 0
        xZero 1 Reply Last reply
      • xZero
        xZero @annevance last edited by xZero

        @annevance Give a try to my script above (very last post).

        Reply Quote 0
          annevance 1 Reply Last reply
        • annevance
          annevance @xZero last edited by

          @xZero Sorry, I did, but still no go.
          I can find the original ffmpeg.so in the opera directory.
          I also have your ffmpeg.so . Even when I login as admin, or sudo in terminal, the directory is "read only" and I cannot move the file.
          I tried to use opera every few years, but always the same. Nice layout, clean but not suitable for drm broadcast.

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

            @annevance For DRM you need:
            libwidevinecdm.so 8.9 MB in
            /opt/google/chrome/WidevineCdm/_platform_specific/linux_x64/
            ssox_1927.png

            Reply Quote 0
              1 Reply Last reply
            • lu-menard
              lu-menard last edited by

              Linux Mint 19.3 problem fixed
              I installed the Chromium-codecs-ffmpeg-extra package v86.0.4240.198-0ubuntu0.18.04.1 DEB File using Gdebi from this link
              https://launchpad.net/ubuntu/bionic/amd64/chromium-codecs-ffmpeg-extra/86.0.4240.198-0ubuntu0.18.04.1

              Reply Quote 2
                1 Reply Last reply
              • zarathustra-f90
                zarathustra-f90 @lu-menard last edited by This post is deleted!
                Reply Quote 0
                  1 Reply Last reply
                • alex1real
                  alex1real @leocg last edited by

                  @leocg a browser that doesn't play videos is not only a issue, but a major issue. No matter if it's legal, commercial or technical.
                  It's sad, I liked using Opera in my windows machine and it's a pity that you don't have a useful version on Linux.
                  I'm not watching videos all the time, but it's very frustrating need to open chrome for playing a video when it's needed.
                  I'm migrating back to chrome, and I'm sure that many people is doing the same.

                  Reply Quote 3
                    leocg marek-online xZero 3 Replies Last reply
                  • leocg
                    leocg Moderator Volunteer @alex1real last edited by

                    @alex1real Ok, goodbye.

                    Reply Quote 2
                      1 Reply Last reply
                    • marek-online
                      marek-online @alex1real last edited by

                      @alex1real I migrated to vivaldi on my linux mint workstation.

                      Reply Quote -1
                        drpeppercan 1 Reply Last reply
                      • xZero
                        xZero @alex1real last edited by

                        @alex1real to you and all folks here that keep complaining: Opera is a free web browser generously offered to the world by it's authors. You can't really expect, nor you should complain for missing functionality due to legal issues. Be grateful for what you got here, as it's far more than you "pay" for.

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

                          @xZero OK Mr Zero times by zero.

                          • "@xZero to you and all folks here that keep complaining about us unthankfull deplorables: We, the common users, all know well that the deficient Who-Know-What-Its-Name (aka Crap) is a free web browser generously offered to the world by it's authors. We can really expect nothing, nor we complain for limited functionality due to unknown issues. We are more grateful for what we got here, thanks to your Sauron's vigilant Eye attitude and corrective policy attitude.
                          Reply Quote 0
                            1 Reply Last reply
                          • Firigion
                            Firigion @xZero last edited by

                            @xzero Thing is, my Opera (73.0.3856.344 in Ubuntu 20.04.1) seems to not be installed in /usr/lib/opera. Opening the about page in the browser informs me that it's actually installed in snap/opera/106/usr/lib/x86_64-linux-gnu/opera, which as it turns out it's a read-only directory.
                            I later learned about the locate -b opera command, which tells me that that's the only directory that contains packages opera uses (I was expecting to find duplicates somewhere).
                            Any clue what can be done here, if anything? This is my first Linux distro, I used to use Opera in Windows and loved it, hence why I'd really want to keep it now in Ubuntu, don't wanna migrate to Firefox or Chrome.

                            Reply Quote 0
                              xZero starsent 2 Replies Last reply
                            • nickonicko
                              nickonicko @zarathustra-f90 last edited by

                              @zarathustra-f90
                              Thank you for your help.
                              It works !!!

                              Reply Quote 0
                                operafan123 1 Reply Last reply
                              • xZero
                                xZero @Firigion last edited by xZero

                                @firigion My script supports overriding default directory. You just shall call it like so:

                                sudo /bin/bash opera-fix-ffmpeg.sh /path/to/your-opera-installation
                                

                                Not sure how to work around snap Opera though. You see, snap is by default just an image that provides all dependencies to Opera. Naturally so, you cannot modify it, therefore read-only directory.

                                @annevance This explains why my script doesn't work for you. I doubt any solution here will work for Snap packaged Opera, unless you can make Opera load the library from somewhere else.

                                Reply Quote 0
                                  Firigion 1 Reply Last reply
                                • Firigion
                                  Firigion @xZero last edited by

                                  @xzero I ended up deleting my installation and re-installing opera, an now the installation directory is somewhere in /usr/lib, not in /snap. Now I ran your script and it said it worked correctly, but stuff like Netflix and Spotify still didn't work after resetting the browser. Is there something else I can take a look at to maybe fix it?

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

                                    Live streams on youtube and twitch didn't work, this fixed it, thank you. Lubuntu btw

                                    Reply Quote 0
                                      1 Reply Last reply
                                    • drpeppercan
                                      drpeppercan @xZero last edited by

                                      @xzero Unfortunately this didn't work for me in Pop OS. It did the opposite: Opera wouldn't open afterwards. It did again when I renamed the libffmpeg.so back to its original name though.
                                      I am so tired of this issue that I resorted to install Spotify as a stand-alone app.

                                      Reply Quote 1
                                        elomir 1 Reply Last reply
                                      • drpeppercan
                                        drpeppercan @marek-online last edited by

                                        @marek-online Is Spotify integrated into Vivaldi as it is in Opera?

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

                                          @Firigion Can you post script output?
                                          Weird that it doesn't work, because it does work for me every time I need it. But again, I use Manjaro which is very different from Ubuntu/Debian. I'll try testing this script more in different distributions VM-s.

                                          @drpeppercan Can you send the script output? It feels like it didn't do everything it should have done.

                                          • Script creates backup of libffmpeg.so by renaming it
                                          • Script then installs new version of libffmpeg through snap and creates symbolic link named "libffmpeg.so" that points to the newly installed libffmpeg snap.
                                          • Script is basically wrapper of multiple solutions found in this thread.
                                          Reply Quote 0
                                            xZero 1 Reply Last reply
                                          • xZero
                                            xZero @xZero last edited by xZero

                                            I have tested a bit.

                                            • On Ubuntu 20.04, snap opera works out of the box. Opera deb from the official website doesn't, but my script fixes it just fine by supplying Opera path as argument '/usr/lib/x86_64-linux-gnu/opera'.

                                            I'll test more on Pop OS and other distros.
                                            In meanwhile, make sure to close the Opera before running the script, as that could cause issues.

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