Loading...
Logo
Processing Forum

Will Android Processing have access to the camera viewport through the video library?

Answered
  • Need more info
  • Answered
  • Working on it
in Android Processing  •  3 years ago  
I do realtime image processing and would love tpo have that base covered. 

Replies(4)

It's not a top priority for me, but certainly something we'd like to have.

But until we provide a simpler Processing-style interface, you can always use the Android APIs to access the camera.
There are ongoing efforts to compile gstreamer on android:

http://groups.google.com/group/prajnashi

This could result (some day) in gsvideo-android :-)
Andres, just happened across that project -- GStreamer on Android, of course, would be awesome; now have to follow that. :)

What would be the advantage, though, of using GStreamer rather than just passing image data directly from the camera APIs? I don't see any particular reason not to do the latter for the time being, but am I missing something?
One possible advantage of using gstreamer could be more codecs supported for playback. But it is too early to say for sure, I don't know which gstreamer plugins compile and work fine on Android right now. There is also the problem of the java bindings, JNA is not currently available on Android.