Android Port: How to access camera using Gstreamer

Kyrylo V Polezhaiev polezhaiev at ukr.net
Thu Sep 12 03:42:58 PDT 2013


Hey, Andy

>> how do I import it into my android project?
Just create the element using factory and the element's name.

>>  How do I use it in the other jni code
Use it just like other elements: put it in Pipeline.

>> How do I code the java portion of it in the app to transfer the Camera video feed to appsrc?
Find the tutorials. Write the data to buffer. Find out how to call native code via JNI. Transfer the buffer to native function. In native function put the received data to appsrc element.

 --- Original message ---
From: "yoyosuper8" <yoyosuper8 at yahoo.com>
Date: 12 September 2013, 13:26:59

 
> I hate being a noob at something. I'm just completely lost. How do I use
> appsrc. I understand is a plugin, but how do I import it into my android
> project? How do I use it in the other jni code in tutorial 3 of android
> gstreamer? How do I code the java portion of it in the app to transfer the
> Camera video feed to appsrc?
> If there is some sample source code out there that does this, please let me
> know.
> 
> Thank you for all the help.
> Andy
> 
> 
> 
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Android-Port-How-to-access-camera-using-Gstreamer-tp4661913p4661959.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


More information about the gstreamer-devel mailing list