[Bug 736760] New: RTSP connection to IP camera failed

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Sep 16 09:48:44 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=736760
  GStreamer | don't know | 1.4.1

           Summary: RTSP connection to IP camera failed
    Classification: Platform
           Product: GStreamer
           Version: 1.4.1
        OS/Version: Windows
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: don't know
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: tp454 at freenet.de
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


In older GStreamer version (0.10) I can do the following and it works very
well:
  gst-launch-0.10 playbin2 uri=rtsp://192.168.0.27/VideoInput/1/h264/1
If I do the same with current version (1.4.1) it failes very often:
  gst-launch-1.0 playbin uri=rtsp://192.168.0.27/VideoInput/1/h264/1
With 0.10 version it works very reliable. With 1.0 version it's very unreliable
and only works sometimes.

C:\>gst-launch-1.0 -v playbin uri=rtsp://192.168.0.27/VideoInput/1/h264/1
Setting pipeline to PAUSED ...
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: ring-buffer-max-size = 0
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: buffer-size = -1
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: buffer-duration = -1
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: use-buffering = false
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: download = false
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: uri =
rtsp://192.168.0.27/VideoInput/1/h264/1
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: connection-speed = 0
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: source = "\(GstRTSPSrc\)\
source"
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
Progress: (request) SETUP stream 0
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:manager:
latency = 2000
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:manager:
ntp-sync = false
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:manager:
use-pipeline-clock = false
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:manager:
drop-on-latency = false
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:manager:
buffer-mode = Slave receiver to sender clock
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstUDPSrc:udpsrc1:
timeout = 5000000000
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstUDPSrc:udpsrc1:
caps = "application/x-rtp\,\ media\=\(string\)video\,\ payload
\=\(int\)96\,\ clock-rate\=\(int\)90000\,\ encoding-name\=\(string\)H264\,\
profile-level-id\=\(string\)42E01E\,\ sprop-parameter-sets\=\(string\)\"Z0
LgHtoC0Em/8AEAAPEAAA4QAAK/IIQ\\\=\\\,aM4zyA\\\=\\\=\""
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstUDPSrc:udpsrc2:
caps = application/x-rtcp
Progress: (open) Opened Stream
Setting pipeline to PLAYING ...
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:manager:
buffer-mode = Slave receiver to sender clock
New clock: GstSystemClock
Progress: (request) Sending PLAY request
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstUDPSrc:udpsrc1.GstPad:src:
caps = "application/x-rtp\,\ media\=\(string\)video
\,\ payload\=\(int\)96\,\ clock-rate\=\(int\)90000\,\
encoding-name\=\(string\)H264\,\ profile-level-id\=\(string\)42E01E\,\
sprop-parameter-sets\=\(s
tring\)\"Z0LgHtoC0Em/8AEAAPEAAA4QAAK/IIQ\\\=\\\,aM4zyA\\\=\\\=\""
Progress: (request) Sending PLAY request
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstUDPSrc:udpsrc1.GstPad:src:
caps = "application/x-rtp\,\ media\=\(string\)video
\,\ payload\=\(int\)96\,\ clock-rate\=\(int\)90000\,\
encoding-name\=\(string\)H264\,\ profile-level-id\=\(string\)42E01E\,\
sprop-parameter-sets\=\(s
tring\)\"Z0LgHtoC0Em/8AEAAPEAAA4QAAK/IIQ\\\=\\\,aM4zyA\\\=\\\=\""
Progress: (request) Sent PLAY request
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:manager.GstGhostPad:recv_rtp_sink_0.GstProxyPad:proxypad0:
caps = "appl
ication/x-rtp\,\ media\=\(string\)video\,\ payload\=\(int\)96\,\
clock-rate\=\(int\)90000\,\ encoding-name\=\(string\)H264\,\
profile-level-id\=\(stri
ng\)42E01E\,\
sprop-parameter-sets\=\(string\)\"Z0LgHtoC0Em/8AEAAPEAAA4QAAK/IIQ\\\=\\\,aM4zyA\\\=\\\=\""
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:manager/GstRtpSession:rtpsession0.GstPad:recv_rtp_src:
caps = "applicat
ion/x-rtp\,\ media\=\(string\)video\,\ payload\=\(int\)96\,\
clock-rate\=\(int\)90000\,\ encoding-name\=\(string\)H264\,\
profile-level-id\=\(string\)
42E01E\,\
sprop-parameter-sets\=\(string\)\"Z0LgHtoC0Em/8AEAAPEAAA4QAAK/IIQ\\\=\\\,aM4zyA\\\=\\\=\""
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:manager/GstRtpSsrcDemux:rtpssrcdemux0.GstPad:sink:
caps = "application/
x-rtp\,\ media\=\(string\)video\,\ payload\=\(int\)96\,\
clock-rate\=\(int\)90000\,\ encoding-name\=\(string\)H264\,\
profile-level-id\=\(string\)42E0
1E\,\
sprop-parameter-sets\=\(string\)\"Z0LgHtoC0Em/8AEAAPEAAA4QAAK/IIQ\\\=\\\,aM4zyA\\\=\\\=\""
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:manager/GstRtpSession:rtpsession0.GstPad:recv_rtp_sink:
caps = "applica
tion/x-rtp\,\ media\=\(string\)video\,\ payload\=\(int\)96\,\
clock-rate\=\(int\)90000\,\ encoding-name\=\(string\)H264\,\
profile-level-id\=\(string\
)42E01E\,\
sprop-parameter-sets\=\(string\)\"Z0LgHtoC0Em/8AEAAPEAAA4QAAK/IIQ\\\=\\\,aM4zyA\\\=\\\=\""
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:manager.GstGhostPad:recv_rtp_sink_0:
caps = "application/x-rtp\,\ media
\=\(string\)video\,\ payload\=\(int\)96\,\ clock-rate\=\(int\)90000\,\
encoding-name\=\(string\)H264\,\ profile-level-id\=\(string\)42E01E\,\ sprop-pa
rameter-sets\=\(string\)\"Z0LgHtoC0Em/8AEAAPEAAA4QAAK/IIQ\\\=\\\,aM4zyA\\\=\\\=\""
ERROR: from element
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstUDPSrc:udpsrc1:
Could not read from resource.
Additional debug info:
gstudpsrc.c(552): gst_udpsrc_create ():
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstUDPSrc:udpsrc1:
get available bytes failed
Execution ended after 0:00:00.135937675
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
C:\>

The device which I used here is a video encoder from Siqura. But I got the same
problems with IP cameras from Sony and Siemens. They also worked very well in
0.10 version but not in 1.0. If it would help I could supply Wireshark capture
files.

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