[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gstreamer-devel
Subject:    Re: Problem with multiple tees in pipeline
From:       Stefan Kost <ensonic () hora-obscura ! de>
Date:       2014-07-18 4:52:47
Message-ID: 53C8A81F.6050209 () hora-obscura ! de
[Download RAW message or body]

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@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> 

_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic