[Bug 740596] New: uridecodebin with rtsp url does not work with version 1.x

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Nov 23 12:19:14 PST 2014


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

           Summary: uridecodebin with rtsp url does not work with version
                    1.x
    Classification: Platform
           Product: GStreamer
           Version: 1.4.4
        OS/Version: Windows
            Status: UNCONFIRMED
          Severity: blocker
          Priority: Normal
         Component: don't know
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: germancho14 at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=291325)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=291325)
Wireshark captures

Hi,

I have the following command using gst-launch-0.10 that works perfectly well
when connecting to an ip camera:

gst-launch-0.10 uridecodebin
uri="rtsp://192.168.1.10:554/user=admin&password=&channel=1&stream=1.sdp?real_stream--rtp-caching=100"
! ffmpegcolorspace ! autovideosink


However when trying the following rtsp url using gst-launch-1.0 (of version
1.4.4) it doesn't work at all:

gst-launch-1.0 uridecodebin
uri="rtsp://192.168.1.10:554/user=admin&password=&channel=1&stream=1.sdp?real_stream--rtp-caching=100"
! videoconvert ! autovideosink

The ip address of the machine that is trying to connect to the camera is
192.168.1.153 and the ip address of the camera is 192.168.1.10.

I have also attached wireshark capture files for the working (gstreamer 0.10)
and not working (gstreamer 1.4.4) attempts


Turning debugging on when running on version 1.0 I get the following output:

Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to
rtsp://192.168.1.10:554/user=admin&password=&channel=1&stream=1.sdp?real_stream--rtp-
aching=100
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
Progress: (request) SETUP stream 0
Progress: (open) Opened Stream
Setting pipeline to PLAYING ...
New clock: GstSystemClock
0:00:00.175930403 Progress: (request) Sending PLAY request
 4892Progress: (request) Sending PLAY request
 0000000002FD7B80 WARN                  udpsrc
gstudpsrc.c:573:gst_udpsrc_create:<udpsrc0> error: receive error -1: Err
r receiving message: An existing connection was forcibly closed by the remote
host.
Progress: (request) Sent PLAY request
0:00:00.211708299 ERROR: from element
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstUDPSrc:
dpsrc0: Could not read from resource.
 4892Additional debug info:
gstudpsrc.c(573): gst_udpsrc_create ():
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstUDPSr
:udpsrc0:
receive error -1: Error receiving message: An existing connection was forcibly
closed by the remote host.
 0000000002FD7B80 Execution ended after 0:00:00.072867745
WARN    Setting pipeline to PAUSED ...
             basesrc gstbasesrc.c:2933:gst_base_src_loop:<udpsrc0>Setting
pipeline to READY ...
 error: Internal data flow error.
0:00:00.269876638  4892 0000000002FD7B80 WARN                 basesrc
gstbasesrc.c:2933:gst_base_src_loop:<udpsrc0> err
r: streaming task paused, reason error (-5)
Setting pipeline to NULL ...
0:00:00.287588503  4892 0000000003F39930 WARN            d3dvideosink
d3dhelpers.c:1092:d3d_set_window_handle:<autovide
sink0-actual-sink-d3dvideo> Window HWND already set to: 0
Freeing pipeline ...

C:\gstreamer\1.0\x86_64\bin>gst-launch-1.0 -v uridecodebin
uri="rtsp://192.168.1.10:554/user=admin&password=&channel=1&
tream=1.sdp?real_stream--rtp-caching=100" ! videoconvert ! autovideosink
Setting pipeline to PAUSED ...
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0: source = "\(GstRTSPSrc\)\
source"
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to
rtsp://192.168.1.10:554/user=admin&password=&channel=1&stream=1.sdp?real_stream--rtp-
aching=100
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
Progress: (request) SETUP stream 0
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:manager:
latency = 2000
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:manager:
ntp-sync = false
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:manager:
use-pipeline-clock = false
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:manager:
drop-on-latency = false
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:manager:
buffer-mode = Slave receiver
o sender clock
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstUDPSrc:udpsrc1:
timeout = 5000000000
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstUDPSrc:udpsrc1:
caps = "application/x-rtp\,\
edia\=\(string\)video\,\ payload\=\(int\)96\,\ clock-rate\=\(int\)90000\,\
encoding-name\=\(string\)H264\,\ profile-lev
l-id\=\(string\)4d0014\,\ packetization-mode\=\(string\)1\,\
sprop-parameter-sets\=\(string\)\"Z00AFJWoWCWhAAADAAEAAAMA
oQ\\\=\\\,aO48gA\\\=\\\=\"\,\ a-framerate\=\(string\)25\,\ ssrc\=\(uint\)7116"
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstUDPSrc:udpsrc2:
caps = application/x-rtcp
Progress: (open) Opened Stream
Setting pipeline to PLAYING ...
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:manager:
buffer-mode = Slave receiver
o sender clock
New clock: GstSystemClock
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstUDPSrc:udpsrc1.GstPad:src:
caps = "applicatio
/x-rtp\,\ media\=\(string\)video\,\ payload\=\(int\)96\,\
clock-rate\=\(int\)90000\,\ encoding-name\=\(string\)H264\,\
rofile-level-id\=\(string\)4d0014\,\ packetization-mode\=\(string\)1\,\
sprop-parameter-sets\=\(string\)\"Z00AFJWoWCWhA
ADAAEAAAMAMoQ\\\=\\\,aO48gA\\\=\\\=\"\,\ a-framerate\=\(string\)25\,\
ssrc\=\(uint\)7116"
Progress: (request) Sending PLAY request
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstUDPSrc:udpsrc1.GstPad:src:
caps = "applicatio
/x-rtp\,\ media\=\(string\)video\,\ payload\=\(int\)96\,\
clock-rate\=\(int\)90000\,\ encoding-name\=\(string\)H264\,\
rofile-level-id\=\(string\)4d0014\,\ packetization-mode\=\(string\)1\,\
sprop-parameter-sets\=\(string\)\"Z00AFJWoWCWhA
ADAAEAAAMAMoQ\\\=\\\,aO48gA\\\=\\\=\"\,\ a-framerate\=\(string\)25\,\
ssrc\=\(uint\)7116"
Progress: (request) Sending PLAY request
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:manager.GstGhostPad:recv_rtp_sink_0.Gs
ProxyPad:proxypad1: caps = "application/x-rtp\,\ media\=\(string\)video\,\
payload\=\(int\)96\,\ clock-rate\=\(int\)900
0\,\ encoding-name\=\(string\)H264\,\ profile-level-id\=\(string\)4d0014\,\
packetization-mode\=\(string\)1\,\ sprop-pa
ameter-sets\=\(string\)\"Z00AFJWoWCWhAAADAAEAAAMAMoQ\\\=\\\,aO48gA\\\=\\\=\"\,\
a-framerate\=\(string\)25\,\ ssrc\=\(ui
t\)7116"
Progress: (request) Sent PLAY request
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:manager/GstRtpSession:rtpsession0.GstP
d:recv_rtp_src: caps = "application/x-rtp\,\ media\=\(string\)video\,\
payload\=\(int\)96\,\ clock-rate\=\(int\)90000\,
 encoding-name\=\(string\)H264\,\ profile-level-id\=\(string\)4d0014\,\
packetization-mode\=\(string\)1\,\ sprop-parame
er-sets\=\(string\)\"Z00AFJWoWCWhAAADAAEAAAMAMoQ\\\=\\\,aO48gA\\\=\\\=\"\,\
a-framerate\=\(string\)25\,\ ssrc\=\(uint\)
116"
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:manager/GstRtpSsrcDemux:rtpssrcdemux0.
stPad:sink: caps = "application/x-rtp\,\ media\=\(string\)video\,\
payload\=\(int\)96\,\ clock-rate\=\(int\)90000\,\ en
oding-name\=\(string\)H264\,\ profile-level-id\=\(string\)4d0014\,\
packetization-mode\=\(string\)1\,\ sprop-parameter-
ets\=\(string\)\"Z00AFJWoWCWhAAADAAEAAAMAMoQ\\\=\\\,aO48gA\\\=\\\=\"\,\
a-framerate\=\(string\)25\,\ ssrc\=\(uint\)7116

/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:manager/GstRtpSession:rtpsession0.GstP
d:recv_rtp_sink: caps = "application/x-rtp\,\ media\=\(string\)video\,\
payload\=\(int\)96\,\ clock-rate\=\(int\)90000\
\ encoding-name\=\(string\)H264\,\ profile-level-id\=\(string\)4d0014\,\
packetization-mode\=\(string\)1\,\ sprop-param
ter-sets\=\(string\)\"Z00AFJWoWCWhAAADAAEAAAMAMoQ\\\=\\\,aO48gA\\\=\\\=\"\,\
a-framerate\=\(string\)25\,\ ssrc\=\(uint\
7116"
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:manager.GstGhostPad:recv_rtp_sink_0:
c
ps = "application/x-rtp\,\ media\=\(string\)video\,\ payload\=\(int\)96\,\
clock-rate\=\(int\)90000\,\ encoding-name\=\
string\)H264\,\ profile-level-id\=\(string\)4d0014\,\
packetization-mode\=\(string\)1\,\ sprop-parameter-sets\=\(string
)\"Z00AFJWoWCWhAAADAAEAAAMAMoQ\\\=\\\,aO48gA\\\=\\\=\"\,\
a-framerate\=\(string\)25\,\ ssrc\=\(uint\)7116"
0:00:00.860288917  5568 0000000002F6DB80 WARN                  udpsrc
gstudpsrc.c:573:gst_udpsrc_create:<udpsrc1> error
 receive error -1: Error receiving message: An existing connection was forcibly
closed by the remote host.
ERROR: from element
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstUDPSrc:udpsrc1:
Could not
read from resource.
0:00:00.883191102 Additional debug info:
gstudpsrc.c(573): gst_udpsrc_create ():
/GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstUDPSr
:udpsrc1:
receive error -1: Error receiving message: An existing connection was forcibly
closed by the remote host.
 5568Execution ended after 0:00:00.520574959
 0000000002F6DB80 Setting pipeline to PAUSED ...
WARN    Setting pipeline to READY ...
             basesrc gstbasesrc.c:2933:gst_base_src_loop:<udpsrc1> error:
Internal data flow error.
0:00:00.944349316  5568 0000000002F6D2C0 WARN                 rtspsrc
gstrtspsrc.c:5482:gst_rtspsrc_try_send:<source> r
ceive interrupted
0:00:00.954447137  5568 0000000002F6DB80 WARN                 basesrc
gstbasesrc.c:2933:gst_base_src_loop:<udpsrc1> err
r: streaming task paused, reason error (-5)
0:00:00.961791194  5568 0000000002F6D2C0 WARN                 rtspsrc
gstrtspsrc.c:7596:gst_rtspsrc_pause:<source> PAUS
 interrupted
Setting pipeline to NULL ...
0:00:00.988704689  5568 0000000003EB97B0 WARN            d3dvideosink
d3dhelpers.c:1092:d3d_set_window_handle:<autovide
sink0-actual-sink-d3dvideo> Window HWND already set to: 0
Freeing pipeline ...

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