gstreamer-java / gst1-java-core

Java bindings for GStreamer 1.x
GNU Lesser General Public License v3.0
188 stars 72 forks source link

Take a snapshot at request. #207

Closed honcharenko-roman closed 3 years ago

honcharenko-roman commented 3 years ago

Hi, I'm trying to figure out how to add elements to the already playing pipeline. I'm taking video stream from uvc camera with v4l2src, then saving it to files by splitmuxsink. but I want to be able to get an actual snapshot. Right now I implemented this by tee element and endless RTP stream. On-demand I just connecting to it and saving a single frame. What is the better approach? For example, open the stream on-demand and close the stream after taking a snapshot. Thanks for your answer!

neilcsmith-net commented 3 years ago

Please use the mailing list for support questions, thanks.