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

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

    Opera for Linux
    59
    137
    57122
    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 @linuc last edited by styen

      @linuc You need to install git to clone the repo.
      Or download and unpack https://github.com/Ld-Hagen/fix-opera-linux-ffmpeg-widevine/archive/refs/heads/main.zip and make install.sh executable

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

        @styen

        Thank you, I finally made it 🙂

        In the description here:

        https://github.com/Ld-Hagen/fix-opera-linux-ffmpeg-widevine

        should still be under "Requirements":

        3. git (Is needed to clone the repo) sudo apt install git
        

        https://www.atlassian.com/git/tutorials/install-git#linux

        It only needs the commands in point 1. Depending on the distribution with -get or without.

        When executing the script you can answer questions and set the script so that it is automatically executed after every update of Opera. Great!

        I hope it will work forever and ever ... and if not, someone could turn it into an extension for Opera.

        Reply Quote 1
          linuc 1 Reply Last reply
        • linuc
          linuc @linuc last edited by

          @linuc

          Unfortunately I couldn't edit my last post:

          Maybe I can post this link for a summary of the instructions? Unfortunately the server is very slow, ifastnet, but with a little patience the page loads. Sure, everyone can copy the instructions and distribute them further.

          summary of the instructions

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

            @rgplayzmc Thank you for keeping me in the loop, I was inactive lately. I will fix the script and post an updated version as soon as ready.

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

              @linuc It is not (or hardly) possible. Modifying system libraries is absolutely out of scope for a browser extension.

              Reply Quote 1
                linuc 1 Reply Last reply
              • linuc
                linuc @xZero last edited by

                @xzero

                This is a pity. But a negotiated solution has to be found anyway at some point. Until then, the fix from github works fine. Today I got an update from Opera and the script from github was executed automatically. Everything works very well 🙂

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

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

                  My previous solution still works, but you might lose the changes (symlink) when Opera gets updated. At least that happened in my case. Applying the solution manually every time is a pain.
                  You can use this handy script to fix ffmpeg support for you, whenever it gets broken.

                  Fetch the always up to date script from here, or simply use this command to directly download the script:

                  curl -fsSL https://raw.githubusercontent.com/xZero707/opera-fix-ffmpeg/master/opera-fix-ffmpeg.sh -o opera-fix-ffmpeg.sh
                  

                  Remember: When downloading the script from the internet, it is always a good idea to inspect the script first.

                  Run with:

                  sudo /bin/bash opera-fix-ffmpeg.sh
                  

                  or

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

                  or

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

                  The script will install or update snap chromium-ffmpeg and create a symlink to the latest bundled ffmpeg.so, in your opera directory.

                  Note that sudo is required.
                  Tested and working on Linux Manjaro. Should work for other Linux distros as well.
                  Disclaimer: This script is provided as-is. Use at your own responsibility.

                  The script has been updated. It is now moved to the repository here: https://github.com/xZero707/opera-fix-ffmpeg

                  Instructions have been also updated in the quote.

                  @rgplayzmc Please check it out and let me know if this is the fix you expected.

                  Reply Quote 2
                    miyen dopplerduck 2 Replies Last reply
                  • miyen
                    miyen @xZero last edited by

                    @xzero that does not work to me,

                    have to check few more codecs from here - http://security.ubuntu.com/ubuntu/pool/universe/c/chromium-browser/?C=M;O=A

                    currently working only with the codec from "chromium-codecs-ffmpeg-extra_94.0.4606.81-0ubuntu0.18.04.1_amd64.deb"

                    My PC is:
                    Linux Mint 20.2 Cinnamon / kernel 5.4.0-89-generic
                    Opera 80.0.4170.72
                    i5-2500k CPU,

                    i386 codecs does not work to me.

                    Regards

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

                      Easy solution via Terminal (rooted):

                      $ sudo snap install chromium-ffmpeg

                      $ sudo cp /snap/chromium-ffmpeg/current/chromium-ffmpeg-104195/chromium-ffmpeg/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so

                      I chose 104195 version because is the only one workable over Opera version 80.0.4170.72 and Ubuntu 20.04.3 LTS (x86_64; LXQt)

                      Reply Quote 3
                        Dark-2011111 nathaniel 2 Replies Last reply
                      • wykkdraygo
                        wykkdraygo @zarathustra-f90 last edited by

                        @zarathustra-f90 it works for me, too.
                        debian 11
                        ubuntu 21.10

                        thank you.

                        Reply Quote 0
                          1 Reply Last reply
                        • Dark-2011111
                          Dark-2011111 @MarcoRboels last edited by

                          @marcorboels thanks, it's work...

                          Reply Quote 0
                            1 Reply Last reply
                          • nathaniel
                            nathaniel @MarcoRboels last edited by

                            @marcorboels thank you very much, it's working great!

                            Ubuntu 20.04.3 LTS
                            Opera 81.0.4196.54

                            Reply Quote 0
                              1 Reply Last reply
                            • Referenced by  arieljuod arieljuod 
                            • Referenced by  arieljuod arieljuod 
                            • linuc
                              linuc last edited by

                              Hi

                              Since the latest update of Opera some websites crash again. Here's an example:

                              example

                              It seems like this fix is no longer working properly at the moment:

                              https://github.com/Ld-Hagen/fix-opera-linux-ffmpeg-widevine

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

                                @linuc which version of Opera you have? Latest 0.59 version of ffmpeg works only with Opera 82 and crashes with Opera 81. 0.58 works with 81, but crashes with 82.

                                Reply Quote 0
                                  linuc 2 Replies Last reply
                                • linuc
                                  linuc @styen last edited by

                                  @styen

                                  I have 81.0.4196.60. Update was coming yesterday, for Q4OS. I will try now to update out of Opera.

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

                                    @styen

                                    Hm...the update function in Opera Menu is not doing anything. So I tried with the terminal using

                                    sudo apt --only-upgrade install
                                    

                                    so...

                                    q4os@q4os-desktop:~/Desktop$ sudo apt --only-upgrade install opera-stable
                                    Reading package lists... Done
                                    Building dependency tree... Done
                                    Reading state information... Done
                                    opera-stable is already the newest version (81.0.4196.60).
                                    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                                    q4os@q4os-desktop:~/Desktop$
                                    

                                    It looks as I have to be patiently until Q4OS sends the next Opera update? Or what can I do?

                                    Reply Quote 1
                                      styen 1 Reply Last reply
                                    • styen
                                      styen @linuc last edited by

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

                                      @styen

                                      Hm...the update function in Opera Menu is not doing anything. So I tried with the terminal using

                                      sudo apt --only-upgrade install
                                      

                                      so...

                                      q4os@q4os-desktop:~/Desktop$ sudo apt --only-upgrade install opera-stable
                                      Reading package lists... Done
                                      Building dependency tree... Done
                                      Reading state information... Done
                                      opera-stable is already the newest version (81.0.4196.60).
                                      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                                      q4os@q4os-desktop:~/Desktop$
                                      

                                      It looks as I have to be patiently until Q4OS sends the next Opera update? Or what can I do?

                                      Also you may download it directly from opera.com

                                      Reply Quote 1
                                        linuc 2 Replies Last reply
                                      • linuc
                                        linuc @styen last edited by

                                        @styen

                                        Well, I'll see what I do then. In any case, it would be advantageous if the developers of Opera would test the latest version to see whether it really works correctly before it is distributed all over the world! It's pretty sad when a user has a correctly functioning installation and after the update it no longer works correctly 😞

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

                                          @linuc Most probably the problem didn't happen with their testing machines.

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

                                            On Linux Mint 20.2 and with the latest Opera upgrade, I got YT live streaming and Instagram videos playing properly with the following script:

                                            https://github.com/nicolas-meilan/fix-opera-linux-ffmpeg

                                            I've tried it without Chrome installed, though the script recommends to have it installed. The scripts mentioned above resulted in Opera bricked/not even opening for me...

                                            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-