Code Monkey home page Code Monkey logo

Comments (9)

mdinslage avatar mdinslage commented on September 24, 2024 1

I downloaded the CHANGELOG.txt for -current and grep'd to see what is compiled against ffmpeg5.

ap/moc-2.6_alpha3-x86_64-1.txz:  Upgraded.
  Compiled against ffmpeg-5.1.2.
--
kde/digikam-7.8.0-x86_64-3.txz:  Rebuilt.
  Recompiled against ffmpeg-5.1.2.
--
kde/ffmpegthumbs-22.08.1-x86_64-2.txz:  Rebuilt.
  Recompiled against ffmpeg-5.1.2.
--
kde/kfilemetadata-5.99.0-x86_64-1.txz:  Upgraded.
  Compiled against ffmpeg-5.1.2.
--
l/QtAV-20220226_fdc613dc-x86_64-1.txz:  Upgraded.
  Compiled against ffmpeg-5.1.2.
l/alsa-plugins-1.2.7.1-x86_64-2.txz:  Rebuilt.
  Recompiled against ffmpeg-5.1.2.
--
l/gegl-0.4.38-x86_64-2.txz:  Rebuilt.
  Recompiled against ffmpeg-5.1.2.
l/gst-plugins-libav-1.20.3-x86_64-2.txz:  Rebuilt.
  Recompiled against ffmpeg-5.1.2.
--
l/mlt-7.8.0-x86_64-2.txz:  Rebuilt.
  Recompiled against ffmpeg-5.1.2.
l/opencv-4.6.0-x86_64-2.txz:  Rebuilt.
  Recompiled against ffmpeg-5.1.2.
--
l/pipewire-0.3.59-x86_64-2.txz:  Rebuilt.
  Recompiled against ffmpeg-5.1.2.
l/qt5-5.15.6_20220928_06b700dd-x86_64-1.txz:  Upgraded.
  Compiled against ffmpeg-5.1.2.
--
xap/MPlayer-20221009-x86_64-1.txz:  Upgraded.
  Compiled against ffmpeg-5.1.2.
xap/audacious-plugins-4.2-x86_64-2.txz:  Rebuilt.
  Recompiled against ffmpeg-5.1.2.
xap/ffmpegthumbnailer-2.2.2-x86_64-4.txz:  Rebuilt.
  Recompiled against ffmpeg-5.1.2.
xap/freerdp-2.8.0-x86_64-2.txz:  Rebuilt.
  Recompiled against ffmpeg-5.1.2.
xap/ssr-0.4.4-x86_64-1.txz:  Upgraded.
  Compiled against ffmpeg-5.1.2.
xap/xine-lib-1.2.12-x86_64-2.txz:  Rebuilt.
  Recompiled against ffmpeg-5.1.2.

most of the packages should not have any bearing on polychromatic. I will also see if I can figure out anything and I will report back here if I do.

from polychromatic.

lah7 avatar lah7 commented on September 24, 2024

@mdinslage - this one's for you (who maintains the Slackware package)

from polychromatic.

mdinslage avatar mdinslage commented on September 24, 2024

@0pLuS0 Slackware 15.0 ships with ffmpeg-4.4.1. When you upgraded to ffmpeg 5.1.2 did you recompile python3-PyQtWebEngine against the new ffmpeg? It looks like from your output that python3-PyQtWebEngine is still looking for ffmpeg-4.4.1.

from polychromatic.

0pLuS0 avatar 0pLuS0 commented on September 24, 2024

I rolled back to ffmpeg-4.4.1, but I want to upgrade ffmpeg, so I'll be sure to recompile everything it needs, and if I still have a problem, I'll report back.

THANKS

from polychromatic.

0pLuS0 avatar 0pLuS0 commented on September 24, 2024

@mdinslage

I didn't see this as a package maintainer issue, because the only thing you're doing is making a slackware build script to compile it.

@lah7 does polychromatic need a certain version of python3-PyQtWebEngine and ffmpeg? If not, then I'm not understanding what this has to do with Slackware. I'm not changing source code dependancy requirements and neither are any of the slackware build scripts I'm using. Slackware users, simply compile the required dependancies required from the software.

Now I changed the version from ffmpeg 4.4.1 to 5.1.2 and polychromatic is looking for a lower version dependancy of libavcodec.so.58. To me this just shows polychromatic wants a specific version, and only this version to run, otherwise it shouldn't be asking for a specific number.

So I recompiled python3-PyQtWebEngine after installing ffmpeg 5.1.2, I still have the same message, so I assumed polychromatic just wants to use an older version of ffmpeg?

I also don't understand, what does libavcodec a library that provides a generic encoding/decoding framework, needed for polychromatic to work? 😮‍💨

from polychromatic.

lah7 avatar lah7 commented on September 24, 2024

does polychromatic need a certain version of python3-PyQtWebEngine and ffmpeg?

No specific version of QtWebEngine is needed, just a compatible Qt 5 version with Python bindings. If you don't use/want the custom effect editor, you could exclude QtWebEngine from your build.

The application doesn't explicitly depend (or use) ffmpeg or things like libavcodec either. It's likely QtWebEngine pulls that in, as it is based on the Chromium engine.

It seems more specific to your system, as there are libraries that are not linked correctly. On other distros, this could happen if stray files are in places like /usr/local, but I don't know about Slackware specifically.

On Arch here, I see that I have both a ffmpeg and VLC depending on a separate ffmpeg4.4, which might be worth noting if you need both, and QtWebEngine is looking for the wrong version?

from polychromatic.

mdinslage avatar mdinslage commented on September 24, 2024

I was able to recreate your error and I worked on it for a while today. The issue is probably related to the ABI changes between ffmpeg4 and ffmpeg5. This basically means your going to have to figure out exactly what in the Slackware 15.0 tree needs to be recompiled against ffmpeg5. I upgraded ffmpeg4 to 5 then recompiled qt5 and pyqt5 and this got past your issue but then polychromatic failed due to another missing ffmpeg related shared library. I was not able to get python3-PyQtWebEngine to compile after I upgraded to 5 and recompiled qt5 and pyqt5. The long short of it is that you are going to have to figure out exactly what needs to be recompiled against ffmpeg5 to make polychromatic work. I am not inclined to figure this out since all I care about is making sure my package supports stock Slackware 15.0 setups. I do not support -current or custom setups. At this point your best option to is to start running Slackware -current which includes ffmpeg5 and everything linked to it, or use another openrazer GUI like razergenie or razerCommander. A last option is you could trying creating the required symlinks from the corresponding ffmpeg5 libraries and see if that works.

from polychromatic.

0pLuS0 avatar 0pLuS0 commented on September 24, 2024

Is this really all the dependencies it requires?

https://docs.polychromatic.app/dependencies/

I always look at Arch online at their pkgs and dependencies, when you can't find things as easily listed for Slack.

So Arch is calling it python-pyqt5-webengine, which requires qt5-webengine, which requires ffmpeg.

BUT, Slackware doesn't have a qt5-webengine pkg, from what I can see, it's all inside the QT5 pkg.

This ffmpeg thing sure has messed things up, because there are heaps of other apps out there using ffmpeg as an example, and if you want to run these, also with the latest ffmpeg then you need to upgrade ffmpeg.

I use mpv and it's had two version releases that support ffmpeg 5x better, this is the reason at the moment I want to upgrade ffmpeg.

If you get some time and can work on this, I'd greatly appreciate it.

In the meantime I'll play around and see what I can come up with.

THANKS

from polychromatic.

0pLuS0 avatar 0pLuS0 commented on September 24, 2024

@mdinslage

For now, I just placed the stock ffmpeg back in, and the updated version, I compiled and installed it to /usr/local

Now I have polychromatic working again, this is a simpler solution, the recompiling everything that depends on ffmpeg.

But if you figure out a way to upgrade without having to recompile all the stuff that depends on ffmpeg in Slack, please let me know.

THANKS

from polychromatic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.