Page 1 of 1

Opera chromium-codecs-ffmpeg

PostPosted: Nov 1st, '21, 10:28
by flink
Opera seems not to be able to play live streams on Youtube.


Cannot play live Youtube on other streams in Opera - no h264 support

The solution would be to install chromium-codecs-ffmpeg-extra.
Im my case I have Opera Version:77.0.4054.277: chromium-codecs-ffmpeg-extra_77

But where can I download this rpm file which is supported also by Mageia?
:?:

It works fine with the Chromium browser.

Re: Opera chromium-codecs-ffmpeg

PostPosted: Nov 1st, '21, 11:14
by flink
I have made now an upgrade to Version:80.0.4170.72.

However the live streams still do not play, but show the error warning "Your browser can't play this video. Learn more."

https://www.youtube.com/watch?v=blu8tZigOcA

Re: Opera chromium-codecs-ffmpeg

PostPosted: Nov 1st, '21, 11:26
by tis
you should try this:
https://forums.opera.com/topic/34659/op ... urce-codec

it works for me... with opera-78

Re: Opera chromium-codecs-ffmpeg

PostPosted: Nov 1st, '21, 11:34
by tis
and here is how to make the newes libffmpeg:
https://unix.stackexchange.com/question ... 64-support

Re: Opera chromium-codecs-ffmpeg

PostPosted: Nov 1st, '21, 11:52
by flink
I have made the recommended steps for the latest package:


Code: Select all
[franz@franz-820 LINUX]$curl -L -O https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/download/0.55.0/0.55.0-linux-x64.zip
[franz@franz-820 LINUX]$ unzip 0.55.0-linux-x64.zip


Archive: 0.55.0-linux-x64.zip
inflating: libffmpeg.so



Code: Select all
 sudo mv  /usr/lib64/opera/libffmpeg.so /usr/lib64/opera/libffmpeg.so.orig
sudo cp libffmpeg.so  /usr/lib64/libffmpeg_h264.so
sudo ln -s /usr/lib64/libffmpeg_h264.so  /usr/lib64/opera/libffmpeg.so


But then Opera could not be restarted.

So I had to undo the libffmpeg change again.

Code: Select all
sudo cp /usr/lib64/opera/libffmpeg.so.orig  /usr/lib64/opera/libffmpeg.so


:?:

Re: Opera chromium-codecs-ffmpeg

PostPosted: Nov 1st, '21, 11:57
by flink
I have now tried it once more.


Code: Select all
[franz@franz-820 LINUX]$ sudo rm /usr/lib64/opera/libffmpeg.so
[sudo] password for franz:
[franz@franz-820 LINUX]$ sudo ln -s /usr/lib64/libffmpeg_h264.so  /usr/lib64/opera/libffmpeg.so
[franz@franz-820 LINUX]$ ls -l /usr/lib64/opera/libffmpeg.so
lrwxrwxrwx 1 root root 28 Nov  1 10:53 /usr/lib64/opera/libffmpeg.so -> /usr/lib64/libffmpeg_h264.so*


And Opera starts now.
But the live stream error is still there.
:?:

Re: Opera chromium-codecs-ffmpeg

PostPosted: Nov 1st, '21, 12:02
by tis
hi,

Unfortunately opera is not part of this distribution, so you have to find external packages.

I found that
opera-stable_80.0.4170.72_amd64.deb - from opera.com
and ubuntu's chromium-codecs-ffmpeg-extra_94.0.4606.81-0ubuntu0.18.04.1_amd64.deb (http://security.ubuntu.com/ubuntu/pool/ ... m-browser/)
works well.

Re: Opera chromium-codecs-ffmpeg

PostPosted: Nov 1st, '21, 15:29
by flink
So I need the rpm package for chromium-codecs-ffmpeg-extra_94.

Something went wrong with my copying of the file libffmpeg.so.
Only the original Opera variant of it works to play a video at all. The new version (from the 0.55.0-linux-x64.zip) renamed as libffmpeg_h264.so does never work.

Re: Opera chromium-codecs-ffmpeg

PostPosted: Nov 1st, '21, 17:11
by tis
Just download http://security.ubuntu.com/ubuntu/pool/ ... _amd64.deb
you can make rpm with alien and also ark can extract libffmpeg from it (it is in data)

Re: Opera chromium-codecs-ffmpeg

PostPosted: Nov 2nd, '21, 11:45
by flink
@tis: How do you know all this?

:D

Now the Opera live streams work!


Code: Select all
[franz@franz-820 Codecs]$ sudo alien --to-rpm --scripts --keep-version  chromium-codecs-ffmpeg-extra_94.0.4606.81-0ubuntu0.18.04.1_amd64.deb


chromium-codecs-ffmpeg-extra-94.0.4606.81-0ubuntu0.18.04.1.x86_64.rpm


Then I have used the context menu Archiver from Thunar to extract the file libffmpeg.so off the rpm file from above.

Code: Select all
[franz@franz-820 Codecs]$ sudo cp libffmpeg.so  /usr/lib64/libffmpeg_h264.so 
[franz@franz-820 Codecs$ cd /usr/lib64/opera
[franz@franz-820 opera]$ sudo rm libffmpeg.so
[franz@franz-820 opera]$ sudo ln -s /usr/lib64/libffmpeg_h264.so  libffmpeg.so 

Re: [SOLVED] Opera chromium-codecs-ffmpeg

PostPosted: Nov 2nd, '21, 11:57
by tis
I'm happy that you can manage this... :-)

I'm using opera but I'm not using youtube but as I see your question I decide that I try it because I don't believe that it's not working. But first I miss read that you mentioned live streams... When I realized I searched with g... I shared my results I found and I have tried them... :-) Now you can enjoy and I'm happy to help.

Re: [SOLVED] Opera chromium-codecs-ffmpeg

PostPosted: Jan 2nd, '22, 13:36
by flink
The link from before does not work.

Here is a server which provides the needed download.

Ubuntu Chromium Browser
Mageia X86_64 users must download this file:

chromium-codecs-ffmpeg-extra_95.0.4638.69-0ubuntu0.18.04.1_amd64.deb

Re: [SOLVED] Opera chromium-codecs-ffmpeg

PostPosted: May 11th, '22, 08:28
by flink
A new Opera compilation from Debian packages (currently opera-stable_86.0.4363.59_amd64.deb) results in another path for the Opera RPM package:


Code: Select all
[franz@franz-820 Codecs]$ sudo cp libffmpeg.so  /usr/lib64/libffmpeg_h264.so
[franz@franz-820 Codecs$ cd /usr/lib/x86_64-linux-gnu/opera
[franz@franz-820 opera]$ sudo mv libffmpeg.so libffmpeg.so.orig
[franz@franz-820 opera]$ sudo ln -s /usr/lib64/libffmpeg_h264.so  libffmpeg.so

Re: [SOLVED] Opera chromium-codecs-ffmpeg

PostPosted: Jun 14th, '23, 16:37
by flink
However Opera is still not able to play videos from this website:

Movie Pilot - Die Herrscherin des Bösen
It works fine with Chromium browser.

And also this website does not work with Opera, but fine with Chromium Webbrowser.

Daily Motion Victoria's Secret - Swim Special

Re: Opera chromium-codecs-ffmpeg

PostPosted: Nov 21st, '23, 10:31
by flink
This workaround does not work any more with the latest Opera 105.0.4970.16.
If I apply these steps then the video crashes and the WhatsApp applet on the sidebar does not work any more.

Re: Opera chromium-codecs-ffmpeg

PostPosted: Nov 23rd, '23, 08:29
by farnas
Hello everyone, based on your discussion here I think you were looking for this

https://github.com/Ld-Hagen/fix-opera-linux-ffmpeg-widevine