NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.63k stars 13.78k forks source link

pipewire: is ffmpeg support necessary/useful? #288911

Open Atemu opened 7 months ago

Atemu commented 7 months ago

Issue description

Hi, I maintain ffmpeg and we're currently in the situation that we need to break a dependency cycle between ffmpeg and pipewire which both depend on each other. The current solution is ffmpeg -> SDL -> pipewire -> ffmpeg-headless.

I've been wondering what exactly pipewire needs ffmpeg for though and the official docs weren't very helpful. Perhaps you know about it and could share some insights on that @Kranzes @K900.

If it's not really necessary, I think a better way to break the cycle would be to disable pipewire's ffmpeg support by default. Could users who need ffmpeg support still enable it through an override or is this part of the pipewire libraries baked into dependants?

cc @arthsmn @jopejoe1

K900 commented 7 months ago

It basically builds a graph node that can encode/decode stuff with ffmpeg. I think it should be safe to cut, as it's a pretty obscure use case, and people that really need it can override it easily.

arthsmn commented 7 months ago

As K900 said, it should be easy to override. I think it's a good change.