-
Notifications
You must be signed in to change notification settings - Fork 751
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 binaries are built disabling some avdevices such as x11grab and avfoundation #39
Comments
After building 0.11-SNAPSHOT (with ffmpeg 2.5.4) I was able to call into the ffmpeg functions on my Mac running OSX and pass in |
Thanks for the feedback! Maybe it's just my build environment that don't have the right files installed... I'll have to check that out. But that might not be that important, because eventually, I'd like to move the builds to Travis CI. Would you have any experience or interest in trying this out? |
Yeah for linux it doesn't get included, I need to remove the |
This should all be fixed with the -0.11 release. Let me know if you still have problems! Thanks for reporting. |
It seems that |
It still doesn't work with version 0.11?? |
There's no problem on Linux with public class Devices {
public static void main(String[] args){
avdevice_register_all();
avcodec_register_all();
av_register_all();
System.err.println(avdevice.avdevice_configuration().getString());
AVInputFormat fmt = null;
while ((fmt = av_input_video_device_next(fmt)) != null) {
System.err.println("format : " + fmt.name().getString() + " (" + fmt.long_name().getString() + ")");
}
}
} I tried multiple ways to find the For exemple: AVInputFormat fmt = av_find_input_format("avfoundation"); here The version i use is <dependency>
<groupId>org.bytedeco.javacpp-presets</groupId>
<artifactId>ffmpeg</artifactId>
<version>2.6.1-0.11</version>
<classifier>macosx-x86_64</classifier>
</dependency>
`̀` |
@artpej Could you try to rebuild the binaries on your machine to see if that changes anything? Thanks! |
All right, after rebuilding the binaries from the I don't do anything special:
Hope this will help. |
So I guess it's a problem with my build environment... Incidentally, I would like to, for example, make the build process more automated via a cloud solution. I'm aware of Travis CI, and I believe they support builds for Mac OS X. Is this something you would be interested in helping out to set up? It would help a lot!! |
From what I could gather ffmpeg builds automatically include
x11grab
andavfoundation
devices (Trying to invoke the libs to replicate the following examples) and I'm wondering what in particular in the presets' build script makes it so those are not included? I noticed you guys build it with--disable-libxcb
, is that what causes these components not to be included?The text was updated successfully, but these errors were encountered: