What is the preferred way to build a Java app with GStreamer, JNI or Java binding? I am working to have the app running on Windows, Linux and Android at first, then (after a massive UI re-write) iOS, so I would prefer to have something that is somewhat portable. I have done some initial work with Android (Thank You Sebastian for the tutorials!). Now I am working on Linux and Windows. Working with relatively up-to-date versions of GStreamer is important to me (looking forward to 1.8 soon)., which suggests to me an approach using JNI. If that is the case (JNI), is it reasonable to use the GStreamer Android tutorials as a starting point? As a side but related question, if you have a Java project defined in Eclipse that uses a JNI library, can you build the C library within Eclipse as part of the Java project? If so, where should I look for documentation? Yes, I realize that Windows and LInux will be very different and I am still not sure if I will use Visual Studio (but am leaning that way). That thought brings up an interesting next thought of doing development in WIndows with VS and porting back to Linux. Thoughts anyone? Thank you,_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On Mi, 2016-03-16 at 22:52 -0400, Chuck Crisler wrote:
> What is the preferred way to build a Java app with GStreamer, JNI or > Java binding? I am working to have the app running on Windows, Linux > and Android at first, then (after a massive UI re-write) iOS, so I > would prefer to have something that is somewhat portable. I have done > some initial work with Android (Thank You Sebastian for the > tutorials!). Now I am working on Linux and Windows. Working with > relatively up-to-date versions of GStreamer is important to me > (looking forward to 1.8 soon)., which suggests to me an approach > using JNI. If that is the case (JNI), is it reasonable to use the > GStreamer Android tutorials as a starting point? As a side but > related question, if you have a Java project defined in Eclipse that > uses a JNI library, can you build the C library within Eclipse as > part of the Java project? If so, where should I look for > documentation? Yes, I realize that Windows and LInux will be very > different and I am still not sure if I will use Visual Studio (but am > leaning that way). That thought brings up an interesting next thought > of doing development in WIndows with VS and porting back to Linux. > Thoughts anyone? are GStreamer/Java bindings, but they're using JNA which is not supported on Android: https://github.com/gstreamer-java Those are the bindings used by processing.org for example. They should work fine on Windows/Linux/OSX though. Ideally there would be JNI based bindings, but those don't exist yet and I'm not aware of anybody planning to write any. For Eclipse, it should be able to build C code. It can for Android at least, and there's also the CDT which allows to do plain C/C++ projects in Eclipse. How all that works you'll have to find out yourself though, my experience with Eclipse was many years ago :) Also nowadays Android is using an IDE that is not based on Eclipse anymore. -- Sebastian Dröge, Centricular Ltd · http://www.centricular.com _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (968 bytes) Download Attachment |
In reply to this post by Chuck Crisler-3
Java is a class-based, object-oriented dialect outlined to have as few usage conditions as conceivable, making it a flexible choice for engineers over different spaces. Java is a high-level programming dialect known for its transportability over stages, from centralized server information centres to smartphones.
Enroll now Java Classes in Pune Java Course in Pune |
In reply to this post by Chuck Crisler-3
GStreamer is an open-source multimedia framework written in the C programming language, offering a pipeline-based multimedia processing system. It is widely used for creating applications that handle various multimedia tasks, such as playing audio and video files, streaming media over the network, and capturing and encoding media from devices.
Java is a popular programming language that can also be used with GStreamer through its Java bindings. The GStreamer Java bindings provide a Java API for interacting with GStreamer, allowing developers to easily create multimedia applications using the Java programming language. By using GStreamer with Java, developers can leverage the powerful multimedia processing capabilities of GStreamer while enjoying the benefits of Java's object-oriented programming model and platform independence. This combination enables the development of multimedia applications that are both flexible and portable. visit Java training in Pune for more info |
Free forum by Nabble | Edit this page |