• 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

    FFMPEG installation instructions

    Suggestions and feature requests
    15
    21
    58311
    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.
    • sgunhouse
      sgunhouse Moderator Volunteer last edited by sgunhouse

      Note that you need the correct version; most distros will list several versions which you must choose from based on the version of Chromium that Opera uses. That is the hard part.

      Reply Quote 2
        1 Reply Last reply
      • burnout426
        burnout426 Volunteer last edited by

        You put the libffmpeg.so you download at "/usr/lib/x86_64-linux-gnu/opera/lib_extra/libffmpeg.so". If you haven't created the "lib_extra" folder yet, you'll need to create it first. You're not supposed to replace the libffmpeg.so that's included with Opera. Leave that one alone and let Opera update it when it needs to.

        For what one you download, you have to goto the URL opera://about and take note of the Chromium major version. Then, you can search for and find a libffmpeg.so that's built for that major version of Chromium. Don't install any packages or anything, which might interfere with other programs. Find the file in a tar.gz file for example, extract it and put it in the lib_extra folder.

        Then, you'll be good to go until Opera jumps to a new major version of Chromium. When that happens, you repeat the steps and replace the libfmpeg.so in the lib_extra folder with the new one.

        As for where to find the right ffmpeg, try https://repo.herecura.eu/herecura/x86_64/ There are Vivaldi and Opera ones for Chromium 71 and Opera ones for Chromium 72. I think these get updated. You might also try http://security.ubuntu.com/ubuntu/pool/universe/c/chromium-browser/.

        As for widevine installation, I'm not sure.

        Reply Quote 4
          paultatarenko 1 Reply Last reply
        • A Former User
          A Former User last edited by A Former User

          Thank you for the instructions!

          From what I can tell, I seem to have Chromium version 70:

          Browser identification
          Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 OPR/57.0.3098.116

          I tried extracting both the libffmpeg.so file from version 69 and from the version 71 (extracted from the Ubuntu repos with deb files):

          chromium-codecs-ffmpeg_69.0.3497.100-0ubuntu1_amd64.deb
          chromium-codecs-ffmpeg_71.0.3578.98-0ubuntu0.18.04.1_amd64.deb

          I copied both the the said path:

          $ sudo ls -la /usr/lib/x86_64-linux-gnu/opera/lib_extra/
          Mo 21 Jan 2019 19:48:47 CET
          total 1980
          drwxr-xr-x 2 root root 4096 Jan 21 19:48 .
          drwxr-xr-x 6 root root 4096 Jan 20 17:32 ..
          -rw-r--r-- 1 root root 2015256 Jan 21 19:48 libffmpeg.so

          Neither of those 2 versions of seems to work (Opera was restarted, and I checked the process list after turning Opera off and on).

          Edit: I also tried https://repo.herecura.eu/herecura/x86_64/opera-beta-ffmpeg-codecs-71.0.3578.98-1-x86_64.pkg.tar.xz

          Edit: I also tried https://launchpad.net/ubuntu/cosmic/amd64/chromium-codecs-ffmpeg-extra/70.0.3538.110-0ubuntu0.18.10.1

          Reply Quote 1
            burnout426 1 Reply Last reply
          • A Former User
            A Former User last edited by

            Apparently, these help:

            https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/tag/0.31.5

            Thank you for your instructions again.

            I still find it strange that I'd have to download a random so file from some guy's GitHub repo, and sudo-copy that into my usr folders.
            Which version of libffmpeg.so do the Opera developers use when they build and test their software?
            Do they download it from somewhere, or build it from source?
            Why couldn't we (the Opera users) do the same after installing Opera?

            Reply Quote 1
              1 Reply Last reply
            • burnout426
              burnout426 Volunteer @Guest last edited by burnout426

              @alexprokopec said in FFMPEG installation instructions:

              From what I can tell, I seem to have Chromium version 70

              Then you'd need one for 70. Surprised the one you downloaded for 70 didn't work.

              Apparently, these help:
              https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/tag/0.31.5

              Awesome.

              @alexprokopec said in FFMPEG installation instructions:

              Which version of libffmpeg.so do the Opera developers use when they build and test their software?
              Do they download it from somewhere, or build it from source?

              They build ffmpeg included in the Chromium source with proprietary codecs disabled for legal reasons. You just have to download a libffmpeg that supports everything to make the extra, proprietary codecs work.

              I suppose the best way (but probably a pain) would be to fetch the latest Chromium source of the major version you need, build it with proprietary codecs enabled and then grab the produced libffmpeg.so from it. Not sure how much of Chromium you can avoid building just to produce libffmpeg, but that's something to investigate. But, finding the libffmpeg.so from an official chromum ffmpeg extra package might be easier.

              Reply Quote 1
                1 Reply Last reply
              • A Former User
                A Former User last edited by

                Thanks for your answers!

                It sounds like it might be useful to have some instructions on the Opera website about (or an automated script that does this, assuming that this does not breach the legal restrictions), since it's a frequent issue (and it's pushing away some Opera users). It looks like the Python script in this repo seems to be doing exactly that: https://github.com/iteufel/nwjs-ffmpeg-prebuilt

                As far as I'm personally concerned, the solution of running the script from iteufel's repo seems to work for me.

                Reply Quote 2
                  1 Reply Last reply
                • burnout426
                  burnout426 Volunteer last edited by

                  I see that the script makes use of https://nwjs.io/versions.json to figure out what version of the Chromium source to work with.

                  Reply Quote 0
                    1 Reply Last reply
                  • A Former User
                    A Former User @Guest last edited by

                    Sorry for digging an old thread, but I just stumbled upon this issue while trying to watch a video from https://lbry.tv on Linux Mint 19.2 with Opera 68 Stable.

                    Finding the correct libffmpeg.so fixed it. Many thanks.

                    Reply Quote 2
                      1 Reply Last reply
                    • fabz00
                      fabz00 last edited by

                      I had video issue updating Linux Mint from 19.3 to 20.
                      Upgrade process discarted Opera Dev, I reinstalled v.71.0.3742.0 but I got in trouble with video reproduction.
                      https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/tag/0.31.5
                      solved for me.
                      Thanx

                      Reply Quote 3
                        1 Reply Last reply
                      • RungeKutta
                        RungeKutta last edited by

                        I create a script that install the broken library and fix the opera bug.

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

                        Reply Quote 5
                          rickjfer SETedesque narcuz 3 Replies Last reply
                        • devtiagofranca
                          devtiagofranca last edited by
                          # Ubuntu/Debian or based
                          # Install package chromium-codecs-ffmpeg
                          
                          sudo apt install -y chromium-codecs-ffmpeg
                          
                          ## Make a link
                          sudo ln -sf /snap/chromium-ffmpeg/current/chromium-ffmpeg-103551/chromium-ffmpeg/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/
                          
                          Reply Quote 4
                            OperaBoomerang AdmiralRickHunter 2 Replies Last reply
                          • asandikci
                            asandikci last edited by

                            @burnout426 this really solved my problem, I hope there won't be a problem abt it anymore. I can now open youtube live videos or videos in other sites that I couldn't open it before. Really Thanks 🙂

                            Reply Quote 1
                              burnout426 1 Reply Last reply
                            • burnout426
                              burnout426 Volunteer @asandikci last edited by

                              @asandikci For future reference, the info is at https://www.reddit.com/r/operabrowser/wiki/opera/linux_libffmpeg_config.

                              Reply Quote 1
                                1 Reply Last reply
                              • rickjfer
                                rickjfer @RungeKutta last edited by

                                @rungekutta Great!!!

                                Reply Quote 0
                                  1 Reply Last reply
                                • paultatarenko
                                  paultatarenko @burnout426 last edited by

                                  @burnout426 Thank you!
                                  You saved my mind. New Opera One is a new piece of shit only.

                                  Reply Quote 0
                                    1 Reply Last reply
                                  • SETedesque
                                    SETedesque @RungeKutta last edited by

                                    @rungekutta fix my problem, now opera runs like charm!

                                    Reply Quote 0
                                      1 Reply Last reply
                                    • rephila
                                      rephila last edited by
                                      1. Try t o download https://github.com/nwjs-ffmpeg-prebuilt/nwjs-ffmpeg-prebuilt/releases/download/0.85.0/0.85.0-linux-x64.zip or the latest build from this repository

                                      2. extract the .zip file for ubuntu

                                      3. than use the command

                                      mv libffmpeg.so /usr/lib/x86_64-linux-gnu/opera
                                      
                                      1. restart opera
                                      Reply Quote -1
                                        1 Reply Last reply
                                      • narcuz
                                        narcuz @RungeKutta last edited by

                                        @rungekutta Funciona!!..

                                        Reply Quote 0
                                          1 Reply Last reply
                                        • OperaBoomerang
                                          OperaBoomerang @devtiagofranca last edited by

                                          @devtiagofranca said in FFMPEG installation instructions:

                                          # Ubuntu/Debian or based
                                          # Install package chromium-codecs-ffmpeg
                                          
                                          sudo apt install -y chromium-codecs-ffmpeg
                                          
                                          ## Make a link
                                          sudo ln -sf /snap/chromium-ffmpeg/current/chromium-ffmpeg-103551/chromium-ffmpeg/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/
                                          

                                          !!Warning!!

                                          I tried this and it broke my installation, so be careful if you try it. Initially, it just broke YouTube, which I was using for testing, but when I tried restarting the browser it would no longer launch. Foolishly, I didn't back up the original libffmpeg.so file in the opera folder, so I had to reinstall the whole package. Always take backups, folks!

                                          Reply Quote 1
                                            1 Reply Last reply
                                          • AdmiralRickHunter
                                            AdmiralRickHunter @devtiagofranca last edited by

                                            @devtiagofranca This method fixed the FFMPEG H264/MP4 codec link to the Snap version of Chromium (the only method from Ubuntu 24.04 forward) and the Deb install of Opera. Thank you!!

                                            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-2025