-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Support local build, support ffmpeg for windows, linux, macos, android #262
Conversation
may i ask why the separation needed? like will we need android and windows and linux libs too? same as done in media_kit? are you planning to have configuration with ffmpeg and without it? will that help with the vulkan stuff? |
To summarize, we do not need platform specific packages like media_kit, but 2 new packages for different users.
I am not sure about the vulkan, but I think it's no difference than before. |
Ok thank you for the explanation Were the specific backends supported before? |
Yes, but they are very limited, there are several issues about this. |
After seeing the issues, I think your approach is the right approach Since ffmpeg is heavy and not needed for most cases, let me know If you need any assistance in anything |
Thanks! ffmpeg related works have almost been finished, but I am still working on universal APIs, i.e., merge sync and async C wrappers, for better maintainability and uniform dart APIs, by adding empty callbacks to the wrappers needed to be called asynchronously. this is almost finished too, however, some tests were failed and needs to be fixed. it would be helpful if you can help to fix them. |
i will look into it, is there is any new steps to running the tests locally? |
for macos, a manually built library is needed, I will add another action to build it in https://github.com/rainyl/dartcv |
All tests passed now. @abdelaziz-mahdy You can download prebuilt libs from https://github.com/rainyl/dartcv/releases/tag/4.10.0%2B2 now. |
dartcv
Pros:
Cons:
DARTCV_CACHE_DIR
environment variable to cache it, e.g., setDARTCV_CACHE_DIR
toC:/Users/<username>/.dartcv
on windows,export DARTCV_CACHE_DIR=/home/<username>/.cache/dartcv
on unix-like system