View previous topic :: View next topic |
Author |
Message |
emsy n00b
Joined: 16 Dec 2011 Posts: 24
|
Posted: Fri Feb 16, 2024 7:59 am Post subject: Opera stopped playing videos [ffmpeg problem] |
|
|
Since my last world update, opera stopped playing some videos (not all). For example youtube live stream, twitter or telegram web videos do not play anymore.
I've found out that the problem is with ffmpeg
Code: | $ ldd `which opera`
linux-vdso.so.1 (0x00007fff27e5c000)
libffmpeg.so => not found
libdl.so.2 => /lib64/libdl.so.2 (0x00007f8d4170f000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f8d4170a000)
libgobject-2.0.so.0 => /usr/lib64/libgobject-2.0.so.0 (0x00007f8d416a8000)
...
|
Code: | $ ls /opt/opera/libffmpeg.so
/opt/opera/libffmpeg.so
$ ls /usr/lib64/chromium/libffmpeg.so.121
/usr/lib64/chromium/libffmpeg.so.121
|
Code: | $ emerge -pv opera ffmpeg ffmpeg-chromium
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 1.55 s (backtrack: 0/20).
[ebuild R ] www-client/opera-107.0.5045.21::gentoo USE="proprietary-codecs qt5 suid -qt6" L10N="bg bn ca cs da de el en-GB en-US es es-419 fi fil fr hi hr hu id it ja ko lt lv ms nb nl pl pt-BR pt-PT ro ru sk sr sv sw ta te th tr uk vi zh-CN zh-TW" 0 KiB
[ebuild R ] media-video/ffmpeg-6.1.1-r3:0/58.60.60::gentoo USE="X alsa bzip2 dav1d encode gnutls gpl iconv lcms libass mp3 network opengl pic postproc pulseaudio sdl svg threads truetype vorbis vulkan x264 xvid zlib -amf -amr -amrenc (-appkit) -bluray -bs2b -cdio -chromaprint -chromium -codec2 -cpudetection -cuda -debug -doc -fdk -flite -fontconfig -frei0r -fribidi -gcrypt -glslang -gme -gmp -gsm -hardcoded-tables -iec61883 -ieee1394 -jack -jpeg2k -jpegxl -kvazaar -ladspa -libaom -libaribb24 -libcaca -libdrm -libilbc -libplacebo -librtmp -libsoxr -libtesseract -libv4l -libxml2 -lv2 -lzma (-mipsdspr1) (-mipsdspr2) (-mipsfpu) -modplug -nvenc -openal -opencl -openh264 -openssl -opus -oss -qsv -rav1e -rubberband -samba -shaderc -snappy -sndio -soc -speex -srt -ssh -static-libs -svt-av1 -test -theora -twolame -v4l -vaapi -vdpau -verify-sig -vidstab -vmaf -vpx -webp -x265 -zeromq -zimg -zvbi" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext sse sse2 sse3 sse4_1 sse4_2 ssse3 -3dnow -3dnowext -fma4 -xop" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart sidxindex trasher" 0 KiB
[ebuild R ] media-video/ffmpeg-chromium-121:121::gentoo USE="gpl nvenc threads vaapi vdpau vulkan -cpudetection -debug (-mmal)" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext sse sse2 sse3 sse4_1 sse4_2 ssse3 -3dnow -3dnowext -fma4 -xop" 0 KiB
Total: 3 packages (3 reinstalls), Size of downloads: 0 KiB
|
i *think* it happened when upgrading from opera 106 to 10.7
Code: | $ grep "completed.*opera" /var/log/emerge.log
1702588185: ::: completed emerge (116 of 137) www-client/opera-105.0.4970.34 to /
1702932871: ::: completed emerge (56 of 135) www-client/opera-105.0.4970.48 to /
1704566763: ::: completed emerge (170 of 221) www-client/opera-106.0.4998.19 to /
1707475309: ::: completed emerge (217 of 314) www-client/opera-107.0.5045.15 to /
1707950517: ::: completed emerge (18 of 21) www-client/opera-107.0.5045.21 to /
1708067359: ::: completed emerge (1 of 1) www-client/opera-107.0.5045.21 to /
|
why doesn't opera see the library installed in its $OPERA_HOME?
What has changed that it suddently doesn't work? |
|
Back to top |
|
|
Goverp Advocate
Joined: 07 Mar 2007 Posts: 2178
|
Posted: Fri Feb 16, 2024 10:37 am Post subject: |
|
|
See bug 924391 _________________ Greybeard |
|
Back to top |
|
|
emsy n00b
Joined: 16 Dec 2011 Posts: 24
|
Posted: Fri Feb 16, 2024 11:22 am Post subject: |
|
|
Thank you, I made it work with
Code: | sudo cp /usr/lib64/chromium/libffmpeg.so.121 /opt/opera/lib_extra/libffmpeg.so |
overwriting the existing one. It's the .so from package media-video/ffmpeg-chromium-121 |
|
Back to top |
|
|
Goverp Advocate
Joined: 07 Mar 2007 Posts: 2178
|
Posted: Sat Feb 17, 2024 9:36 am Post subject: |
|
|
emsy, thanks, that works for me too. Also, it does work if you use a symlink instead of copying the file, which is nicer. I guess the problem I had last time I tried (with the wrong version ffmpeg) was down to finger trouble. _________________ Greybeard |
|
Back to top |
|
|
pomme97a n00b
Joined: 15 Apr 2022 Posts: 3
|
Posted: Mon Feb 26, 2024 9:40 am Post subject: |
|
|
Thank for the tips, replacing /opt/opera/lib_extra/libffmpeg.so did the works for me.
Code: | pkg_postinst() {
elog "Replacing /opt/opera/lib_extra/libffmpeg.so with a symlink to /usr/lib64/chromium/libffmpeg.so.121"
elog "Running
ln -fs /usr/lib64/chromium/libffmpeg.so.121 /opt/opera/lib_extra/libffmpeg.so"
ln -fs /usr/lib64/chromium/libffmpeg.so.121 /opt/opera/lib_extra/libffmpeg.so
}
|
I did this until the ebuild is fixed |
|
Back to top |
|
|
pomme97a n00b
Joined: 15 Apr 2022 Posts: 3
|
Posted: Fri Mar 22, 2024 9:46 am Post subject: |
|
|
Looks like the ebuild is fixed, I remove my edited file /etc/portage/env/www-client/opera
The folder /opt/opera/lib_extra don't exist anymore
The package do a good Code: | /opt/opera/libffmpeg.so -> ../../usr/lib64/chromium/libffmpeg.so.121 |
Opera run fine now |
|
Back to top |
|
|
emsy n00b
Joined: 16 Dec 2011 Posts: 24
|
Posted: Mon Jun 10, 2024 6:40 am Post subject: |
|
|
The new ebuild links to /usr/lib64/chromium/libffmpeg.so.125 which crashes pages in opera which use it. I have slots 121, 123, 124, 125 and 126 of `media-video/ffmpeg-chromium` installed. 124 is the latest that works. 125 and 126 are crashing. I had to change the symlink from 125 to 124
Code: | /opt/opera/libffmpeg.so -> ../../usr/lib64/chromium/libffmpeg.so.124 |
I'm using www-client/opera-110.0.5130.66
this is the culprit https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9dd51360c931ef5a1035ac7e21a9e50508400d3b |
|
Back to top |
|
|
|