Gstreamer capture video on android

Reynaldo H. Verdejo Pinochet reynaldo at osg.samsung.com
Thu Sep 4 19:32:52 PDT 2014


Hi

On 09/03/2014 06:16 AM, carluccio92 wrote:
> Hi,
> i have to do create an android application that capture video from a webcam
> using gstreamer, wich plugin i have to use?
> [..]

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.

Good luck,

-- 
Reynaldo H. Verdejo Pinochet
Open Source Group
Samsung Research America / Silicon Valley


More information about the gstreamer-devel mailing list