Opera chromium-codecs-ffmpeg

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Opera chromium-codecs-ffmpeg

Postby flink » Nov 1st, '21, 10:28

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.
Last edited by flink on Nov 21st, '23, 10:29, edited 2 times in total.
flink
 
Posts: 186
Joined: Mar 3rd, '12, 19:23

Re: Opera chromium-codecs-ffmpeg

Postby flink » Nov 1st, '21, 11:14

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
flink
 
Posts: 186
Joined: Mar 3rd, '12, 19:23

Re: Opera chromium-codecs-ffmpeg

Postby tis » Nov 1st, '21, 11:26

you should try this:
https://forums.opera.com/topic/34659/op ... urce-codec

it works for me... with opera-78
tis
 
Posts: 148
Joined: Sep 30th, '19, 20:19

Re: Opera chromium-codecs-ffmpeg

Postby tis » Nov 1st, '21, 11:34

and here is how to make the newes libffmpeg:
https://unix.stackexchange.com/question ... 64-support
tis
 
Posts: 148
Joined: Sep 30th, '19, 20:19

Re: Opera chromium-codecs-ffmpeg

Postby flink » Nov 1st, '21, 11:52

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


:?:
flink
 
Posts: 186
Joined: Mar 3rd, '12, 19:23

Re: Opera chromium-codecs-ffmpeg

Postby flink » Nov 1st, '21, 11:57

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.
:?:
flink
 
Posts: 186
Joined: Mar 3rd, '12, 19:23

Re: Opera chromium-codecs-ffmpeg

Postby tis » Nov 1st, '21, 12:02

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.
tis
 
Posts: 148
Joined: Sep 30th, '19, 20:19

Re: Opera chromium-codecs-ffmpeg

Postby flink » Nov 1st, '21, 15:29

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.
flink
 
Posts: 186
Joined: Mar 3rd, '12, 19:23

Re: Opera chromium-codecs-ffmpeg

Postby tis » Nov 1st, '21, 17:11

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)
tis
 
Posts: 148
Joined: Sep 30th, '19, 20:19

Re: Opera chromium-codecs-ffmpeg

Postby flink » Nov 2nd, '21, 11:45

@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 
flink
 
Posts: 186
Joined: Mar 3rd, '12, 19:23

Re: [SOLVED] Opera chromium-codecs-ffmpeg

Postby tis » Nov 2nd, '21, 11:57

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.
tis
 
Posts: 148
Joined: Sep 30th, '19, 20:19

Re: [SOLVED] Opera chromium-codecs-ffmpeg

Postby flink » Jan 2nd, '22, 13:36

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
flink
 
Posts: 186
Joined: Mar 3rd, '12, 19:23

Re: [SOLVED] Opera chromium-codecs-ffmpeg

Postby flink » May 11th, '22, 08:28

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
flink
 
Posts: 186
Joined: Mar 3rd, '12, 19:23

Re: [SOLVED] Opera chromium-codecs-ffmpeg

Postby flink » Jun 14th, '23, 16:37

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
flink
 
Posts: 186
Joined: Mar 3rd, '12, 19:23

Re: Opera chromium-codecs-ffmpeg

Postby flink » Nov 21st, '23, 10:31

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.
flink
 
Posts: 186
Joined: Mar 3rd, '12, 19:23

Re: Opera chromium-codecs-ffmpeg

Postby farnas » Nov 23rd, '23, 08:29

Hello everyone, based on your discussion here I think you were looking for this

https://github.com/Ld-Hagen/fix-opera-linux-ffmpeg-widevine
farnas
 
Posts: 16
Joined: Nov 13th, '23, 07:54


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest