Changing source without stopping pipeline

superlou superlou at comcast.net
Mon Oct 31 17:19:19 PDT 2011


> You might want to use "videotestsrc ! capsfilter" and set the format 
> that you use on v4l2src to videotestsrc. 

I had actually over simplified my pipeline down too much.  The actual
pipeline is a bit more complex (http://imgur.com/a/JreEy) with the before
image being the working output of mixing the v4l2src with a videotestsrc and
the after showing the result of swapping in the second videotestsrc
(swapping in the bottom left of both images).  I also am swapping the
ffmpegcolorspace since I heard there might be a bug with it renegotiating
caps, but that might be a red herring.

As shown in the after, I had been forgetting to set the new videotestsrc and
ffmpegcolorspace playing.  Making sure to set both to playing, I see that
the two new elements seem to negotiate ok (http://imgur.com/thSlt).  This
leads to video that updates every few seconds or so.  I notice I get alot of
this warning:

0:00:19.731523367 17149 0x7fcc00002290 WARN             videomixer2
videomixer2.c:706:gst_videomixer2_fill_queues:<videomixer22:sink_0> Buffer
from the past, dropping

I'm also seeing a lot of Quality of Service messages:
Source: ffmpegcsp3, Type: 16777216

Do I need to do something to sync the timestamps on the new source?

--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Changing-source-without-stopping-pipeline-tp3952239p3962134.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list