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
    91640
    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.
    • 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 @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 @zarathustra-f90 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
              • RungeKutta
                RungeKutta last edited by

                Hi, I create a script to download and install ffmpeg lib on linux and fix this problem with opera:

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

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

                  I re-package this into a 'portable' version for the Puppy Linux community. Portable applications work very well for Puppy's somewhat unusual method of operation.

                  I get libffmpeg.so & Widevine for Opera by the simple expedient of using the updater scripts supplied by Vivaldi for their browser. As noted above, it doesn't matter how you actually obtain these; what matters is that you end up with the specific version compiled to work with the particular release of Chromium that Opera has been built around.

                  If you run the script from your /home 'user' directory, the scripts will write the 'codecs' directory, containing libffmpeg.so, to /var/opt. You'll get a sym-link appear which you can delete; simply copy libffmpeg.so across to the location where Opera expects to find it.

                  Bob's yr uncle; sorted.

                  Mike. 👍

                  (EDIT:- Apologies to anyone who wants terminal commands to do the above. We don't really use these all that much in Puppy; we tend to 'dive-in' to the file-system & physically move stuff around to suit.....and the 'portable' version doesn't use 'standard' locations anyway!)

                  Reply Quote 0
                    1 Reply Last reply
                  • efsandino
                    efsandino @vladimir-bardakov last edited by

                    @vladimir-bardakov I installed the extra lib, and then downloaded the last version of opera and installed it again with ,
                    sudo dpkg -i operaXXX.deb

                    and the problem was finally solved !

                    Reply Quote 0
                      1 Reply Last reply
                    • A Former User
                      A Former User @marek-online last edited by

                      @marek-online this totally solved the issue here, thank you!

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

                        That fixed the issue for me

                        wget https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/download/0.52.2/0.52.2-linux-x64.zip -P ~/Downloads/
                        
                        unzip ~/Downloads/0.52.2-linux-x64.zip -d ~/Downloads/
                        
                        sudo mv ~/Downloads/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/
                        
                        Reply Quote 3
                          kubrisck zago13 2 Replies Last reply
                        • kubrisck
                          kubrisck @mau21mau last edited by

                          @mau21mau Confirmed!. Your method works. Last version of Opera nd Linux Mint 20.1

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

                            If it was installed through Snap, you can try to connect system camera interface on the Opera camera interface

                            sudo snap connect opera:camera :camera
                            

                            Restart opera and check if it worked.

                            Ref: https://snapcraft.io/docs/interface-management

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

                              simlink ubuntu 20.04

                              sudo ln -s /snap/chromium-ffmpeg/17/chromium-ffmpeg-95241/chromium-ffmpeg/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/
                              
                              Reply Quote 1
                                1 Reply Last reply
                              • njt145
                                njt145 last edited by leocg

                                This is just a workaround, not a solution.
                                This legal issue needs to be solved, and it's a Must
                                I suggest to developers to work on this before to working for stuffs on Opera GX. (or maybe you can replace Opera GX with Opera, why you created GX while your normal browser is not working properly...)

                                Reply Quote 0
                                  leocg 1 Reply Last reply
                                • leocg
                                  leocg Moderator Volunteer @njt145 last edited by

                                  @njt145 Maybe you can send money to Opera, so the company can afford the costs of a licensing. 😀

                                  Reply Quote 0
                                    1 Reply Last reply
                                  • zago13
                                    zago13 @mau21mau last edited by

                                    @mau21mau ty!

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

                                      Another way is to download libffmpeg from here and replace the one in Opera directory

                                      locate libffmpeg.sp
                                      

                                      and copy the file from the repository and replace the one in this directory.

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

                                        No method seems to be working for the version of opera released today (Version 79.0.4143.22, chromium 93.0.4577.63). Replacing the provided libffmpeg.so with any of the provided methods causes the entire page to crash if you try to play any video embedded on it. I have now defaulted back to the provided one.
                                        My go-to method before this was to download the latest version from iteufel's github repo and replace it manually. Had worked since I installed opera.

                                        Reply Quote 1
                                          rgplayzmc 1 Reply Last reply
                                        • rgplayzmc
                                          rgplayzmc @rgplayzmc last edited by leocg

                                          @rgplayzmc **Update To Previous Post **
                                          Solution: Until @xZero updates his script (It returns

                                          opera-fix-ffmpeg.sh: 15: [: Illegal number: 
                                          Error: snapd is not installed
                                          Command 'snap' not found
                                          /usr/bin/snap
                                          
                                          

                                          Snap is actually installled
                                          )
                                          Here's what to do (GUI method):

                                          1. Install the chromium-ffmpeg snap
                                          2. Navigate to /snap/chromium-ffmpeg/current
                                          3. Find the folder with the highest number and open terminal over there (Right click->open with terminal).
                                          4. Run
                                          sudo cp libffmpeg.so /usr/lib/x86_64-linux-gnu/opera
                                          

                                          (Replace opera directory with wherever yours is installed.)

                                          (CUI method) (I am a noob at bash, so please forgive me pros)
                                          1.

                                          snap install chromium-ffmpeg && cd /snap/chromium-ffmpeg/current 
                                          
                                          1. Find the highest number
                                          cd chromium-ffmpeg-highestnumber && cp libffmpeg.so /usr/lib/x86_64-linux-gnu/opera
                                          

                                          Done!

                                          Now I request @xZero or anyone else to fix that script. Once the script is fixed, store the command the run it in a terminal utility known as keep for easy access.

                                          Reply Quote 5
                                            katberg nneo16 torrit xZero 4 Replies Last reply
                                          • katberg
                                            katberg @rgplayzmc last edited by

                                            @rgplayzmc

                                            Thanks a lot, works is great!

                                            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-