-
Notifications
You must be signed in to change notification settings - Fork 747
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
[FFmpeg] Add --enable-libpulse #1472
Conversation
Not sure why tests are failing, seems to be unrelated to my code. @saudet How long does it usually take for PRs to get merged? |
The builds are failing. That needs to be fixed |
I'm not sure how, it seems to be failing on packages and I didn't touch those |
|
@Martmists-GH just a hint, you enabled libpulse in ffmpeg so you must guarantee that the required libs and headers are available on all build systems (android, linux, mac, windows). This seems not to be the case so all ffmpeg builds are failing |
What should I do then? I can build ffmpeg just fine on my PC |
As you can see the builds are failing clearly because of your changes (look at the answer of saudet). If you want to include a new feature like libpulse you must guarantee that the ffmpeg builds will pass for all available platforms, not just one. If it works on your PC the ffmpeg build is able to detect necessary dependencies and libs to build it with libpulse enabled but as you can see that's not the case for the build systems of javacpp-presets. In the .github/actions folder you have the individual setups for each build system (deploy-ubuntu, deploy-windows...) which you need to configure appropriately for building ffmpeg with libpulse support. Edit: and you can test the whole build process yourself in your branch via the GitHub action scripts. |
@streamingdv I'm not quite sure why this is failing, I installed libpulse-dev but pkg-config seems to still fail to find it? I'm not familiar with ubuntu but from I can gather online this should work |
I don't know either but I made a similar pull request recently to enable vulkan for ffmpeg and I had to make sure the change works on all platforms. Only Android wasn't possible because of Google NDK limitations but you have to test it by yourself via the github actions in your fork. I was only trying to provide some general information about how pull requests work here :) Here was my pull request as a reference https://github.com/bytedeco/javacpp-presets/pull/1460/files The libpulse-dev package might not be available for linux arm and other systems so either you have to find a way to install the lib or if it's not possible then explain why. I do not see that you have modified the '.github/actions/deploy-ubuntu/action.yml' script but that might be needed in order to prepera the build system to have the necessary libraies available. Edit: oh okay sorry I saw that you have edited the 'deploy-ubuntu/action.yml' but maybe that's not enough to make it work on all linux builds. |
Fixes #1471