Capturing image from pipeline
Nicolas Dufresne
nicolas.dufresne at collabora.com
Sun Nov 17 07:22:59 PST 2013
Le samedi 16 novembre 2013 à 23:17 -0800, yoyosuper8 a écrit :
> Is there another way that doesn't require x11 library? Unfortunately,
> ximagesrc requires x11 and I don't know how to port x11 into android
I might have miss-understood your question. Did you mean grab the image
of your screen, or pick a image from the stream (screenshot vs
snapshot) ? Screenshot is not currently supported on Android.
In the case of a snapshot, you can use the enable-last-sample and
last-sample property of your sink. You can then use
gst_video_convert_sample() or gst_video_convert_sample_async() if you
need a different color format and/or size.
cheers,
Nicolas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131117/ebdedc08/attachment.pgp>
More information about the gstreamer-devel
mailing list