• 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
    49507
    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 @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
        • paul-keenan
          paul-keenan @Guest last edited by

          @pinportal Thanks!, I should try it. The older 2018 post below, from burnout426, is very similar and it also works on Mint 20, and I haven't noticed any side effects so far:

          **burnout426 Jul 5, 2018, 5:35 PM
          @drpostman A little bit better directions.

          Start Opera, goto, https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/ and download the 0.31.4-linux-x64.zip file. In Opera's download dialog, click the folder icon to show the file in the file manager. Right-click it and choose "Extract here". This will give you libffmpeg.so.

          Right-click in a blank spot in the file manager and choose "open as root" and type in your password. Then, right-click on libffmpeg.so and choose cut.

          Then, in the file manager, browser to "/usr/lib/x86_64-linux-gnu/opera/". Right-click in a blank spot and choose to create a new folder named lib_extra. Once the folder is created, go into it, right-click on a blank spot and choose paste. You should then see libffmpeg.so there. Then, restart Opera and goto https://youtube.com/html5 to see if h.264 support is enabled for example. Then, test out some videos. On youtube, you can right-click on a video and choose "stats for nerds" to see if it's using vp9 or h.264. Or, you can try these h.264 videos to make sure they work.

          You can then close the file manager.

          (Tested on Linux Mint 19 Cinnamon x64)**

          Reply Quote 1
            1 Reply Last reply
          • lu-menard
            lu-menard last edited by

            My Opera works fine with Youtube and satisfies the requirings on this test page
            On a precise webcam website it displays only a bad video stream as chrome and Firefox displays 1080p video stream, do you think I am concerned by this discussion ?

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

              Hi.
              I found this topic via small bash file to update h264 in opera-developer.
              Every time when come new release i run script as sudo and working perfecly.

              Thank You

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

                @mcarletti Thanks friend, your script has worked perfectly for me, and thanks to the friend who provided the solution

                KDE Neon 20.04 Kernel 5.4.0-70generic

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

                  Hi, still problems. None of the suggested workarounds work. I have Opera Stable 79.0.4143.50 on Debian 11. Try this page, for example: https://www.svtplay.se/video/30708050/rapport/rapport-24-sep-22-25
                  After "Page Crash" I need to type (as root): "apt reinstall opera-stable" to reset Opera.

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

                    @gidici61 Hi, gidici61. I am the original creator of this post. I created it on August 22, 2019 and until today, that is, two years later, Opera developers still do not support h.264 codec for Linux. After this update from Opera 79, even this solution that was created by independent developers no longer works. I personally gave up using Opera and switched to Brave Browser. I suggest you do the same. At least Brave Browser has constant updates for Linux and natively supports the h.264 codec.

                    Reply Quote 1
                      gidici61 1 Reply Last reply
                    • gidici61
                      gidici61 @Guest last edited by

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

                      Brave Browser

                      Thank you, I'll give it a try. Opera is nearly unuseful without x264 support.

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

                        Finally, this works with Opera 90.0.4480.80: https://gist.github.com/mcarletti/7989d1c04199dba60a01adf8ac54fe31

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

                          I have version 91.0.4516.20 and I get the error "Sorry, we're having trouble playing this video." for some Facebook videos. I tried the script, also disabling hardware acceleration, copying libffmpeg.so to /usr/lib/x86_64-linux-gnu/opera/lib_extra/ . I also have the proprietary codecs installed (ubuntu-restricted-extras). It used to work but I lost all my configurations some time ago and now it doesn't work.

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

                            @jhog simply use https://github.com/Ld-Hagen/fix-opera-linux-ffmpeg-widevine
                            But first reinstall Opera

                            sudo apt reinstall opera-stable
                            
                            Reply Quote 0
                              jhog 1 Reply Last reply
                            • jhog
                              jhog @styen last edited by

                              @styen Thanks, that worked! I was thinking I'd need Widevine, but didn't find good instructions of how to install it tho doing some searching. What I found was this but it didn't help: https://forums.opera.com/topic/28663/widevine-and-opera/65 . You could mark this thread as outdated, bad (?), or post the link you sent here in that thread. I didn't need to reinstall Opera btw.

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

                                Someone could make a webpage out of this issue including the github link! I couldn't find this information doing searches with Google, Duckduckgo.

                                Reply Quote 0
                                  1 Reply Last reply
                                • Locked by  leocg leocg 
                                • 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-