• 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
    24
    34
    49322
    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.
    • 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
                                  • soltysss
                                    soltysss last edited by

                                    This is stupid, I should't install some codes and use terminal just to be able to use this browser, all other browsers work just fine out of the box. It's WTF moment to be honest. I don't event know why they bother supporting linux version of browser if it's not usable anyway.

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

                                      This works but I had to right-click, 'open as root' in order to paste the libffmpeg.so file.

                                      I know it adds another 15mb or so to the file size, but if you don't do a symlink it is pretty annoying to have to do this every time, when the developers could simply use the correct yet larger file.

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

                                        I have Opera version 107 and libffmpeg.so version .84 from the link above https://github.com/nwjs-ffmpeg-prebuilt/nwjs-ffmpeg-prebuilt/releases

                                        worked for me.

                                        Reply Quote 1
                                          1 Reply Last reply
                                        • Prutser
                                          Prutser last edited by

                                          I am sadly used to it already, made it work via manual downloads and replacing the /usr/lib/x86_64-linux-gnu/opera/libffmeg.so in any form.
                                          Used to do it via snap on fedora, this time i installed mint and just downloaded the zip from github.

                                          You can script it or just do not upgrade your browser automatically and plan it. It basically are just 3 steps to do:

                                          • update your browser, test if media files still work
                                          • download the ffmpeg
                                          • replace the opera supplied file with a symlink or just the new file and restart your browser.

                                          The browser is worth a bit of extra effort in my case, firefox and chrome variants just aint my piece of pie. I read somewhere that Opera could not include the media codec files because of licensing types but not sure how much of that is true.

                                          Reply Quote 1
                                            1 Reply Last reply
                                          • adamspaminator
                                            adamspaminator @jito463 last edited by leocg

                                            @jito463

                                            That's funny, I am in the almost exact opposite situation in that this bug has convinced me to finally completely ditch Windows for desktop use and re-embrace Linux/BSD as a viable daily driver OS.

                                            Running into a show-stopper bug and then being able to fix said bug in 5 minutes with minimal searching reminds me of what Linux on the Desktop is really for. Which is that enjoyment found in being bogged down by random problems which don't occur with other systems/software, using previously developed skills and knowledge to fix the problem in a completely hack manner (as in messy and half-assed) which in turn allows one to develop a massive and completely useless Superiority Complex over the M$/iO$ plebs.

                                            It's good to be back.

                                            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-