• 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

    The Videos Don't Play Topic

    Opera for Linux
    playback error playback issues video videos
    142
    333
    390057
    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.
    • 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 @Guest 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 @Guest 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
                      • Firigion
                        Firigion @xZero last edited by

                        @xzero Right now, if I rerun the script it just says that Symlink is already up to date. Nothing to do., and the first time I ran it, it output all the good output messages (I read the script to see what it did, so I saw the conditions for the output messages. The fact that Opera for Ubuntu 20.04 works out of the box for you is... well, strange? Since it doesn't for me. Maybe the issue was that I ran it with Opera running. I'll reinstall it sometime later when I don't need to use it.

                        Reply Quote 1
                          1 Reply Last reply
                        • operafan123
                          operafan123 @nickonicko last edited by

                          @nickonicko said in Solving the problem of the Opera browser with video playback in Ubuntu and similar distributions (Linux Mint, KDE neon):

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

                          When I symlink that library Opera refuses to start. Changing in back to the original library, and Opera works again

                          Reply Quote 0
                            sgunhouse 1 Reply Last reply
                          • sgunhouse
                            sgunhouse Moderator Volunteer @operafan123 last edited by

                            @operafan123 Did you install the right version for your version of Opera? What version of Chromium is listed on the About Opera page?

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

                              @sgunhouse

                              Version:75.0.3969.93
                              Opera is up to date
                              Update stream:Stable
                              System:Linux Mint 20.1 (x86_64; X-Cinnamon)
                              Rate Opera
                              Opera help
                              Browser identification
                              Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.82 Safari/537.36 OPR/75.0.3969.93

                              Reply Quote 1
                                sgunhouse 1 Reply Last reply
                              • sgunhouse
                                sgunhouse Moderator Volunteer @operafan123 last edited by

                                @operafan123 And did you install the codecs for Chromium 89.0?

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

                                  @sgunhouse said in Solving the problem of the Opera browser with video playback in Ubuntu and similar distributions (Linux Mint, KDE neon):

                                  @operafan123 And did you install the codecs for Chromium 89.0?

                                  I simply followed the instructions from the above original post

                                  "First of all, you need to install the chromium-codecs-ffmpeg-extra package. You can do this using the terminal with the following command:

                                  sudo apt install chromium-codecs-ffmpeg-extra

                                  Usually the second step is to create a symlink for the file libffmpeg.so, but since now the Opera browser delivers a file with this name (but not solving the problem), we will delete it and then create a simlink to the new file. File deletion:

                                  sudo rm /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so

                                  Creating a simlink:
                                  sudo ln -s /usr/lib/chromium-browser/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/"

                                  I will also add that a fresh install does not work - even on a new machine, yet a fresh install of Vivaldi, and Chrome both work with Netflix without problems

                                  Reply Quote 0
                                    sgunhouse 1 Reply Last reply
                                  • sgunhouse
                                    sgunhouse Moderator Volunteer @operafan123 last edited by

                                    @operafan123 Netflix will also require widevine.

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

                                      @sgunhouse said in Solving the problem of the Opera browser with video playback in Ubuntu and similar distributions (Linux Mint, KDE neon):

                                      @operafan123 Netflix will also require widevine.

                                      Of course, and it's there and updated to the latest

                                      Reply Quote 0
                                        nneo16 1 Reply Last reply
                                      • nneo16
                                        nneo16 @truden last edited by

                                        @truden said in The Videos Don't Play Topic:

                                        @PixCatholica, I did some research and replaced libffmpeg.so with the one I downloaded from https://packages.ubuntu.com/xenial-updates/amd64/chromium-codecs-ffmpeg-extra/download
                                        Download the package, find libffmpeg.so in it and extract it.
                                        Open /usr/lib/x86_64-linux-gnu (this path may vary) click with right mouse button on "opera" folder and "Open as Root". Replace the libffmpeg.so with the new file.
                                        Now you can play videos.

                                        Thanks, this works for me, Opera 75 on Debian 10.

                                        Lol, I even reported a bug to Opera team before this.

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

                                          @operafan123 Try rename the original file and replace with that file from chromium package. I don't understand why we should use a symlink here.

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

                                            @zarathustra-f90
                                            Thanks, this worked for me to on Ubuntu 20.04 and Opera installed with APT.

                                            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-