Opened 5 months ago
Last modified 5 months ago
#69808 assigned defect
ffmpeg*: ability to select ffmpeg version as default
Reported by: | eirnym (Eir Nym) | Owned by: | mascguy (Christopher Nielsen) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.9.3 |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt) | |
Port: | ffmpeg6 yt-dlp |
Description
Recently I found that there's two ports: ffmpeg
(version 4.x) and ffmpeg6
(version 6.x). I've installed ffmpeg6
and it can't be used as default for some reason. Please add an ability to select ffmpeg6 version as default.
There's port select
mechanism to do that and I'd like to use it instead of create manual links
Change History (6)
comment:1 Changed 5 months ago by mascguy (Christopher Nielsen)
Keywords: | ffmpeg select ffmpeg6 removed |
---|---|
Owner: | set to mascguy |
Status: | new → assigned |
Summary: | Ability to select ffmpeg version as default → ffmpeg*: ability to select ffmpeg version as default |
Version: | → 2.9.3 |
comment:2 follow-up: 3 Changed 5 months ago by eirnym (Eir Nym)
Hi, could you explain which exactly ports it would break? The port select
works perfectly in other cases as I need link only files in /opt/local/bin
and not libraries.
My problem is I installed yt-dlp
without a hard dependency on ffmpeg
and it doesn't recognise ffmpeg6. After manual linking them to versions without 6
, it works as expected.
comment:3 Changed 5 months ago by mascguy (Christopher Nielsen)
Cc: | ryandesign added |
---|---|
Port: | yt-dlp added |
Replying to eirnym:
My problem is I installed
yt-dlp
without a hard dependency onffmpeg
and it doesn't recognizeffmpeg6
. After manual linking them to versions without6
, it works as expected.
If yt-dlp
is the port that you're interested in, we can add a new variant to utilize ffmpeg6
. Is that the only one?
comment:4 Changed 5 months ago by eirnym (Eir Nym)
ffmpeg is a big and heavy to update dependency. I won't use variant in yt-dlp
.
comment:5 Changed 5 months ago by eirnym (Eir Nym)
Could you please explain which exactly ports it would break?
The port select
works perfectly in other cases as I need link only files in /opt/local/bin and not libraries.
comment:6 Changed 5 months ago by eirnym (Eir Nym)
I searched ports git to find which ports could break and found that almost none of them depends on ffmpeg executables. and I believe that almost none of these would break if ffmpeg6 will be executed rather than ffmpeg4.
Symlinks are already created, so that you can use version 6 commands with a suffix of
6
:We can't make
ffmpeg6
the default, as it may break some older ports. But you can simply runffmpeg6
,ffplay6
, andffprobe6
.