• 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

    Opera Linux browser - h.264 support (through x264 open source codec)

    Opera for Linux
    18
    34
    49515
    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.
    • A Former User
      A Former User @Guest last edited by A Former User

      @pinportal

      That's why Opera Browser needs to support the h.264 codec or at least x264 codec (which will not generate license costs for Opera

      It is not true. Chrome use built in codecs (ffmpeg+x264). But Google paid royalty for it.

      https://www.zdnet.com/article/a-closer-look-at-the-costs-and-fine-print-of-h-264-licenses/

      Open Source it’s not kind sort of «I don’t care about any patents and licenses».

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

        @jimunderscorep

        Second, firefox uses libopenh264 for its h264 needs, which is made by cisco.

        No. OpenH264 in Firefox is only for WebRTC Calling.

        https://bugzilla.mozilla.org/show_bug.cgi?id=1057646

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

          i totally agree.

          i've had to change to the Snap package to get around this situation.

          plus, Vivaldi on Linux doesn't have this problem....

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

            @adasiko

            My fault... x264 it’s only ENCODER.

            Read my comment as:

            It is not true. Chrome use built in open source codecs (ffmpeg). But Google paid royalty for it.

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

              Vivaldi is an electon app, so it may use electron's libffmpeg, like the other electron based apps do.

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

                @ultravio1et said in Opera Linux browser - h.264 support (through x264 open source codec):

                plus, Vivaldi on Linux doesn't have this problem....

                It’s hard to say «doesn’t have this problem» 😕

                https://forum.vivaldi.net/topic/12973/video-playback-problems-troubleshooting-and-solutions-on-linux

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

                  @adasiko said in Opera Linux browser - h.264 support (through x264 open source codec):

                  @ultravio1et said in Opera Linux browser - h.264 support (through x264 open source codec):

                  plus, Vivaldi on Linux doesn't have this problem....

                  It’s hard to say «doesn’t have this problem» 😕

                  https://forum.vivaldi.net/topic/12973/video-playback-problems-troubleshooting-and-solutions-on-linux

                  i should of said: "i've never had this problem with Vivaldi" 🙂

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

                    So Opera can introduce OpenH264 codec inside Opera browser. It is open source and free too.

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

                      @pinportal said in Opera Linux browser - h.264 support (through x264 open source codec):

                      So Opera can introduce OpenH264 codec inside Opera browser. It is open source and free too.

                      No.. It's described in Bugzilla bugreport (link is upper in this thread).
                      The are not any free and normal codecs to use for commercial browser.

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

                        Hi, first post here 🙂
                        @pinportal Thanks for the solution. It worked!

                        I wrote a script to "upgrade" Opera according to your instructions:
                        https://gist.github.com/mcarletti/7989d1c04199dba60a01adf8ac54fe31

                        Hope this helps!
                        M.

                        Reply Quote 2
                          artoria026 1 Reply Last reply
                        • bert56237
                          bert56237 @Guest last edited by

                          @pinportal said in Opera Linux browser - h.264 support (through x264 open source codec):

                          The Linux community has long been asking Opera to support the h.264 codec in Opera Browser for Linux.

                          We know that h.264 is a proprietary format. However, Firefox browser worked around this problem, it uses the codec x264 (free and open-source software library which uses GNU General Public License and it is developed by VideoLAN)

                          The x264 codec allows browsers to support h.264 codec videos.

                          For my Opera browser to support h.264, I need to open the terminal and type this command with each new Opera browser update:
                          curl -L -O https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/download/0.39.2/0.39.2-linux-x64.zip

                          unzip 0.39.2-linux-x64.zip

                          sudo mv libffmpeg.so /usr/lib/x86_64-linux-gnu/libffmpeg_h264.so

                          sudo mv /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so.orig

                          sudo ln -s /usr/lib/x86_64-linux-gnu/libffmpeg_h264.so /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so

                          But less experienced users don't even know there is this option, they simply can't watch videos on Facebook.com, Twitter.com and Youtube.com Live videos, as they rely on the h.264 codec

                          That's why Opera Browser needs to support the h.264 codec or at least x264 codec (which will not generate license costs for Opera and will once and for all solve this problem that only affects Opera Browser on Linux since Google Chrome and Firefox have been supporting the h.264 codec for a long time, even indirectly via the x264 codec)

                          I have Lubuntu 18.04.3 LTS (based on Ubuntu 18.04.3 LTS) 64bits and Linux 4.15.0-58 kernel

                          Thank you for this information! I have Linux Mint LTS 20.0 Cinnamon 64B. I just followed your directions and all videos are now working perfectly including on Twitter.

                          Earlier I had also installed the following packages, so I just left them and followed your directions.

                          Ubuntu-restricted-extras

                          Multimedia Codecs

                          Chromium-codecs-ffmpeg

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

                            @bert56237 You are welcome.
                            Just remember to install the most updated version here: https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/

                            Today it is 0.47.2 and not 0.39.2, that I wrote a year ago. Today you have to do it:

                            curl -L -O https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/download/0.47.2/0.47.2-linux-x64.zip

                            unzip 0.47.2-linux-x64.zip

                            sudo mv libffmpeg.so /usr/lib/x86_64-linux-gnu/libffmpeg_h264.so

                            sudo mv /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so.orig

                            sudo ln -s /usr/lib/x86_64-linux-gnu/libffmpeg_h264.so /usr/lib/x86_64-linux-gnu/opera/libffmpeg.so

                            Reply Quote 1
                              bert56237 red 2 Replies Last reply
                            • bert56237
                              bert56237 @Guest last edited by

                              @pinportal Thanks again. I just updated, working perfectly!!!

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

                                @pinportal
                                Hi!
                                There's an even better way:

                                curl -L -O https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/download/0.47.2/0.47.2-linux-x64.zip
                                unzip 0.47.2-linux-x64.zip
                                sudo mkdir /usr/lib/x86_64-linux-gnu/opera/lib_extra
                                sudo mv libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/lib_extra
                                

                                Opera will automatically use the version in lib_extra and the mod will survive opera upgrades. So you'll only need to do this once.

                                Reply Quote 0
                                  A Former User A Former User 2 Replies Last reply
                                • A Former User
                                  A Former User @red last edited by

                                  @red Hey, thank you very very much for your help!
                                  I didnt know it. I hope that one day Opera for linux will offer this natively. Many lay users do not see these forums and do not even know how to use the terminal.

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

                                    @bert56237 Hello, see the @red comment. You will have to do this only once. Even if Opera update the browser, h.264 will continue being support:

                                    curl -L -O https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/download/0.47.2/0.47.2-linux-x64.zip

                                    unzip 0.47.2-linux-x64.zip

                                    sudo mkdir /usr/lib/x86_64-linux-gnu/opera/lib_extra

                                    sudo mv libffmpeg.so /usr/lib/x86_64-linux-gnu/opera/lib_extra

                                    Reply Quote 0
                                      1 Reply Last reply
                                    • arch3rtemp
                                      arch3rtemp @Guest last edited by

                                      @A-Former-User said in Opera Linux browser - h.264 support (through x264 open source codec):

                                      So, as I have also said in the post on my signature, if you are on ubuntu or some derivative, install chromium ffmpeg codecs and you are done.

                                      There are no chromium codecs in Ubuntu repositories anymore, neither in Snap

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

                                        @arch3rtemp said in Opera Linux browser - h.264 support (through x264 open source codec):

                                        There are no chromium codecs in Ubuntu repositories anymore, neither in Snap

                                        Still available in Snap as "chromium-ffmpeg". For me, it doesn't automatically work, but you can link directly from the snap and it works fine.

                                        sudo mkdir -p /usr/lib/x86_64-linux-gnu/opera/lib_extra && \
                                        sudo ln -fst /usr/lib/x86_64-linux-gnu/opera/lib_extra/ /snap/chromium-ffmpeg/current/chromium-ffmpeg-92972/chromium-ffmpeg/libffmpeg.so && \
                                        echo -e "\n\nLink successful, restart Opera and it should work."
                                        
                                        Reply Quote 1
                                          1 Reply Last reply
                                        • A Former User
                                          A Former User @red last edited by

                                          @red Thank you very much. It works!

                                          Reply Quote 0
                                            1 Reply Last reply
                                          • swnw
                                            swnw @Guest last edited by

                                            @pinportal Thanks a lot, "simple" 🙂 and effective way, but why Opera developers are silent. I read a lot of advises and no one was from opera team.

                                            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