[gst-devel] Snapshots and pipelines

Daniel Díaz mrchapp at gmail.com
Fri Mar 2 01:23:34 CET 2007


Hello.

I'd like to know what the people is doing with regards to snapshop
taking in actual applications.

For instance, the following pipelines could be constructed for image aquisition:
a)  v4lsrc ! ximagesink
b)  v4lsrc ! identity ! ximagesink

And when the user finally decides to take a snapshot, he clicks on the
"Capture!" button.

What would be the best thing to do from a GStreamer point of view?
Steal the data between the v4lsrc and ximagesink elements in scenario
a), use identity's handoff signal from scenario b), or interchange the
sink element with a gdkpixbuf-like sink?

Moreover, what is an application supposed to do with the buffer? Once
it is in memory and the user decides to save it to a file (encoded in
whatever format the use chose), how is that buffer fed into a
GStreamer pipeline for encoding and saving?

Thanks and greetings!

Daniel Díaz
yosoy at danieldiaz.org




More information about the gstreamer-devel mailing list