R: Gstreamer capture video on android
carluccio92
carlomandolese92 at yahoo.it
Sat Sep 6 02:52:21 PDT 2014
Thanks for your reply, i’mnot sure i’m able to do what you say but i can try to do it, if you can give me tha code tha you have i can start studying it.
Thanks
Da: Nicolas Dufresne-3 [via GStreamer-devel] [mailto:ml-node+s966125n4668599h9 at n4.nabble.com]
Inviato: venerdì 5 settembre 2014 16:22
A: carluccio92
Oggetto: Re: Gstreamer capture video on android
Le 2014-09-04 22:32, Reynaldo H. Verdejo Pinochet a écrit :
> You will need to write a new source element wrapping
> around Android's camera preview API. From there you
> should be able to get complete frames. You will need
> JNI for the task as there's no native API (or wasn't
> last time I looked) for this use case.
>
> As a reference you can look around -bad/sys/androidmedia
> , that code does something similar for decoding. Also,
> google around a bit because related questions had
> popped up here and on gstreamer-android@ already.
Also note, we have received green like on starting the Open Sourcing of
an element we wrote two years ago. We should soon make this code public,
in case someone wants to help porting, as this was written for 0.10.
Why this isn't trivial work, well to be able to do that, we need the C
code to be called back, that mean the C code need to inject java code
that will callback C functions as needed. Please, contact me directly if
you would need to look at this earlier.
The plan is to port that element to 1.X, merge it back with existing
android media helpers, removing duplicated effort, squash commits, so we
get a nice change log and then merge in gst-plugins-bad.
best regards,
Nicolas
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_____
If you reply to this email, your message will be added to the discussion below:
http://gstreamer-devel.966125.n4.nabble.com/Gstreamer-capture-video-on-android-tp4668547p4668599.html
To unsubscribe from Gstreamer capture video on android, click here <http://gstreamer-devel.966125.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4668547&code=Y2FybG9tYW5kb2xlc2U5MkB5YWhvby5pdHw0NjY4NTQ3fC0yMDAwNDk0MjUx> .
<http://gstreamer-devel.966125.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> NAML
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/R-Gstreamer-capture-video-on-android-tp4668605.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140906/0c61d19e/attachment.html>
More information about the gstreamer-devel
mailing list