<br/>Hi Wim
<br/><br/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Thanks for your reply. I corrected my mistake its working fine.
<br/><br/>Rgds
<br/>Kolanchi
<div class='shrinkable-quote'><br/>&gt;
<br/>&gt; On 04/03/2012 06:44 AM, kolanchi wrote:
<br/>&gt;&gt; Hello All,
<br/>&gt;&gt;
<br/>&gt;&gt; I am prototyping client server streaming using Gstreamer.
<br/>&gt;&gt; &nbsp; Using gst-launch it works fine.
<br/>&gt;&gt;
<br/>&gt;&gt; I am constructing same elements &nbsp;in my code as follows :
<br/>&gt;&gt;
<br/>&gt;&gt;
<br/>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;pipeline = gst_pipeline_new (&quot;rtsp-video-player&quot;);
<br/>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;source &nbsp; = gst_element_factory_make (&quot;rtspsrc&quot;,&quot;rtsp-src&quot;);
<br/>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;depay &nbsp;= gst_element_factory_make
<br/>&gt;&gt; (&quot;rtph264depay&quot;,&quot;h264-depay&quot;);
<br/>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;decoder &nbsp;= gst_element_factory_make
<br/>&gt;&gt; (&quot;ffdec_h264&quot;,&quot;video-decoder&quot;);
<br/>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;sink &nbsp; &nbsp; = gst_element_factory_make (&quot;autovideosink&quot;,
<br/>&gt;&gt; &quot;video-output&quot;);
<br/>&gt;&gt;
<br/>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if (!pipeline || !source || !depay || !decoder || !sink) {
<br/>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;g_printerr (&quot;One element could not be created.
<br/>&gt;&gt; Exiting.\n&quot;);
<br/>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;return -1;
<br/>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}
<br/>&gt;&gt;
<br/>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/* we add all elements into the pipeline */
<br/>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;gst_bin_add_many (GST_BIN (pipeline),
<br/>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;source,depay, decoder, sink, NULL);
<br/>&gt;&gt;
<br/>&gt;&gt;
<br/>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;gst_element_link_many (source,depay,decoder,sink,NULL);
<br/>&gt;
<br/>&gt; Check the return code of this function, it will return FALSE. Read the
<br/>&gt; part about dynamic
<br/>&gt; pads in the manual to understand why and how to solve it.
<br/>&gt;
<br/>&gt; Wim
<br/>&gt;
<br/>&gt;&gt;
<br/>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;g_signal_connect (source, &quot;pad-added&quot;, G_CALLBACK
<br/>&gt;&gt; (on_pad_added),
<br/>&gt;&gt; depay);
<br/>&gt;&gt;
<br/>&gt;&gt;
<br/>&gt;&gt; &nbsp; &nbsp;static void
<br/>&gt;&gt; on_pad_added (GstElement *element,
<br/>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;GstPad &nbsp; &nbsp; *pad,
<br/>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;gpointer &nbsp; &nbsp;data)
<br/>&gt;&gt; {
<br/>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;gchar *name;
<br/>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;GstPad *sinkpad;
<br/>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;GstElement *depay = (GstElement *) data;
<br/>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;GstElement *fakesink;
<br/>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;name = gst_pad_get_name (pad);
<br/>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;printf(&quot; &nbsp;Dynamic pad %s\n&quot;,name);
<br/>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;fakesink &nbsp; &nbsp; = gst_element_factory_make (&quot;fakesink&quot;,
<br/>&gt;&gt; &quot;video-output&quot;);
<br/>&gt;&gt;
<br/>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if(strncmp(&quot;recv_rtp_src_1&quot;,name,14)== 0)
<br/>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{
<br/>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;printf(&quot;linking pad\n&quot;);
<br/>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;sinkpad = gst_element_get_static_pad (depay, &quot;sink&quot;);
<br/>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;printf(&quot;Dynamic pad created linking source to
<br/>&gt;&gt; %s\n&quot;,name);
<br/>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;gst_pad_link (pad, sinkpad);
<br/>&gt;&gt;
<br/>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;gst_object_unref (sinkpad);
<br/>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}
<br/>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if(strncmp(&quot;recv_rtp_src_0&quot;,name,14)== 0)
<br/>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{
<br/>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;printf(&quot;linking pad\n&quot;);
<br/>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;sinkpad = gst_element_get_static_pad (fakesink,
<br/>&gt;&gt; &quot;sink&quot;);
<br/>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;printf(&quot;Dynamic pad created linking source to
<br/>&gt;&gt; %s\n&quot;,name);
<br/>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;gst_pad_link (pad, sinkpad);
<br/>&gt;&gt;
<br/>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;gst_object_unref (sinkpad);
<br/>&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}
<br/>&gt;&gt;
<br/>&gt;&gt; }
<br/>&gt;&gt;
<br/>&gt;&gt; while running my application I am facing gst_rtp_jitter_buffer_loop is
<br/>&gt;&gt; going
<br/>&gt;&gt; on while..
<br/>&gt;&gt;
<br/>&gt;&gt; below i am mentioning the error message.
<br/>&gt;&gt;
<br/>&gt;&gt;
<br/>&gt;&gt; 01660460_97
<br/>&gt;&gt; 0:00:02.873210956 &nbsp;2169 &nbsp;0x958c2a8 INFO &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;GST_PADS
<br/>&gt;&gt; gstpad.c:1941:gst_pad_link_prepare: trying to link
<br/>&gt;&gt; rtsp-src:recv_rtp_src_1_1101660460_97 and h264-depay:sink
<br/>&gt;&gt; 0:00:02.873302681 &nbsp;2169 &nbsp;0x958c2a8 INFO &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;GST_PADS
<br/>&gt;&gt; gstpad.c:2124:gst_pad_link_full: linked
<br/>&gt;&gt; rtsp-src:recv_rtp_src_1_1101660460_97 and
<br/>&gt;&gt; h264-depay:sink, successful
<br/>&gt;&gt; 0:00:02.873492861 &nbsp;2169 &nbsp;0x958c2a8 INFO &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; GST_EVENT
<br/>&gt;&gt; gstevent.c:599:gst_event_new_new_segment_full: creating newsegment
<br/>&gt;&gt; update 0,
<br/>&gt;&gt; rate
<br/>&gt;&gt; 1.000000, format GST_FORMAT_TIME, start 0:00:00.000000000, stop
<br/>&gt;&gt; 0:06:49.791992187,
<br/>&gt;&gt; position 0:00:00.000000000
<br/>&gt;&gt; 0:00:02.873899696 &nbsp;2169 &nbsp;0x958c2a8 INFO &nbsp; &nbsp; &nbsp;gstrtpjitterbuffer
<br/>&gt;&gt; gstrtpjitterbuffer.c:1603:gst_rtp_jitter_buffer_loop:&lt;rtpjitterbuffer0&gt;
<br/>&gt;&gt; buffering,
<br/>&gt;&gt; elapsed 0:00:01.541666666 estimated_eos 0:06:49.791992187 left
<br/>&gt;&gt; 0:06:48.250325521
<br/>&gt;&gt; delay 0:00:02.000000000
<br/>&gt;&gt; 0:00:02.954846776 &nbsp;2169 &nbsp;0x958c2a8 INFO &nbsp; &nbsp; &nbsp;gstrtpjitterbuffer
<br/>&gt;&gt; gstrtpjitterbuffer.c:1603:gst_rtp_jitter_buffer_loop:&lt;rtpjitterbuffer0&gt;
<br/>&gt;&gt; buffering,
<br/>&gt;&gt; elapsed 0:00:01.541666666 estimated_eos 0:06:49.791992187 left
<br/>&gt;&gt; 0:06:48.250325521
<br/>&gt;&gt; delay 0:00:02.000000000
<br/>&gt;&gt; 0:00:02.955177936 &nbsp;2169 &nbsp;0x95601a0 INFO &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; basesrc
<br/>&gt;&gt; gstbasesrc.c:2511:gst_base_src_loop:&lt;udpsrc1&gt; &nbsp;pausing after
<br/>&gt;&gt; gst_pad_push() =
<br/>&gt;&gt; not-linked
<br/>&gt;&gt; 0:00:02.955233651 &nbsp;2169 &nbsp;0x95601a0 WARN &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; basesrc
<br/>&gt;&gt; gstbasesrc.c:2574:gst_base_src_loop:&lt;udpsrc1&gt; &nbsp;error: Internal data flow
<br/>&gt;&gt; error.
<br/>&gt;&gt; 0:00:02.955258861 &nbsp;2169 &nbsp;0x95601a0 WARN &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; basesrc
<br/>&gt;&gt; gstbasesrc.c:2574:gst_base_src_loop:&lt;udpsrc1&gt; &nbsp;error: streaming task
<br/>&gt;&gt; paused,
<br/>&gt;&gt; reason
<br/>&gt;&gt; not-linked (-1)
<br/>&gt;&gt; 0:00:02.955313831 &nbsp;2169 &nbsp;0x95601a0 INFO &nbsp; &nbsp; &nbsp; &nbsp;GST_ERROR_SYSTEM
<br/>&gt;&gt; gstelement.c:1865:gst_element_message_full:&lt;udpsrc1&gt; &nbsp;posting message:
<br/>&gt;&gt; Internal data
<br/>&gt;&gt; flow error.
<br/>&gt;&gt; 0:00:02.955361091 &nbsp;2169 &nbsp;0x95601a0 INFO &nbsp; &nbsp; &nbsp; &nbsp;GST_ERROR_SYSTEM
<br/>&gt;&gt; gstelement.c:1888:gst_element_message_full:&lt;udpsrc1&gt; &nbsp;posted error
<br/>&gt;&gt; message:
<br/>&gt;&gt; Internal
<br/>&gt;&gt; data flow error.
<br/>&gt;&gt; 0:00:02.955444806 &nbsp;2169 &nbsp;0x958c2a8 INFO &nbsp; &nbsp; &nbsp;gstrtpjitterbuffer
<br/>&gt;&gt; gstrtpjitterbuffer.c:1603:gst_rtp_jitter_buffer_loop:&lt;rtpjitterbuffer0&gt;
<br/>&gt;&gt; buffering,
<br/>&gt;&gt; elapsed 0:00:01.541666666 estimated_eos 0:06:49.791992187 left
<br/>&gt;&gt; 0:06:48.250325521
<br/>&gt;&gt; delay 0:00:02.000000000
<br/>&gt;&gt; 0:00:03.037995976 &nbsp;2169 &nbsp;0x958c2a8 INFO &nbsp; &nbsp; &nbsp;gstrtpjitterbuffer
<br/>&gt;&gt; gstrtpjitterbuffer.c:1603:gst_rtp_jitter_buffer_loop:&lt;rtpjitterbuffer0&gt;
<br/>&gt;&gt; buffering,
<br/>&gt;&gt; elapsed 0:00:01.541666666 estimated_eos 0:06:49.791992187 left
<br/>&gt;&gt; 0:06:48.250325521
<br/>&gt;&gt; delay 0:00:02.000000000
<br/>&gt;&gt; 0:00:03.038312117 &nbsp;2169 &nbsp;0x958c2a8 INFO &nbsp; &nbsp; &nbsp;gstrtpjitterbuffer
<br/>&gt;&gt; gstrtpjitterbuffer.c:1603:gst_rtp_jitter_buffer_loop:&lt;rtpjitterbuffer0&gt;
<br/>&gt;&gt; buffering,
<br/>&gt;&gt; elapsed 0:00:01.541666666 estimated_eos 0:06:49.791992187 left
<br/>&gt;&gt; 0:06:48.250325521
<br/>&gt;&gt; delay 0:00:02.000000000
<br/>&gt;&gt; 0:00:03.038715702 &nbsp;2169 &nbsp;0x958c2a8 INFO &nbsp; &nbsp; &nbsp;gstrtpjitterbuffer
<br/>&gt;&gt; gstrtpjitterbuffer.c:1603:gst_rtp_jitter_buffer_loop:&lt;rtpjitterbuffer0&gt;
<br/>&gt;&gt; buffering,
<br/>&gt;&gt; elapsed 0:00:01.541666666 estimated_eos 0:06:49.791992187 left
<br/>&gt;&gt; 0:06:48.250325521
<br/>&gt;&gt; delay 0:00:02.000000000
<br/>&gt;&gt; 0:00:03.121137613 &nbsp;2169 &nbsp;0x958c2a8 INFO &nbsp; &nbsp; &nbsp;gstrtpjitterbuffer
<br/>&gt;&gt; gstrtpjitterbuffer.c:1603:gst_rtp_jitter_buffer_loop:&lt;rtpjitterbuffer0&gt;
<br/>&gt;&gt; buffering,
<br/>&gt;&gt; elapsed 0:00:01.541666666 estimated_eos 0:06:49.791992187 left
<br/>&gt;&gt; 0:06:48.250325521
<br/>&gt;&gt; delay 0:00:02.000000000
<br/>&gt;&gt; 0:00:03.121465547 &nbsp;2169 &nbsp;0x958c2a8 INFO &nbsp; &nbsp; &nbsp;gstrtpjitterbuffer
<br/>&gt;&gt; gstrtpjitterbuffer.c:1603:gst_rtp_jitter_buffer_loop:&lt;rtpjitterbuffer0&gt;
<br/>&gt;&gt; buffering,
<br/>&gt;&gt; elapsed 0:00:01.541666666 estimated_eos 0:06:49.791992187 left
<br/>&gt;&gt; 0:06:48.250325521
<br/>&gt;&gt; delay 0:00:02.000000000
<br/>&gt;&gt; 0:00:03.205265284 &nbsp;2169 &nbsp;0x958c2a8 INFO &nbsp; &nbsp; &nbsp;gstrtpjitterbuffer
<br/>&gt;&gt; gstrtpjitterbuffer.c:1603:gst_rtp_jitter_buffer_loop:&lt;rtpjitterbuffer0&gt;
<br/>&gt;&gt; buffering,
<br/>&gt;&gt; elapsed 0:00:01.541666666 estimated_eos 0:06:49.791992187 left
<br/>&gt;&gt; 0:06:48.250325521
<br/>&gt;&gt; delay 0:00:02.000000000
<br/>&gt;&gt; 0:00:03.205596654 &nbsp;2169 &nbsp;0x958c2a8 INFO &nbsp; &nbsp; &nbsp;gstrtpjitterbuffer
<br/>&gt;&gt; gstrtpjitterbuffer.c:1603:gst_rtp_jitter_buffer_loop:&lt;rtpjitterbuffer0&gt;
<br/>&gt;&gt; buffering,
<br/>&gt;&gt; elapsed 0:00:01.541666666 estimated_eos 0:06:49.791992187 left
<br/>&gt;&gt; 0:06:48.250325521
<br/>&gt;&gt; delay 0:00:02.000000000
<br/>&gt;&gt; 0:00:03.288398519 &nbsp;2169 &nbsp;0x958c2a8 INFO &nbsp; &nbsp; &nbsp;gstrtpjitterbuffer
<br/>&gt;&gt; gstrtpjitterbuffer.c:1603:gst_rtp_jitter_buffer_loop:&lt;rtpjitterbuffer0&gt;
<br/>&gt;&gt; buffering,
<br/>&gt;&gt; elapsed 0:00:01.541666666 estimated_eos 0:06:49.791992187 left
<br/>&gt;&gt; 0:06:48.250325521
<br/>&gt;&gt; delay 0:00:02.000000000
<br/>&gt;&gt;
<br/>&gt;&gt;
<br/>&gt;&gt; 1.what was the reason the gst_rtp_jitter_buffer_loop is going continous
<br/>&gt;&gt; loop?.
<br/>&gt;&gt; 2.please guide me how to solve this issue.
<br/>&gt;&gt;
<br/>&gt;&gt; I am waiting your favourably reply
<br/>&gt;&gt;
<br/>&gt;&gt; Thanks in advance
<br/>&gt;&gt; Kolanchi
<br/>&gt;&gt;
<br/>&gt;&gt;
<br/>&gt;&gt; --
<br/>&gt;&gt; View this message in context:
<br/>&gt;&gt; <a href="http://gstreamer-devel.966125.n4.nabble.com/gst-rtp-jitter-buffer-loop-Issue-tp4527796p4527796.html" target="_top" rel="nofollow" link="external">http://gstreamer-devel.966125.n4.nabble.com/gst-rtp-jitter-buffer-loop-Issue-tp4527796p4527796.html</a><br/>&gt;&gt; Sent from the GStreamer-devel mailing list archive at Nabble.com.
<br/>&gt;&gt; _______________________________________________
<br/>&gt;&gt; gstreamer-devel mailing list
<br/>&gt;&gt; <a href="/user/SendEmail.jtp?type=node&node=4528759&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/>&gt;&gt; <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_top" rel="nofollow" link="external">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br/>&gt;
<br/>&gt; _______________________________________________
<br/>&gt; gstreamer-devel mailing list
<br/>&gt; <a href="/user/SendEmail.jtp?type=node&node=4528759&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/>&gt; <a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_top" rel="nofollow" link="external">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br/>&gt;
<br/>&gt;
<br/>&gt; _______________________________________________
<br/>&gt; If you reply to this email, your message will be added to the discussion
<br/>&gt; below:
<br/>&gt; <a href="http://gstreamer-devel.966125.n4.nabble.com/gst-rtp-jitter-buffer-loop-Issue-tp4527796p4528065.html" target="_top" rel="nofollow" link="external">http://gstreamer-devel.966125.n4.nabble.com/gst-rtp-jitter-buffer-loop-Issue-tp4527796p4528065.html</a><br/>&gt;
<br/>&gt; To unsubscribe from gst_rtp_jitter_buffer_loop Issue, visit
<br/>&gt; <a href="" target="_top" rel="nofollow" link="external">
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/gst-rtp-jitter-buffer-loop-Issue-tp4527796p4528759.html">Re: gst_rtp_jitter_buffer_loop Issue</a><br/>
Sent from the <a href="http://gstreamer-devel.966125.n4.nabble.com/">GStreamer-devel mailing list archive</a> at Nabble.com.<br/>