Video freezes for few seconds and buffers being dropped error

JSP jebaraj at tonboimaging.com
Wed Jul 20 16:01:36 UTC 2016


Hi experts,
I have the following pipeline,

appsrc = gst_element_factory_make ("appsrc", "source");
  	packer = gst_element_factory_make ("rtph264pay", "packer");
  	videosink = gst_element_factory_make ("udpsink", "videosink");

  	/* setup */

  	g_object_set (G_OBJECT (appsrc), "caps",
  		gst_caps_new_simple ("video/x-h264",
				     "stream-format", G_TYPE_STRING, "byte-stream",
					 "alignment" ,G_TYPE_STRING,"nal",
					 "level",G_TYPE_STRING,"2",
					 "profile",G_TYPE_STRING,"high",
					 "width", G_TYPE_INT, 720,
				     "height", G_TYPE_INT, 576,
					 "pixel-aspect-ratio",GST_TYPE_FRACTION,1,1,
				     "framerate", GST_TYPE_FRACTION, 30, 1,
				     NULL), NULL);


In receiver side,

gst-launch-1.0 -v udpsrc multicast-group=239.192.1.6 auto-multicast=true 
port=5004 ! "application/x-rtp, media=video, clock-rate=90000,
encoding-name=H264, packetization-mode=(string)1,
profile-level-id=(string)640014, a-framerate=(string)25, payload=(int)96" !
rtph264depay ! decodebin ! videoconvert ! ximagesink

I am getting the video in receiver side, but it freezes for few seconds and
recovers. Sometimes receiver is crashing and sometimes the following error
also occurs.

WARNING: from element /GstPipeline:pipeline0/GstXImageSink:ximagesink0: A
lot of buffers are being dropped.
Additional debug info:
gstbasesink.c(2854): gst_base_sink_is_too_late ():
/GstPipeline:pipeline0/GstXImageSink:ximagesink0:
There may be a timestamping problem, or this computer is too slow.

what is the issue with this sender and receiver pipeline? 

How to find the caps of rtph264pay element?

Thanks.



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Video-freezes-for-few-seconds-and-buffers-being-dropped-error-tp4678771.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list