yt-dlp / FFmpeg-Builds

FFmpeg Builds for yt-dlp
MIT License
707 stars 58 forks source link

Missing macOS versions #51

Closed simonbcn closed 11 months ago

simonbcn commented 11 months ago

I don't understand why yt-dlp versions are provided for macOS but not ffmpeg builds.

pukkandan commented 11 months ago

Coz I don't know how to make them. If you do, feel free to open a PR

nihil-admirari commented 11 months ago

The build pipeline uses crosstool-ng, which doesn't support Windows on ARM and macOS.

macOS doesn't support cross-compilation at all, which means that the entire build pipeline must be created from scratch specifically for macOS. No one wants to do that, for obvious reasons. Quoting the author of the build scripts https://github.com/BtbN/FFmpeg-Builds/pull/294#issuecomment-1848398337:

To build for OSX itself, we'd need a properly working cross compiler, and Apple is doing its utmost to prevent that from happening.

I also would have no way to test anything (beyond compiling itself) without spending way too much money on at least two Apple devices.

If you want macOS support, you'd better off figuring out how to make e.g. Homebrew apply the single FFmpeg patch that this repository currently has instead of trying to port the entire pipeline.