[Solved] Codec H.264 (for Opera Browser)

Everything about X, Gnome, KDE, ... and everything running on it

[Solved] Codec H.264 (for Opera Browser)

Postby bester69 » 2017-02-12 01:36

Do you any know how to enable this codec in opera browser?

thanks,

Image
Last edited by bester69 on 2017-02-12 22:04, edited 2 times in total.
User avatar
bester69
 
Posts: 806
Joined: 2015-04-02 13:15

Re: Codec H.264 (for Opera Browser)

Postby phenest » 2017-02-12 19:13

It looks like Opera requires ffmpeg to support h264, but doesn't ship with it.
This may help:
http://ruario.ghost.io/2014/12/19/adding-h-264-video-support-to-opera-for-linux/
Dell XPS 17 L702X i7 2860QM 2.5GHz - 32GB RAM - 4G WWAN - Pioneer TD05-BDR
NEC Spirit 550 P4 3.8GHz HT - 2GB RAM - nVidia 7600GT - Pioneer BDR-209DBK
ASUS P8P67 EVO i7 3770K - 32GB RAM - 2x nVidia 660GTX SLI'd
User avatar
phenest
 
Posts: 1387
Joined: 2010-03-09 09:38
Location: The Matrix

Re: Codec H.264 (for Opera Browser)

Postby phenest » 2017-02-12 19:16

Dell XPS 17 L702X i7 2860QM 2.5GHz - 32GB RAM - 4G WWAN - Pioneer TD05-BDR
NEC Spirit 550 P4 3.8GHz HT - 2GB RAM - nVidia 7600GT - Pioneer BDR-209DBK
ASUS P8P67 EVO i7 3770K - 32GB RAM - 2x nVidia 660GTX SLI'd
User avatar
phenest
 
Posts: 1387
Joined: 2010-03-09 09:38
Location: The Matrix

Re: Codec H.264 (for Opera Browser)

Postby bester69 » 2017-02-12 21:53




It was quite simple, I just need libffmpeg.so (right version, i suppose > 2.6), i searched for equivalent chromium version, in my case:
Chrome/55.0.2883.75
The most close chromium-codec-extra is:
chromium-codecs-ffmpeg-extra_55.0.2883.87-0ubuntu0.16.04.1263_amd64.deb

I extracted libffmpeg.so and copied it in /usr/lib/x86_64-linux-gnu/opera

Image

Now, the codec is detected. :P

Thanks phenest,
User avatar
bester69
 
Posts: 806
Joined: 2015-04-02 13:15

Re: [Solved] Codec H.264 (for Opera Browser)

Postby bester69 » 2017-02-26 22:07

A more properly solution:
http://forums.opera.com/discussion/comm ... t_15258789

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/pool/

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.


I tested, it works! :)
User avatar
bester69
 
Posts: 806
Joined: 2015-04-02 13:15


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 2 guests

fashionable