-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide example for packaging FFmpeg binaries #29
Comments
Currently, due to the lack of support for binary dependencies in SPM, I have adopted a similar approach to you. Recently, SPM team put forward a proposal for binary dependencies (SE-0272) and it was approved. Once the proposal is implemented, we can integrate FFmpeg library internally. |
I'll keep an eye out for it! |
WWDC20 talk tomorrow regarding this very topic! |
I have added support for SE-0272 in #41 (comment). Can you try and verify it? |
Will test soon! Are the binaries dylib or static? |
static |
Great Work! Thank you. What I'm seeing building a tiny project that uses this branch via SPM in Xcode12b4 on 10.15.6 is
I saw this message before, but it did not cause the linker to fail. There is some write up about this problem here yasm/yasm#141 |
It works fine on Xcode11E708 with 5.3-DEVELOPMENT-SNAPSHOT-2020-08-05-a toolchain. |
I think we need to have a LGPL-compliant version for the build script, and to do that I believe we'll need to use dynamic libraries. |
which build script? |
This build script enables GPL parts of FFmpeg, which make it impossible to use in a closed-source commercial project. |
You mean this part?
|
Yep |
The |
I'd be happy to lend my advice as I am currently doing this in a shipping macOS app, but I'm wondering what the best way to do this would be. I currently use a build script to build the FFmpeg libraries from source + an xcodeproject to help generate .frameworks for CFFmpeg and SwiftFFmpeg. Not so sure if this is the best way but it gets the job done.
The text was updated successfully, but these errors were encountered: