Problem with multiple tees in pipeline
yoyosuper8
yoyosuper8 at yahoo.com
Thu Jul 17 13:22:10 PDT 2014
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
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.
More information about the gstreamer-devel
mailing list