Take snapshot from running pipeline in gstreamer with iOS
Sebastian Dröge
sebastian at centricular.com
Thu Jul 7 06:33:55 UTC 2016
On Mo, 2016-07-04 at 09:12 -0700, Macjon wrote:
>
> How can I save the screenshot without blocking the stream and save the image
> in the documents folder with a custom name every time the button is clicked?
Check the last-sample property on the video-sink. With that you can get
access to the last displayed video frame, and e.g.
with gst_video_convert_sample() you can then convert this to a JPG.
--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160707/492d7bb3/attachment-0001.sig>
More information about the gstreamer-devel
mailing list