Problem with multiple tees in pipeline

Stefan Kost ensonic at hora-obscura.de
Thu Jul 17 21:52:47 PDT 2014


Am 17.07.2014 22:22, schrieb yoyosuper8:
> Thank you all for your responses, but unfortunately this is not working
> properly.
> 
> As requested, I added async=false and queue after tee as shown below:
> 
> videotestsrc ! videoconvert ! tee name=snapshot ! queue ! valve name=snap
> drop=true ! jpegenc ! filesink async=false
> location=/home/user/Desktop/pic1.jpg snapshot. ! eglglessink name=videosink

you also want a queue for the eglsink branch: snapshot. ! queue ! eglglessink
name=videosink
> 
> What I noticed is that when I launch this pipeline, I do see the
> videotestsrc output display on eglglessink sink and the pic1.jpg file is
> created, even though valve drop=true. My understanding is that it shouldn't
> create the file unless drop=false.
> Anyhow, when I push on the button to update the property value on valve
> drop=false, nothing happens.
> 
> Maybe I'm misusing valve. I need to be able to push on a button and enable
> the tee branch snapshot in order to grab a frame and store it in a jpg file.
> Eventually, I will need to do the same to enable a tee branch to record to a
> file and then to stop recording and send an EOS to the tee branch that is
> performing the recording.
> 
> Any ideas anyone? Thank you in advance.
> 
> 
> 
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Problem-with-multiple-tees-in-pipeline-tp4667937p4667980.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> 



More information about the gstreamer-devel mailing list