Queue2 and RTP

Daniel DEDISSE d.dedisse at vogo.fr
Sun Dec 8 23:27:44 PST 2013


I want to create a pipeline of a RTP receiving stream with a ring buffer. Be able to seek and replay in the ring buffer.
I've modified the queue2 element to do that. It's working with a UDPSRC (mpegts stream) source but not with RTP.

Daniel

-----Message d'origine-----
De : gstreamer-devel-bounces at lists.freedesktop.org [mailto:gstreamer-devel-bounces at lists.freedesktop.org] De la part de Sebastian Dröge
Envoyé : samedi 7 décembre 2013 11:39
À : Discussion of the development of and with GStreamer
Objet : Re: Queue2 and RTP

On Fr, 2013-12-06 at 15:32 +0000, Daniel DEDISSE wrote:
> Hi All,
> 
> I'm trying to add a Queue2 buffer in a rtp receiving pipeline :
> 
> This pipeline is working fine : 
> gst-launch-1.0 -v rtspsrc location=rtsp://192.168.10.110/stream1 
> debug=true ! rtph264depay ! h264parse ! avdec_h264 ! videoconvert ! 
> autovideosink
> 
> 
> But I'm unable to insert a Queue2 buffering element :
> gst-launch-1.0 -v rtspsrc location=rtsp://192.168.10.110/stream1 
> debug=true ! rtph264depay !  queue2 max-size-buffers=500 
> ring-buffer-max-size=5000000 ! h264parse ! avdec_h264 ! videoconvert ! 
> autovideosink
> 
> --> Not working (wherever I put queue2 in the pipeline).
> 
> 
> WHY ????

The problem here should be that this will try to buffer the stream on-disk in a ringbuffer (ringbuffer-max-size). And this will not work properly for RTP.

What are you trying to do there?

--
Sebastian Dröge <sebastian at centricular.com> Centricular Ltd - http://www.centricular.com Expertise, Straight from the Source


More information about the gstreamer-devel mailing list