• 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

    Video and Opera does not seem to be going good on Linux Mint

    Opera for Linux
    23
    33
    47714
    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.
    • lavanyadeepak 0
      lavanyadeepak 0 last edited by

      I recently switched to Linux Mint from Windows 11. Facing the following issues with Opera not able to play videos on Twitter or Facebook. Interestingly I guess Youtube is able to manage the show though.

      Tried these and after reboot Opera itself does not launch. Had to purge opera totally and reinstall again.

      sudo rm /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so
      sudo ln -s /usr/lib/chromium-browser/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/
      sudo apt install snapd
      sudo snap install core
      sudo snap install chromium-ffmpeg
      sudo mkdir /usr/lib/x86_64-linux-gnu/opera/lib_extra
      sudo ln -s /snap/chromium-ffmpeg/current/chromium-ffmpeg-98516/chromium-ffmpeg/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/lib_extra
      
      Reply Quote 0
        mochica 1 Reply Last reply
      • myswtest
        myswtest last edited by

        All works here (though I would never use Twit or FB).

        In contrast, I use openSuse Tumbleweed (four machines) with Opera installed natively. I do have a a fifth v-machine running MicroOS Kalpa with Opera as a Flatpak. (personally I would never use snap).

        Have you tried installing Opera natively?

        Reply Quote 0
          lavanyadeepak 0 1 Reply Last reply
        • lavanyadeepak 0
          lavanyadeepak 0 @myswtest last edited by

          @myswtest By native, did you mean downloading the .DEB file and running it through package manager?

          Reply Quote 0
            myswtest 1 Reply Last reply
          • myswtest
            myswtest @lavanyadeepak 0 last edited by

            @lavanyadeepak-0 said in Video and Opera does not seem to be going good on Linux Mint:

            @myswtest By native, did you mean downloading the .DEB file and running it through package manager?

            Exactly! (I assume you're using Snap?)

            Reply Quote 0
              lavanyadeepak 0 1 Reply Last reply
            • lavanyadeepak 0
              lavanyadeepak 0 @myswtest last edited by

              @myswtest No. Opera was installed using the following command

              sudo apt-get install opera-stable
              

              These were the package sources configured to enable the abovesaid updates.

              deb [arch=amd64 signed-by=/usr/share/keyrings/opera.gpg] https://deb.opera.com/opera-stable/ stable non-free
              
              deb https://deb.opera.com/opera-stable/ stable non-free #Opera Browser (final releases)
              

              I guess these are the same when we download the .DEB and run through package manager which the DEB will use internally.

              Reply Quote 0
                styen 1 Reply Last reply
              • styen
                styen @lavanyadeepak 0 last edited by styen

                @lavanyadeepak-0 Use https://github.com/Ld-Hagen/fix-opera-linux-ffmpeg-widevine
                But first reinstall opera

                sudo apt reinstall opera-stable
                
                Reply Quote 4
                  StevieDeeee shelleyfrank danielpvn s58302 MrBaloo11 5 Replies Last reply
                • mochica
                  mochica @lavanyadeepak 0 last edited by

                  @lavanyadeepak-0 Some browsers for Linux lacks the proper video codecs. The solution is to download the library that provide those: libffmpeg.so
                  Download it and replace the one that comes with the Opera installation. A word, everytime a mayor update is installed, chances are that the libffmpeg.so library is going to be replace with one that could not provide the proper codecs. So keep it handy the latest version and the howto info (I am providing this info like this,in order that a less experienced user could fix this issue)

                  Codec: https://github.com/nwjs-ffmpeg-prebuilt/nwjs-ffmpeg-prebuilt/releases
                  Get the 0.78.1-linux-x64.zip

                  Extract it and with admin rights, copy it in (if using File browser, get admin permission by File - Open as Administrator. A new window will open). Copy it from download location and paste and replace the one in the following folder:
                  /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so
                  /usr/lib/x86_64-linux-gnu/opera/lib_extra folder/libffmpeg.so (just in case)

                  Reply Quote 7
                    Robgo jedi-am lavanyadeepak 0 typeoftian 4 Replies Last reply
                  • Robgo
                    Robgo @mochica last edited by

                    @mochica Thank you for your post, I love anons like you solving strangers problems, I log in to this forum just to thank you, you posted the simplest solution to this issue, hopefully opera will fix this in the future or they need pin this post on the opera linux subforum so people don't go on rabbit holes trying to solve this issue..

                    Reply Quote 1
                      1 Reply Last reply
                    • jedi-am
                      jedi-am last edited by jedi-am

                      Hi,
                      this is not specific to mint / ubuntu

                      But also all debian base distro and fedora.

                      I dont understand why opera team since they decide release a complete redesign browser, why didnt fix the problem witn .deb and .rpm packages for linux.

                      Why not make the browser search for codec package like ffmeg, openH264 in user machine. Why no Ask to install ?

                      A browser like Brave automatically detect the codecs and works fine even with a snap codec base.

                      In some old posts alredy asked this, Why Opera still does not Fix this? i dont want to install / to use snap if i am using fedora, mint , popOS, etc.

                      Please fix this, just use openH264 ( with libopenh264 decoder) inside of Opera or Fix the Paths to find which codecs the user machine has.

                      Maybe i will create a seprate post about, because the old one about this issue was closed which i dont agree with the solution.
                      Thanks

                      Reply Quote 1
                        1 Reply Last reply
                      • jedi-am
                        jedi-am @mochica last edited by jedi-am

                        @mochica

                        This is only valid for chromium base browsers like opera, brave vivaldi, etc. because few years ago the codes were removed from chromium.

                        However, for example brave, when i install ffmeg or have open264 or even the snap code version installed, it finds one of this codecs and the videos works fine in brave.

                        However in Opera, expects the folder in the one of folders of the opera browser, which is wrong and they should fix this way.

                        Reply Quote 1
                          1 Reply Last reply
                        • lavanyadeepak 0
                          lavanyadeepak 0 @mochica last edited by

                          @mochica I tried this route and Opera totally started crashing its tabs.

                          Screenshot from 2023-08-19 19-46-45.png

                          Reply Quote 0
                            mochica vbnvbn RubensMatos 3 Replies Last reply
                          • Referenced by  lavanyadeepak 0 lavanyadeepak 0 
                          • Referenced by  jedi-am jedi-am 
                          • Referenced by  jedi-am jedi-am 
                          • Referenced by  jedi-am jedi-am 
                          • mochica
                            mochica @lavanyadeepak 0 last edited by

                            @lavanyadeepak-0
                            19fe5fd5-7820-4a21-ac56-567bb1df12d6-image.png

                            Make sure the chromiun libffmpeg version matches your Opera Installation.
                            I've uninstalled Opera using the Software Manager and installed this version:

                            638dec97-a045-4ad3-a89a-3e75ab8c6732-image.png

                            Then I replaced the libffmpeg with the one from the 0.78.1-linux-x64.zip in this folder: /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so

                            Reply Quote 1
                              mochica Steviedeeee69 2 Replies Last reply
                            • mochica
                              mochica @mochica last edited by

                              @mochica 3516ed02-80ec-40a6-8a49-6ad7fb170aff-image.png

                              Reply Quote 0
                                1 Reply Last reply
                              • StevieDeeee
                                StevieDeeee @styen last edited by

                                @styen Thanks!

                                Reply Quote 0
                                  1 Reply Last reply
                                • vbnvbn
                                  vbnvbn @lavanyadeepak 0 last edited by

                                  @lavanyadeepak-0 try an older version of libffmpeg.so from the link provided by @mochica - e.g. 0.78.0

                                  If that doesn't solve the problem, check the driver for your graphics/video adapter you use - it may be inappropriate - e.g. if you use xserver-xorg-video-nouveau, some old nvidia graphics adapters are no longer supported by it - for example many 2D apps may work, but some apps, which use hardware acceleration may not.

                                  Reply Quote 0
                                    lavanyadeepak 0 1 Reply Last reply
                                  • lavanyadeepak 0
                                    lavanyadeepak 0 @vbnvbn last edited by lavanyadeepak 0

                                    @vbnvbn How are other browsers on the same platform able to manage and run the show seamlessly?

                                    Reply Quote 0
                                      vbnvbn 1 Reply Last reply
                                    • vbnvbn
                                      vbnvbn @lavanyadeepak 0 last edited by

                                      @lavanyadeepak-0 If other chromium-based browsers work flawlessly with the hardware acceleration option switched on, then find the appropriate libffmpeg.so version for you. Use these links:

                                      https://repo.herecura.eu/herecura/x86_64/

                                      https://launchpad.net/ubuntu/+source/chromium-browser

                                      https://launchpad.net/~savoury1/+archive/ubuntu/chromium

                                      https://github.com/nwjs-ffmpeg-prebuilt/nwjs-ffmpeg-prebuilt/releases

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

                                        I am using th libffmpeg.so from the Slack installation. Bottom line, if you already have libffmpeg.so installed, just backup /usr/lib64/opera/libffmpeg.so and then do a symlink for /usr/lib/slack/libffmpeg.so.

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

                                          You know, I have to thank the Opera team. Because of this issue after installing Linux on my work PC, I have finally decided to ditch ChrOpera once and for all. It's been a long time coming, with multiple aggravations/ irritations, and this just made it easy to take the final step. I was going to try and fix the issue with the above steps, but I'm finally fed up.

                                          So thank you Opera dev team.

                                          Reply Quote 1
                                            DarkMac78 adamspaminator 2 Replies Last reply
                                          • DarkMac78
                                            DarkMac78 @jito463 last edited by

                                            @jito463 I feel you. Sadly I think this is the roadmap for me too 😞

                                            Reply Quote 1
                                              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-