h264 problems
-
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
-
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.
-
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.
-
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
-
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
-
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.
-
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.