[gst-1.0] Make videomixer mix raw frames without timing infromation

Arjen Veenhuizen arjen.veenhuizen at tno.nl
Wed Mar 25 03:28:53 PDT 2015


Hi Sebastian,

Thank you for your swift reply. I wasnt aware of the compositor element,
will give that a try. 

Basically, this is what I want to do (very simplified pipeline):


fifo0.pipe and fifo1.pipe are getting stuffed with raw yuv frames in two
different threads by two different pipelines at exactly 25 fps (using a
custom filter).  (The filesrc thus functions as a "live" source) This custom
filter also takes care of throwing away frames if its internal queue fills
up, making sure that the lag between input and output is always just a
couple frames at most.

As the frames arrive at the compositor, the compositor requires them to be
timestamped. If timestamping is not identical, the compositor will wait for
frames to arrive on its sinks with matching timestamps. I suspect that my
timestamping is off between different compositor sink branches (because that
requires out-of-band communication between the different sink branches),
causing unwanted delays. Best for me would be if the compositor element just
mixes frames as they arrive.

Any more hints? In the mean time I will check-out the merrits of the
compositor element. Am I assuming correctly that the compositor element
superseeds the videomixer element?



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/gst-1-0-How-to-make-videomixer-mix-raw-frames-without-timing-information-tp4671302p4671304.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list