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