[Bug 736760] RTSP connection to IP camera failed

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Oct 14 07:28:31 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=736760
  GStreamer | gst-plugins-good | 1.4.1

--- Comment #3 from Klaus <tp454 at freenet.de> 2014-10-14 14:28:25 UTC ---
I have tested this issue with the current version 1.4.3 and the behaviour is
the same. When it failed it looks like this:

C:\>gst-launch-1.0 --gst-debug=udpsrc:5 playbin
uri=rtsp://192.168.0.27/VideoInput/1/h264/1
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://192.168.0.27/VideoInput/1/h264/1
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
0:00:00.437959225  6412   089F3870 DEBUG                 udpsrc
gstudpsrc.c:830:gst_udpsrc_open:<udpsrc0> allocating socket for 0.0.0.0:0
0:00:00.442614833  6412   089F3870 DEBUG                 udpsrc
gstudpsrc.c:803:gst_udpsrc_resolve:<udpsrc0> IP address for host 0.0.0.0 is
0.0.0.0
0:00:00.448094350  6412   089F3870 DEBUG                 udpsrc
gstudpsrc.c:843:gst_udpsrc_open:<udpsrc0> got socket 08C26250
0:00:00.453338859  6412   089F3870 DEBUG                 udpsrc
gstudpsrc.c:850:gst_udpsrc_open:<udpsrc0> binding on port 0
0:00:00.458379388  6412   089F3870 INFO                  udpsrc
gstudpsrc.c:898:gst_udpsrc_open:<udpsrc0> setting udp buffer of 524288 bytes
0:00:00.463508083  6412   089F3870 INFO                  udpsrc
gstudpsrc.c:918:gst_udpsrc_open:<udpsrc0> have udp buffer of 524288 bytes
0:00:00.468905577  6412   089F3870 DEBUG                 udpsrc
gstudpsrc.c:991:gst_udpsrc_open:<udpsrc0> bound, on port 61278
0:00:00.473787898  6412   089F3870 DEBUG                 udpsrc
gstudpsrc.c:994:gst_udpsrc_open:<udpsrc0> notifying port 61278
0:00:00.479158974  6412   089F3870 DEBUG                 udpsrc
gstudpsrc.c:830:gst_udpsrc_open:<udpsrc1> allocating socket for 0.0.0.0:61279
0:00:00.484412085  6412   089F3870 DEBUG                 udpsrc
gstudpsrc.c:803:gst_udpsrc_resolve:<udpsrc1> IP address for host 0.0.0.0 is
0.0.0.0
0:00:00.489748447  6412   089F3870 DEBUG                 udpsrc
gstudpsrc.c:843:gst_udpsrc_open:<udpsrc1> got socket 08C26360
0:00:00.494682070  6412   089F3870 DEBUG                 udpsrc
gstudpsrc.c:850:gst_udpsrc_open:<udpsrc1> binding on port 61279
0:00:00.499982182  6412   089F3870 INFO                  udpsrc
gstudpsrc.c:918:gst_udpsrc_open:<udpsrc1> have udp buffer of 8192 bytes
0:00:00.505075550  6412   089F3870 DEBUG                 udpsrc
gstudpsrc.c:991:gst_udpsrc_open:<udpsrc1> bound, on port 61279
Progress: (request) SETUP stream 0
Progress: (open) Opened Stream
Setting pipeline to PLAYING ...
New clock: GstSystemCl0o:c0k0
00.P5r3o4g2r2e9s7s0:0  (req u6e4s1t2) Se n d i0n8g9 FP3LCA0Y8  requWeAsRtN
                 udpsrPcr oggsrteusdsp:s r(cr.ecq:u5e5s2t:)g sSte_nuddipnsgr
cP_LcArYe arteeq:u<eusdtp
rc0> error: get available bytes failed
ERROR: from element
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstUDPSrc:udpsrc0:
Could not read from resource.
Additional debug info:
gstudpsrc.c(552): gst_udpsrc_create ():
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstUDPSrc:udpsrc0:
get available bytes failed
Execution ended after 0:00:00.039272072
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
0:00:00.584736057  6412   089F3BE0 DEBUG                 udpsrc
gstudpsrc.c:545:gst_udpsrc_create: stop called
0:00:00.589723133  6412   08C21080 DEBUG                 udpsrc
gstudpsrc.c:1071:gst_udpsrc_close: closing sockets
0:00:00.595206951  6412   08C21080 DEBUG                 udpsrc
gstudpsrc.c:1071:gst_udpsrc_close: closing sockets
Setting pipeline to NULL ...
Freeing pipeline ...
C:\>

When I look at the debug output, for me it looks like some messages are damaged
(starting with "New clock: GstSystemCl0o:c0k0"). Perhaps it's overwriting some
memory by accident?
When the connection succeeds it looks like this (I let it playing some seconds
and then I closed the window):

C:\>gst-launch-1.0 --gst-debug=udpsrc:5 playbin
uri=rtsp://192.168.0.27/VideoInput/1/h264/1
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://192.168.0.27/VideoInput/1/h264/1
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
0:00:00.436708616  4568   08A03870 DEBUG                 udpsrc
gstudpsrc.c:830:gst_udpsrc_open:<udpsrc0> allocating socket for 0.0.0.0:0
0:00:00.441308313  4568   08A03870 DEBUG                 udpsrc
gstudpsrc.c:803:gst_udpsrc_resolve:<udpsrc0> IP address for host 0.0.0.0 is
0.0.0.0
0:00:00.446668329  4568   08A03870 DEBUG                 udpsrc
gstudpsrc.c:843:gst_udpsrc_open:<udpsrc0> got socket 08C36250
0:00:00.451446203  4568   08A03870 DEBUG                 udpsrc
gstudpsrc.c:850:gst_udpsrc_open:<udpsrc0> binding on port 0
0:00:00.456311321  4568   08A03870 INFO                  udpsrc
gstudpsrc.c:898:gst_udpsrc_open:<udpsrc0> setting udp buffer of 524288 bytes
0:00:00.461373661  4568   08A03870 INFO                  udpsrc
gstudpsrc.c:918:gst_udpsrc_open:<udpsrc0> have udp buffer of 524288 bytes
0:00:00.466476244  4568   08A03870 DEBUG                 udpsrc
gstudpsrc.c:991:gst_udpsrc_open:<udpsrc0> bound, on port 49318
0:00:00.471231691  4568   08A03870 DEBUG                 udpsrc
gstudpsrc.c:994:gst_udpsrc_open:<udpsrc0> notifying port 49318
0:00:00.476656527  4568   08A03870 DEBUG                 udpsrc
gstudpsrc.c:830:gst_udpsrc_open:<udpsrc1> allocating socket for 0.0.0.0:49319
0:00:00.481596909  4568   08A03870 DEBUG                 udpsrc
gstudpsrc.c:803:gst_udpsrc_resolve:<udpsrc1> IP address for host 0.0.0.0 is
0.0.0.0
0:00:00.486881354  4568   08A03870 DEBUG                 udpsrc
gstudpsrc.c:843:gst_udpsrc_open:<udpsrc1> got socket 08C36360
0:00:00.491761832  4568   08A03870 DEBUG                 udpsrc
gstudpsrc.c:850:gst_udpsrc_open:<udpsrc1> binding on port 49319
0:00:00.496651218  4568   08A03870 INFO                  udpsrc
gstudpsrc.c:918:gst_udpsrc_open:<udpsrc1> have udp buffer of 8192 bytes
0:00:00.501687139  4568   08A03870 DEBUG                 udpsrc
gstudpsrc.c:991:gst_udpsrc_open:<udpsrc1> bound, on port 49319
Progress: (request) SETUP stream 0
Progress: (open) Opened Stream
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Progress: (request) Sending PLAY request
Progress: (request) Sending PLAY request
Progress: (request) Sent PLAY request
Redistribute latency...
ERROR: from element
/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstD3DVideoSink:d3dvideosink0:
Output window was closed
Additional debug info:
d3dhelpers.c(1824): d3d_render_buffer ():
/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:vbin/GstD3DVideoSink:d3dvideosink0
Execution ended after 0:00:17.637897232
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
0:00:18.203069905  4568   0C92E150 DEBUG                 udpsrc
gstudpsrc.c:545:gst_udpsrc_create: stop called
0:00:18.207525834  4568   08C31080 DEBUG                 udpsrc
gstudpsrc.c:1071:gst_udpsrc_close: closing sockets
0:00:18.213302720  4568   08C31080 DEBUG                 udpsrc
gstudpsrc.c:1071:gst_udpsrc_close: closing sockets
Setting pipeline to NULL ...
Freeing pipeline ...
C:\>

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list