[Bug 736760] RTSP connection to IP camera failed

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Sep 17 06:10:56 PDT 2014


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

--- Comment #2 from Klaus <tp454 at freenet.de> 2014-09-17 13:10:47 UTC ---
(In reply to comment #1)
> > get available bytes failed
> 
> This is quite a strange error, can't think of a reason why this would ever
> fail, unless the socket was closed by accident or something. An strace log
> might be interesting.
> 
> Having said that, any chance you could re-test with udpsrc from git master? The
> code that triggers the error doesn't exist any more in git master.


I tried to use 'StraceNt' for Windows, but it seems that it doesn't work under
Win7-64Bit. So here is a debug log from udpsrc:

C:\>gst-launch-1.0 --gst-debug=udpsrc:9 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: (op0e:n0)0 :R0e0t.r4i3e0v0i8n2g2 8s4e rve r4 4o9p2tion s
08B4C870 ProDgErBeUsGs :   (ope n )   R e t r i e v i n g  umdepdsirac 
ignsftou
psrc.c:830:gst_udpsrc_open:<udpsrc0> allocating socket for 0.0.0.0:0
0:00:00.456899642  4492   08B4C870 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.466703019  4492   08B4C870 DEBUG                 udpsrc
gstudpsrc.c:843:gst_udpsrc_open:<udpsrc0> got socket 08D63250
0:00:00.475846836  4492   08B4C870 DEBUG                 udpsrc
gstudpsrc.c:850:gst_udpsrc_open:<udpsrc0> binding on port 0
0:00:00.484967921  4492   08B4C870 INFO                  udpsrc
gstudpsrc.c:898:gst_udpsrc_open:<udpsrc0> setting udp buffer of 524288 bytes
0:00:00.494377466  4492   08B4C870 INFO                  udpsrc
gstudpsrc.c:918:gst_udpsrc_open:<udpsrc0> have udp buffer of 524288 bytes
0:00:00.503818653  4492   08B4C870 DEBUG                 udpsrc
gstudpsrc.c:991:gst_udpsrc_open:<udpsrc0> bound, on port 59308
0:00:00.512933287  4492   08B4C870 DEBUG                 udpsrc
gstudpsrc.c:994:gst_udpsrc_open:<udpsrc0> notifying port 59308
0:00:00.522342218  4492   08B4C870 DEBUG                 udpsrc
gstudpsrc.c:830:gst_udpsrc_open:<udpsrc1> allocating socket for 0.0.0.0:59309
0:00:00.531949293  4492   08B4C870 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.541631940  4492   08B4C870 DEBUG                 udpsrc
gstudpsrc.c:843:gst_udpsrc_open:<udpsrc1> got socket 08D63360
0:00:00.550803406  4492   08B4C870 DEBUG                 udpsrc
gstudpsrc.c:850:gst_udpsrc_open:<udpsrc1> binding on port 59309
0:00:00.560287908  4492   08B4C870 INFO                  udpsrc
gstudpsrc.c:918:gst_udpsrc_open:<udpsrc1> have udp buffer of 8192 bytes
0:00:00.569715579  4492   08B4C870 DEBUG                 udpsrc
gstudpsrc.c:991:gst_udpsrc_open:<udpsrc1> bound, on port 59309
Progress: (request) SETUP stream 0
Progress: (open) Opened Stream
Setting pipeline to PLAYING ...
New c0:l00:00o.6c19k52:84 17G s t44S9y2s  t 0e8mBC4lCo8c7k0
LOG   P r ogr e s s :   ( r e q u e s t )u dSpesnrdci nggs tPuLdApYs
rrce.qcu:e1s0t6
:gst_udpsrc_unlock_stop:<udpsrc0> No longer flushing
0:00:00.646320278  4492   08B4C870 LOG                   udpsrc
gstudpsrc.c:1062:gst_udpsrc_unlock_stop:<udpsrc1> No longer flushing
0:0P0r:o0g0r.e6s4s6:5 5(6r5e1q5u est)  4S4e9n2ding   P L0A8YB 4rCeBqEu0e st
LOG                   udpsrc gstudpsrc.c:425:gst_udpsrc_create:<udpsrc0> doing
select, timeout 5000000
Pro0g:r0e0s:s0:0 .(6r5e5q9u9e6s4t7)3  Sent  4P4L9A2Y re q u e0s8tB
CC08 LOG                   udpsrc gstudpsrc.c:425:gst_udpsrc_create:<udpsrc1>
doing select, timeout -1
0:00:00.672511562  4492   08B4CBE0 WARN                  udpsrc
gstudpsrc.c:552:gst_udpsrc_create:<udpsrc0> 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.121490044
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
0:00:00.764446172  4492   08C9BDE0 LOG                   udpsrc
gstudpsrc.c:1049:gst_udpsrc_unlock:<udpsrc0> Flushing
0:00:00.773431166  4492   08C9BDE0 LOG                   udpsrc
gstudpsrc.c:1049:gst_udpsrc_unlock:<udpsrc0> Flushing
0:00:00.782349499  4492   08C9BDE0 LOG                   udpsrc
gstudpsrc.c:1062:gst_udpsrc_unlock_stop:<udpsrc0> No longer flushing
0:00:00.791747063  4492   08C9BDE0 LOG                   udpsrc
gstudpsrc.c:1049:gst_udpsrc_unlock:<udpsrc1> Flushing
0:00:00.800659559  4492   08B4CC08 DEBUG                 udpsrc
gstudpsrc.c:545:gst_udpsrc_create: stop called
0:00:00.809598781  4492   08C9BDE0 LOG                   udpsrc
gstudpsrc.c:1049:gst_udpsrc_unlock:<udpsrc1> Flushing
0:00:00.818550291  4492   08C9BDE0 LOG                   udpsrc
gstudpsrc.c:1062:gst_udpsrc_unlock_stop:<udpsrc1> No longer flushing
0:00:00.828131562  4492   08C9BDE0 DEBUG                 udpsrc
gstudpsrc.c:1071:gst_udpsrc_close: closing sockets
0:00:00.837343270  4492   08C9BDE0 DEBUG                 udpsrc
gstudpsrc.c:1071:gst_udpsrc_close: closing sockets
Setting pipeline to NULL ...
Freeing pipeline ...


How can I get udpsrc from git master? I think I have to compile it by myself? I
tried something like this:
  git clone git://anongit.freedesktop.org/gstreamer/gstreamer
  git clone git://anongit.freedesktop.org/gstreamer/common
  git clone git://anongit.freedesktop.org/gstreamer/gst-plugins-base
  git clone git://anongit.freedesktop.org/gstreamer/gst-plugins-good

I opened \gst-plugins-good\win32\vs8\gst-plugins-good.sln in VS2008, converted
the projects and tried to build libgstudp.vcproj but it failed. Seems there are
more dependencies e.g. glib? Can you please give me a hint how to compile the
gstreamer libs for Windows?
BTW: \gst-plugins-good\ChangeLog said: release 1.4.0
Did I really got the latest version? Sorry, but I never tried to build
gstreamer by myself.

-- 
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