Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 924391 - www-client/opera-107.0.5045.15 requires (something around) FFMPEG_VERSION="121.0.6167.160"
Summary: www-client/opera-107.0.5045.15 requires (something around) FFMPEG_VERSION="12...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-12 22:39 UTC by Francois Chenier
Modified: 2024-05-30 21:17 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Francois Chenier 2024-02-12 22:39:03 UTC
It's a recurrent issue with opera but again videos playback is broken in the latest version 107.

Seems FFMPEG_VERSION="114.0.5735.9" is no longer doing the job and ffmpeg proprietary library need to be updated.
Comment 1 Francois Chenier 2024-02-13 09:49:21 UTC
I'm not sure what is the minimal required version but video playback works fine with libffmpeg.so coming from chromium 121.0.6167.160 debian package (Linux Mint).
Comment 2 Paul Gover 2024-02-13 19:39:35 UTC
I'm seeing this, assuming the symptom is a blank window containing some inactive player controls, instead of a video.
Comment 3 Paul Gover 2024-02-15 11:29:07 UTC
I did a little digging to understand the problem.  I wondered if it was possible to use my existing media-video/ffmpeg-6.0.1-r2 package, so I recompiled it with USE="chromium" to build libffmpeg.so, and copied that into /opt/opera/lib_extra/

Opera still wouldn't show videos, so I presume it's the wrong version, but it seems to me it ought to be the right way to do it.  I guess the problems would be knowing the right version of ffmpeg, and that in turn probably leading to a requirement for ffmpeg-3 or something else old.  (I've only just managed to get over the various blockers for ffmpeg-6.)

(I tried using a symlink in lib_extra to the libffmpeg.so, but that was even worse - opera wouldn't even start).
Comment 4 Paul Gover 2024-02-16 17:12:18 UTC
This post on the Gentoo forums
  https://forums.gentoo.org/viewtopic.php?p=8816579#8816579
implies that a suitable copy to media-video/ffmpeg-chromium would appear to fit the bill.
Comment 5 Paul Gover 2024-02-17 09:47:48 UTC
I tried using a symlink:
  cd /opt/opera/lib_extra
  ln -s /usr/lib64/chromium/libffmpeg.so.121 libffmpeg.so
to the media-video/ffmpeg-chromium library, and that works, so I suggest that changing the opera ebuild to
a) have a dependency on an appropriate level of ffmpeg-chromium and
b) a suitable script to create/update a symlink in lib_extra
would be preferable to the current approach of having to maintain an extra tarball
Comment 6 Larry the Git Cow gentoo-dev 2024-03-21 03:04:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d93b40b52e42450c939d2f0b08e2981cb2089d1d

commit d93b40b52e42450c939d2f0b08e2981cb2089d1d
Author:     Matt Jolly <kangie@gentoo.org>
AuthorDate: 2024-03-21 02:52:55 +0000
Commit:     Matt Jolly <kangie@gentoo.org>
CommitDate: 2024-03-21 03:01:28 +0000

    www-client/opera: update proprietary codecs support.
    
    Use media-video/ffmpeg-chromium to provide optional decoder
    support for H.264 (etc).
    
    Closes: https://bugs.gentoo.org/924391
    Signed-off-by: Matt Jolly <kangie@gentoo.org>

 www-client/opera/Manifest                                |  1 -
 ...08.0.5067.29.ebuild => opera-108.0.5067.29-r1.ebuild} | 16 ++++++++++------
 2 files changed, 10 insertions(+), 7 deletions(-)
Comment 7 N. Andrew Walsh 2024-05-28 06:13:44 UTC
Same problem with opera-beta-111: The ebuild depends on chromium-ffmpeg-124, but that doesn't work (pages like youtube just crash). Emerging chromium-ffmpeg-126 and forcibly linking /opt/opera-beta/libffmpeg.so to that version allows opera to work with video again.
Comment 8 Matt Jolly gentoo-dev 2024-05-30 21:17:30 UTC
I'll get it updated, but please consider logging a new bug when you encounter a new issue - this specific bug was resolved by changes to the way that opera is packaged in Gentoo.

I'll need to glue some of the automation together so that we check and update those versions with each opera update.

In the meantime you could try using ffmpeg[chromium] which should be version independent, at the cost of _maybe_ breaking eventually.