Hi,<br><br>I had a similar problem with dtmfsrc on blackfin:<br><br><a href="https://bugzilla.gnome.org/show_bug.cgi?id=666626">https://bugzilla.gnome.org/show_bug.cgi?id=666626</a><br><br>But in my case the error was on configuring the latency, not querying it.<br>
<br>I had to create a branch of the plugin with the fix since until now it has not been fixed. Do some inspection on rtspsrc, may it is not handling latency queries well.<br><br>Best regards,<br>Tiago Katcipis<br><br><div class="gmail_quote">
On Tue, Apr 17, 2012 at 3:15 AM, Bruno Gonzalez <span dir="ltr">&lt;<a href="mailto:stenyak@gmail.com">stenyak@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Sometimes, a TCP H264 video stream to some IP cameras cannot be stablished.</div><div>This problematic behaviour happens only with 2 out of the 5 cameras we have tried.</div><div>I cannot reproduce the buggy behaviour from other client like VLC (</div>


<div><br></div><div> == Client system information:</div><div>$ cat /etc/issue</div><div>Ubuntu 11.10 \n \l</div><div>$ uname -a</div><div>Linux dubai 3.0.0-16-generic-pae #29-Ubuntu SMP Tue Feb 14 13:56:31 UTC 2012 i686 i686 i386 GNU/Linux</div>


<div>$ gst-launch-0.10 --version</div><div>gst-launch-0.10 version 0.10.35</div><div>GStreamer 0.10.35</div><div><a href="https://launchpad.net/distros/ubuntu/+source/gstreamer0.10" target="_blank">https://launchpad.net/distros/ubuntu/+source/gstreamer0.10</a></div>


<div><br></div><div> == Steps to reproduce bug:</div><div>1) Run these commands:</div><div>$ export GST_DEBUG=&quot;*:2&quot;</div><div>$ while true; do gst-launch rtspsrc location=&quot;rtsp://<a href="http://user:password@192.168.3.206/axis-media/media.amp?resolution=640x480&amp;fps=10&amp;videocodec=h264" target="_blank">user:password@192.168.3.206/axis-media/media.amp?resolution=640x480&amp;fps=10&amp;videocodec=h264</a>&quot; protocols=&quot;tcp&quot; ! decodebin ! ffmpegcolorspace ! xvimagesink; done</div>


<div>2) Ctrl+C each time you get a working video stream, let it loop and try to get a new stream again.</div><div>3) About 10-15% of the times it will fail to show any video. Console will show this output:</div><div>Setting pipeline to PAUSED ...</div>


<div>Pipeline is live and does not need PREROLL ...</div><div>Setting pipeline to PLAYING ...</div><div>0:00:00.399456836 29193  0x9df6050 WARN                     bin gstbin.c:2384:gst_bin_do_latency_func:&lt;pipeline0&gt; failed to query latency</div>


<div>New clock: GstSystemClock</div><div>0:00:00.696638170 29193  0x9f7beb0 WARN                 rtspsrc gstrtspsrc.c:4025:gst_rtspsrc_loop:&lt;rtspsrc0&gt; error: Internal data flow error.</div><div>0:00:00.696708832 29193  0x9f7beb0 WARN                 rtspsrc gstrtspsrc.c:4025:gst_rtspsrc_loop:&lt;rtspsrc0&gt; error: streaming task paused, reason not-linked (-1)</div>


<div>ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Internal data flow error.</div><div>Additional debug info:</div><div>gstrtspsrc.c(4025): gst_rtspsrc_loop (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:</div>


<div>streaming task paused, reason not-linked (-1)</div><div>Execution ended after 122707578 ns</div><div><br></div><div><br></div><div> == Additional information:</div><div>The &quot;failed to query latency&quot; debug message seems to be normal? It happens with all tested cameras. However the &quot;internal data flow error&quot; and &quot;streaming task paused&quot; messages are not normal.</div>


<div><br></div><div>A faster way to make the stream fail, is to stablish not 1, but 2 or more simultaneous streams (and of course, disregarding any 503 errors that may appear due to camera rejecting additional connections, which can be reasonable to expect), like this:</div>


<div>$ while true; do gst-launch rtspsrc location=&quot;rtsp://<a href="http://user:password@192.168.3.206/axis-media/media.amp?resolution=640x480&amp;fps=10&amp;videocodec=h264" target="_blank">user:password@192.168.3.206/axis-media/media.amp?resolution=640x480&amp;fps=10&amp;videocodec=h264</a>&quot; protocols=&quot;tcp&quot; ! decodebin ! ffmpegcolorspace ! xvimagesink  rtspsrc location=&quot;rtsp://<a href="http://user:password@192.168.3.206/axis-media/media.amp?resolution=640x480&amp;fps=10&amp;videocodec=h264" target="_blank">user:password@192.168.3.206/axis-media/media.amp?resolution=640x480&amp;fps=10&amp;videocodec=h264</a>&quot; protocols=&quot;tcp&quot; ! decodebin ! ffmpegcolorspace ! xvimagesink; done</div>


<div><br></div><div><br></div><div><br></div><div>Please let me know if you need more information.</div><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br>Saludos,<br>     Bruno González<br><br>_______________________________________________<br>
Jabber: stenyak AT <a href="http://gmail.com" target="_blank">gmail.com</a><br>

<a href="http://www.stenyak.com" target="_blank">http://www.stenyak.com</a><br>
</font></span><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br>