Bug 20108 - provide ffmpeg.so for h264 playback of alternate chromium browsers
Summary: provide ffmpeg.so for h264 playback of alternate chromium browsers
Status: RESOLVED WONTFIX
Alias: None
Product: Mageia
Classification: Unclassified
Component: New RPM package request (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: All Packagers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-12 01:46 CET by Marc Krämer
Modified: 2023-04-25 12:49 CEST (History)
4 users (show)

See Also:
Source RPM: ffmpeg-3.3.9-1.mga6.tainted.src.rpm
CVE:
Status comment:


Attachments

Description Marc Krämer 2017-01-12 01:46:53 CET
Not all chromium based browsers (e.g. vivaldi) ship with native ffmpeg library. It would be great if a shared object is provided to have h264 playback.
Comment 1 Marja Van Waes 2017-01-12 17:20:08 CET
Assigning to maintainer

CC: (none) => marja11
Assignee: bugsquad => shlomif

Comment 2 Shlomi Fish 2017-01-12 18:51:47 CET
(In reply to M K from comment #0)
> Not all chromium based browsers (e.g. vivaldi) ship with native ffmpeg
> library. It would be great if a shared object is provided to have h264
> playback.

Hi M K!

Some questions:

1. Is it ok after you install lib64ffmpeg-devel ?

2. Does adding a symlink work?

3. note : this will have to wait until the upcoming upgrade of ffmpeg.
Comment 3 Marc Krämer 2017-01-12 22:34:38 CET
1. that's ok.
2. yes, it does and is by the way the intended way
3. ok, I'm glad if you provide it automatically, since I don't have to build it on my own. :-)
Comment 4 Shlomi Fish 2017-02-02 21:02:10 CET
(In reply to M K from comment #3)
> 1. that's ok.
> 2. yes, it does and is by the way the intended way
> 3. ok, I'm glad if you provide it automatically, since I don't have to build
> it on my own. :-)

If it works for you with this solution, can I close this bug?
Comment 5 Marc Krämer 2017-02-03 10:45:06 CET
sorry, maybe I misunderstood you. I thought this was a suggestion to provide the file via lib64ffmpeg-devel package.

In fact the current devel-package does not have this file included.

For other users I would suggest to have a package only containing this file, as it is needed by opera, vivaldi, chromium (current state here is to include ffmpeg rather than use an shared object) - and I think there are others.
(If you search for this issue many other distro's provide this via an extra package)

During compile of the package this file is already built but not packaged - this should be the easy part.
Comment 6 Marc Krämer 2017-12-12 14:01:06 CET
@shlomi: do you mind, if I take that bug and make an extra package out of it?
Comment 7 Shlomi Fish 2017-12-12 14:53:36 CET
(In reply to Marc Krämer from comment #6)
> @shlomi: do you mind, if I take that bug and make an extra package out of it?

go ahead.
Comment 8 katnatek 2019-04-09 20:53:48 CEST
Still valid for ffmpeg-3.3.9-1.mga6.tainted.src.rpm

Please make this possible

Source RPM: ffmpeg-2.8.10-3.mga6.tainted.src.rpm => ffmpeg-3.3.9-1.mga6.tainted.src.rpm

Comment 9 katnatek 2019-04-11 02:13:40 CEST
I investigate about this and i think maybe this bug need to be

1. changed to chromium srpm
2. reassigned to  Christiaan Welvaart

ffmpeg upstream say they don't produce libffmpeg.so https://trac.ffmpeg.org/ticket/2538#comment:3

Arch Linux: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=opera-beta-ffmpeg-codecs

And Fedora's Russian Community http://mirror.yandex.ru/fedora/russianfedora/russianfedora/nonfree/fedora/releases/29/Everything/source/SRPMS/  (opera-{stable,developer}-libffmpeg

Are building a package from the chromium sources

@marja what you think?
Comment 10 Marc Krämer 2019-04-11 13:32:50 CEST
I've had a look into this too.
We build chromium against our libraries and not using the bundled libffmpeg. So in our buildprocess no libffmpeg.so is generated. As far as I understand the build, the only way to do this is using the bundled libraries.
Comment 11 katnatek 2019-04-11 22:58:41 CEST
(In reply to Marc Krämer from comment #10)

Ok i found a prebuilded libffmpeg.so, https://github.com/iteufel/nwjs-ffmpeg-prebuilt and i test with vivaldi (the only chromium-based that still care of provide a 32bit build for linux) and it works

Get from https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases the zip matching your system architecture.

for vivaldi, unzip the file to /opt/vivaldi/

for opera, search the opera folder on /usr/lib and unzip to lib_extra folder inside it

for yandex browser, search the yandex folder on /opt and unzip in that folder

i will make some packages for the blogdrakes repositories if you want to wait.
Comment 12 Lewis Smith 2019-11-28 16:08:40 CET
Re-assigning globally due to change to no specific maintainer.

Assignee: shlomif => pkg-bugs
CC: (none) => geiger.david68210, thierry.vignaud

Comment 13 Aurelien Oudelet 2021-02-05 11:33:15 CET
Status of this?

CC: (none) => ouaurelien

Comment 14 Marc Krämer 2021-02-05 12:08:39 CET
I was not able to build this shared object with our linking to external libraries. Most browsers download the object files from ubuntu - I don't like this behaviour.
Comment 15 Marc Krämer 2023-04-25 12:49:45 CEST
can be closed; is provided by the alternate browser

Resolution: (none) => WONTFIX
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.