I wonder if Gstreamer plugin can do still capture while doing preview at the
same time? Or even like smart phones to do preview, video recording and
snapshot at the same time?
I have written an experiment with that, and it worked. I added a streaming mode property to the pad, in still mode, you have to call a snapshot action signal to get a frame. That also make per frame settings really easy. We also added burst with start-burt and stop-burst action signal.
Le lundi 17 avril 2017 à 19:36 -0700, caoxi a écrit :
> Thanks, can you help to explain how to trigger the action you
> mentioned to do
> snapshot? by calling Gstreamer APIs
The action signal works like GObject signal, but instead of the object
emiting to the outisde, it's outside that emits the signal to the
object. You can find multiple examples of that kind of signal in
GStreamer code base, here's just one: