• 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

    h264 problems

    Opera for Linux
    8
    9
    32139
    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.
    • ewamiezejewska
      ewamiezejewska last edited by

      Solution for h264 problems

      Reply Quote 0
        1 Reply Last reply
      • zalex108
        zalex108 last edited by admin

        Welcome to Opera forums @Ewamiezejewska!

        Maybe this solution fix your problem.

        I didn't tested

        "You cannot know the meaning of your life until you are connected to the power that created you". · Shri Mataji Nirmala Devi

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

          Opera just needs to fix the issues so it works for everyone. I have seen posts mentioning that videos are not playing in Twitter, I myself have reported them not working in Facebook, and now this, so it is obvious that there are problems.

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

            When you want an easy solution. I'm building ffmpeg.so packages for archlinux for the different opera flavours. Since these are statically linked they should be usable on any linux distribution.

            The packages can be found at http://repo.herecura.eu/

            You can browse the packagelist where you should be able to find:

            opera-ffmpeg-codecs-*
            opera-beta-ffmpeg-codecs-*
            opera-developer-ffmpeg-codecs-*

            Most of the time the versions are the matching versions where the opera branch was based on. For developer the versions might divert a bit due to issues in the chromium source.

            Reply Quote 2
              1 Reply Last reply
            • zalex108
              zalex108 last edited by admin

              And / or https://forums.opera.com/post/115602

              "You cannot know the meaning of your life until you are connected to the power that created you". · Shri Mataji Nirmala Devi

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

                When you want an easy solution. I'm building ffmpeg.so packages for archlinux for the different opera flavours. Since these are statically linked they should be usable on any linux distribution.
                The packages can be found at http://repo.herecura.eu/
                You can browse the packagelist where you should be able to find:
                opera-ffmpeg-codecs-*
                opera-beta-ffmpeg-codecs-*
                opera-developer-ffmpeg-codecs-*
                Most of the time the versions are the matching versions where the opera branch was based on. For developer the versions might divert a bit due to issues in the chromium source.

                This has worked perfectly! I just extracted the libffmpeg.so file straight into /usr/lib/x86_64-linux-gnu/opera-beta and it started working. Thanks a lot 😃

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

                  After a recent glibc bump from Arch, it would no longer be wise to extract libffmpeg.​so on older distros (e.g. anything older than Ubuntu 18.04) because the dependencies cannot be satisfied. A better bet would be to get chromium-codecs-ffmpeg-extra_67.0.3396.18 packages from this PPA http://ppa.launchpad.net/saiarcot895/chromium-beta/ubuntu/pool/main/c/chromium-browser/

                  If you are manually downloading a package, choose one that matches your distro/distro version. Or if you are on a non Ubuntu distro, you can take the ones for 16.04. Just make sure you match your processor architecture.

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

                    The problem is that the version of libffmpeg.so that Opera is using is incompatible with the Chrome version that it's based on. You can see the version of Chrome that Opera is based on here or from the command line:

                    strings /usr/lib/x86_64-linux-gnu/opera-developer/opera-developer | awk -F / '/Chrome\/[0-9]/ { print $2 }'
                    

                    From Ubuntu 17.10 64-bit, this is what I used and it worked for me. Your mileage may vary.

                    curl -s http://ppa.launchpad.net/saiarcot895/chromium-beta/ubuntu/pool/main/c/chromium-browser/ | awk -F '"' 'match($0, /href="(chromium-codecs-ffmpeg-extra_'$(strings /usr/lib/x86_64-linux-gnu/opera-developer/opera-developer | awk -F / '/Chrome\/[0-9]/ { print $2 }')'-0ubuntu.*'$(lsb_release -rs)'.*'$([ "$(uname -i)" = 'x86_64' ] && echo 'amd64' || echo 'i386')'[^"]+)">/, result) { print "http://ppa.launchpad.net/saiarcot895/chromium-beta/ubuntu/pool/main/c/chromium-browser/" result[1] }'
                    

                    This will spit out the URL of the package you need based on the version of Chrome opera-developer is using. It returned the following in my instance:

                    http://ppa.launchpad.net/saiarcot895/chromium-beta/ubuntu/pool/main/c/chromium-browser/chromium-codecs-ffmpeg-extra_67.0.3396.18-0ubuntu1~ppa1~17.10.1_amd64.deb
                    

                    I grabbed this file and extracted the libffmpeg.so file and replaced Opera's version. That looked like this:

                    cd $(mktemp -d /tmp/meh.XXXXXXX) 
                    curl -sO http://ppa.launchpad.net/saiarcot895/chromium-beta/ubuntu/pool/main/c/chromium-browser/chromium-codecs-ffmpeg-extra_67.0.3396.18-0ubuntu1~ppa1~17.10.1_amd64.deb                        
                    ar p chromium-codecs-ffmpeg-extra_67.0.3396.18-0ubuntu1\~ppa1\~17.10.1_amd64.deb data.tar.xz | tar xJf - ./usr/lib/chromium-browser/libffmpeg.so --strip 4
                    sudo mv /usr/lib/x86_64-linux-gnu/opera-developer/libffmpeg.so{,.bak}
                    sudo mv libffmpeg.so /usr/lib/x86_64-linux-gnu/opera-developer/libffmpeg.so
                    

                    I closed and restarted Opera and H264 video playback was restored.

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

                      This topic is too old, please open a new one if you want to continue discussing about the subject.

                      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-