Discussion:
[gst-devel] How to create a delay in a video stream?
Francis Rammeloo
2010-02-25 22:39:03 UTC
Permalink
I have a pipeline that receives a camera video stream over USB and a
screen capture video over RTP. The incoming streams are combined using
the videomixer element. The desktop streamer seems lag 2 seconds
behind the camera stream. I would like to correct this time difference
by intruducing a delay of 2 seconds for the camera. How can I do this?

Grts,
Francis
Stefan Kost
2010-02-26 13:09:44 UTC
Permalink
Post by Francis Rammeloo
I have a pipeline that receives a camera video stream over USB and a
screen capture video over RTP. The incoming streams are combined using
the videomixer element. The desktop streamer seems lag 2 seconds
behind the camera stream. I would like to correct this time difference
by intruducing a delay of 2 seconds for the camera. How can I do this?
Maybe you can add a queue after the camera source and use "min-threshold-time"
(or "min-threshold-buffers" where one buffer = one frame).

Stefan
Post by Francis Rammeloo
Grts,
Francis
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
gstreamer-devel mailing list
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Puyol
2014-05-13 14:06:16 UTC
Permalink
hello, I didn't indestand how to add audio delay in gstreamer, how can I use
the queue to create a delay? thanks



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-to-create-a-delay-in-a-video-stream-tp1569875p4666951.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
Luis de Bethencourt
2014-05-14 15:56:46 UTC
Permalink
You want to use the min-threshold-time of the queue element:
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-plugins/html/gstreamer-plugins-queue.html#GstQueue--min-threshold-time

Keep in mind that queueing a decoded video stream might result in huge
memory usage. Since you are storing the video between current and delay.

Luis
Post by Puyol
hello, I didn't indestand how to add audio delay in gstreamer, how can I use
the queue to create a delay? thanks
--
http://gstreamer-devel.966125.n4.nabble.com/How-to-create-a-delay-in-a-video-stream-tp1569875p4666951.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
_______________________________________________
gstreamer-devel mailing list
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Loading...