[MacPorts] #69808: ffmpeg*: ability to select ffmpeg version as default

MacPorts noreply at macports.org
Fri Jan 3 00:12:48 UTC 2025


#69808: ffmpeg*: ability to select ffmpeg version as default
-----------------------------+----------------------
  Reporter:  eirnym          |      Owner:  mascguy
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.9.3
Resolution:                  |   Keywords:
      Port:  ffmpeg6 yt-dlp  |
-----------------------------+----------------------

Comment (by percontation):

 FYI, for people (like me) who end up on this ticket while looking for "I
 see that <PORT> depends on `ffmpeg` 4.x, but I already have `ffmpeg7`
 installed and I want it to build against that instead of 4.x":

 For some purposes, you can "select ffmpeg 7.x as default" by installing
 `ffmpeg-devel` instead of `ffmpeg` or `ffmpeg7`.

 Specifically: many ports, including yt-dlp, actually depend on
 `path:bin/ffmpeg` or `path:lib/libavcodec.dylib` or whatnot rather than
 `port:ffmpeg`; and as of a couple weeks ago, the `ffmpeg-devel` port
 installs 7.x OUTSIDE /opt/local/libexec/ffmpeg7 (i.e. it conflicts with
 the `ffmpeg` 4.x port now, instead of the `ffmpeg7` port).

 (I don't really have context on these developments, but I'm guessing this
 new `ffmpeg-devel` location is part of some transitional plan to improve
 the versioning situation for ffmpeg dependent packages.)

-- 
Ticket URL: <https://trac.macports.org/ticket/69808#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list