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

  • Solution for h264 problems

  • Welcome to Opera forums @Ewamiezejewska!

    Maybe this solution fix your problem.

    I didn't tested

  • 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.

  • 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.

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

  • 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 😃

  • 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.

  • 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.

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

Locked