help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Conflict with ffmpeg and mpv


From: Felix Lechner
Subject: Re: Conflict with ffmpeg and mpv
Date: Fri, 04 Oct 2024 06:42:34 -0700

Hi Chris,

On Fri, Oct 04 2024, Chris Keschnat wrote:

>   guix package: error: profile contains conflicting entries for ffmpeg
>   guix package: error:   first entry: ffmpeg@7.0.2    [...]
>   guix package: error:   second entry: ffmpeg@6.1.1    [...]
>   guix package: error:    ... propagated from mpv@0.38.0

I believe your profile refers to both 'ffmpeg-7' and 'mpv'.  The latter
also propagates Ffmpeg but a lower version, namely 6.1.1. [1]

The versions cannot be used together in the same profile.  It's a simple
restriction because the /bin/ffmpeg path is already taken.

This is why many of us think that propagated inputs are "evil."  Mpv
should instead replace all invocations to Ffpmeg with the actual store
path to the version it requires.

As a solution, I would change "ffmpeg-7"---if that's what you have in
your profile---to "ffmpeg."  Alternatively, you could drop Ffmpeg from
your profile and rely on the version propagated by Mpv.

You can still use ffmpeg-7 via 'guix shell' if needed.

Kind regards
Felix

[1] https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/video.scm#n1890



reply via email to

[Prev in Thread] Current Thread [Next in Thread]