Open Yahav opened 1 month ago
Hi @Yahav. Yes, ffmpeg is moving forward with their new channel API and has removed backward compatibility with the 7
release cycle.
The release is from April of 2024 so fairly recent. Most distributions still ship ffmpeg 6
which has the backward compatibility layer. The latest debian stable, bookworm, still has version 5
without the new channel API.
From our perspective, we can only support one or the other. The latest release is using the old channel API and is currently compatible with most distributions.
In the latest main
branch, we have switched to the new channel API and are using it in our liquidsoap build for the next release. For debianbookworm
, we are using the deb-multimedia
package packports.
As far as I know, homebrew is the only package manager shipping ffmpeg 7
by default at the moment. With it, you can do the following:
% brew unlink ffmpeg
% brew install ffmpeg@6
% brew link ffmpeg@6
This will let you install the latest released ocaml-ffmpeg
.
Otherwise, you can also point opam
to the latest code:
% git clone https://github.com/savonet/ocaml-ffmpeg.git
% cd ocaml-ffmpeg
% opam install -y .
@toots So, the following issue: https://github.com/savonet/ocaml-ffmpeg/issues/60 Its not related to Apple Silicon, same build error happens on any other platform, making ocaml ffmpeg unusable - this should be considered a breaking issue.
I do believe the following commit already addressed it https://github.com/savonet/ocaml-ffmpeg/commit/5406339cbf9f6def31acd9333f223873e266dd0a However, until you publish a release it won't be available through ocaml.
Looking forward for a release.