Take the 2-minute tour ×

I created a GStreamer pipeline that takes multiple input sources: camera audio/video, a logo and a screen capture video that is received as a RTP stream). It combines these sources into one video using the videomixer element.

The screen capture stream however seems to lag 2 seconds behind the rest. In order to fix this I would like to introduce a 2 second delay in the other streams. And that's where I'm currently stuck. I've tried to add a queue element after the camera source and set the "min-threshold-time" attribute to create a 2 second delay, but GStreamer seems to correct this for the other streams. The result is that the entire stream is delayed and the lag between the RTP stream and the camera video is still there.

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

I ended up implementing a buffer probe which enabled me to modify the timestamps of individual packets. See Pipeline Manipulation.

share|improve this answer
Care to share your code/configuration for doing this? –  Antoine Hedgecock Dec 2 '12 at 18:34
add comment

Your Answer


