[Bug 727480] gstreamer hangs after the rtsp PLAY response "200 OK"

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Apr 5 01:27:03 PDT 2014


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

acs christoph <g4sacs> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |UNCONFIRMED
          Component|gst-omx                     |gst-plugins-good
            Version|1.0.0                       |1.2.3

--- Comment #4 from acs christoph <g4sacs at gmail.com> 2014-04-05 08:26:57 UTC ---
update:

i compile ver 1.2.3 on rasp

same issue on rtspsrc 1.2.3

PLAYBIN:

gst-launch-1.0 -vvv playbin
uri="rtsp://acs:acs@10.12.30.33:554/live?Live_video_channel_mask=0x00000020/RTSP/1.0"
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://acs:acs@10.12.30.33:554/live?Live_video_channel_mask=0x00000020/RTSP/1.0
/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://acs:acs@10.12.30.33:554/live?Live_video_channel_mask=0x00000020/RTSP/1.0
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info

** (gst-launch-1.0:2897): WARNING **: Command line `dbus-launch
--autolaunch=40a78f4b44fccc138ec16d4052434c66 --binary-syntax --close-stderr'
exited with non-zero exit status 1: Autolaunch error: X11 initialization
failed.\n

(gst-launch-1.0:2897): GLib-GIO-CRITICAL **: g_inet_address_get_is_multicast:
assertion `G_IS_INET_ADDRESS (address)' failed

(gst-launch-1.0:2897): GLib-GObject-CRITICAL **: g_object_unref: assertion
`G_IS_OBJECT (object)' failed

** (gst-launch-1.0:2897): WARNING **: Command line `dbus-launch
--autolaunch=40a78f4b44fccc138ec16d4052434c66 --binary-syntax --close-stderr'
exited with non-zero exit status 1: Autolaunch error: X11 initialization
failed.\n
Progress: (request) SETUP stream 0

** (gst-launch-1.0:2897): WARNING **: Command line `dbus-launch
--autolaunch=40a78f4b44fccc138ec16d4052434c66 --binary-syntax --close-stderr'
exited with non-zero exit status 1: Autolaunch error: X11 initialization
failed.\n

** (gst-launch-1.0:2897): WARNING **: Command line `dbus-launch
--autolaunch=40a78f4b44fccc138ec16d4052434c66 --binary-syntax --close-stderr'
exited with non-zero exit status 1: Autolaunch error: X11 initialization
failed.\n
/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

** (gst-launch-1.0:2897): WARNING **: Command line `dbus-launch
--autolaunch=40a78f4b44fccc138ec16d4052434c66 --binary-syntax --close-stderr'
exited with non-zero exit status 1: Autolaunch error: X11 initialization
failed.\n
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstUDPSrc:udpsrc1:
timeout = 5000000000
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstUDPSrc:udpsrc2.GstPad:src:
caps = application/x-rtcp
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstUDPSrc:udpsrc2:
caps = application/x-rtcp
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
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:manager/GstRtpSession:rtpsession0.GstPad:send_rtcp_src:
caps = application/x-rtcp
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:manager.GstGhostPad:send_rtcp_src_0:
caps = application/x-rtcp
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstUDPSink:udpsink1.GstPad:sink:
caps = application/x-rtcp
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:manager.GstGhostPad:send_rtcp_src_0.GstProxyPad:proxypad2:
caps = application/x-rtcp
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:manager.GstGhostPad:send_rtcp_src_0.GstProxyPad:proxypad2:
caps = NULL
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:manager.GstGhostPad:send_rtcp_src_0:
caps = NULL
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:manager/GstRtpSession:rtpsession0.GstPad:send_rtcp_src:
caps = NULL
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstUDPSrc:udpsrc2.GstPad:src:
caps = NULL
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstUDPSink:udpsink1.GstPad:sink:
caps = NULL
WARNING: from element
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source: Could not
read from resource.
Additional debug info:
gstrtspsrc.c(4367): gst_rtspsrc_reconnect ():
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source:
Could not receive any UDP packets for 5.0000 seconds, maybe your firewall is
blocking it. Retrying using a TCP connection.

(gst-launch-1.0:2897): GLib-GIO-CRITICAL **: g_inet_address_get_is_multicast:
assertion `G_IS_INET_ADDRESS (address)' failed

(gst-launch-1.0:2897): GLib-GObject-CRITICAL **: g_object_unref: assertion
`G_IS_OBJECT (object)' failed
/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/GstRtpBin:manager/GstRtpSession:rtpsession1.GstPad:send_rtcp_src:
caps = application/x-rtcp
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:manager.GstGhostPad:send_rtcp_src_0:
caps = application/x-rtcp
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstRTSPSrc:source/GstRtpBin:manager.GstGhostPad:send_rtcp_src_0.GstProxyPad:proxypad5:
caps = application/x-rtcp

gstlaunch rtspsrc:

gst-launch-1.0 -v rtspsrc debug=true
location="rtsp://10.12.30.33/live?Live_video_channel_mask=0x00000020"
protocols=GST_RTSP_LOWER_TRANS_TCP user-id=acs user-pw=acs caps="
application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264,payload=(int)96"
port=554 ! rtph264depay ! irtspparse ! decodebin ! queue ! autovideosink

Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to
rtsp://10.12.30.33/live?Live_video_channel_mask=0x00000020
Progress: (open) Retrieving server options
RTSP request message 0xb352dbf0
 request line:
   method: 'OPTIONS'
   uri:    'rtsp://10.12.30.33/live?Live_video_channel_mask=0x00000020'
   version: '1.0'
 headers:
   key: 'User-Agent', value: 'RealMedia Player Version 6.0.9.1235
(linux-2.0-libc6-i386-gcc2.95)'
   key: 'ClientChallenge', value: '9e26d33f2984236010ef6253fb1887f7'
   key: 'CompanyID', value: 'KnKV4M4I/B2FjJ1TToLycw=='
   key: 'GUID', value: '00000000-0000-0000-0000-000000000000'
   key: 'RegionData', value: '0'
   key: 'PlayerStarttime', value: '[28/03/2003:22:50:23 00:00]'
   key: 'ClientID', value: 'Linux_2.4_6.0.9.1235_play32_RN01_EN_586'
 body:
RTSP response message 0xb352dc1c

** (gst-launch-1.0:2961): WARNING **: Command line `dbus-launch
--autolaunch=40a78f4b44fccc138ec16d4052434c66 --binary-syntax --close-stderr'
exited with non-zero exit status 1: Autolaunch error: X11 initialization
failed.\n
 status line:
   code:   '200'
   reason: 'OK'
   version: '1.0'
 headers:
   key: 'CSeq', value: '1'
   key: 'Public', value: 'DESCRIBE'
   key: 'Public', value: 'SETUP'
   key: 'Public', value: 'TEARDOWN'
   key: 'Public', value: 'PLAY'
   key: 'Public', value: 'PAUSE'
   key: 'Public', value: 'GET_PARAMETER'
 body: length 0
Progress: (open) Retrieving media info
RTSP request message 0xb352dbf0
 request line:
   method: 'DESCRIBE'
   uri:    'rtsp://10.12.30.33/live?Live_video_channel_mask=0x00000020'
   version: '1.0'
 headers:
   key: 'Accept', value: 'application/sdp'
 body:
RTSP response message 0xb352dc1c
 status line:
   code:   '401'
   reason: 'Unauthorized'
   version: '1.0'
 headers:
   key: 'CSeq', value: '2'
   key: 'WWW-Authenticate', value: 'Digest realm="ITX-00115F0DD64F",
nonce="533fbda335546bb76d11272e1d4708b61de4305bf5632c0af6332e161c61d7d5"'
 body: length 0
RTSP request message 0xb352dbf0
 request line:
   method: 'DESCRIBE'
   uri:    'rtsp://10.12.30.33/live?Live_video_channel_mask=0x00000020'
   version: '1.0'
 headers:
   key: 'Accept', value: 'application/sdp'
   key: 'Date', value: 'Tue, 11 Mar 2014 09:33:31 GMT'
 body:

** (gst-launch-1.0:2961): WARNING **: Command line `dbus-launch
--autolaunch=40a78f4b44fccc138ec16d4052434c66 --binary-syntax --close-stderr'
exited with non-zero exit status 1: Autolaunch error: X11 initialization
failed.\n
RTSP response message 0xb352dc1c
 status line:
   code:   '200'
   reason: 'OK'
   version: '1.0'
 headers:
   key: 'CSeq', value: '3'
   key: 'Content-Base', value:
'rtsp://10.12.30.33/live?Live_video_channel_mask=0x00000020/'
   key: 'Content-Type', value: 'application/sdp'
   key: 'Content-Length', value: '185'
 body: length 186
00000000 (0x11ef2d0): 76 3d 30 0d 0a 6f 3d 2d 20 31 20 31 20 49 4e 20  v=0..o=-
1 1 IN
00000010 (0x11ef2e0): 49 50 34 20 31 32 37 2e 30 2e 30 2e 31 0d 0a 73  IP4
127.0.0.1..s
00000020 (0x11ef2f0): 3d 54 65 73 74 0d 0a 61 3d 74 79 70 65 3a 62 72 
=Test..a=type:br
00000030 (0x11ef300): 6f 61 64 63 61 73 74 0d 0a 74 3d 30 20 30 0d 0a 
oadcast..t=0 0..
00000040 (0x11ef310): 63 3d 49 4e 20 49 50 34 20 49 50 34 20 30 2e 30  c=IN IP4
IP4 0.0
00000050 (0x11ef320): 2e 30 2e 30 0d 0a 6d 3d 76 69 64 65 6f 20 30 20 
.0.0..m=video 0
00000060 (0x11ef330): 52 54 50 2f 41 56 50 20 39 36 0d 0a 61 3d 72 74  RTP/AVP
96..a=rt
00000070 (0x11ef340): 70 6d 61 70 3a 39 36 20 48 32 36 34 2f 39 30 30  pmap:96
H264/900
00000080 (0x11ef350): 30 30 0d 0a 61 3d 66 6d 74 70 3a 39 36 20 70 72 
00..a=fmtp:96 pr
00000090 (0x11ef360): 6f 66 69 6c 65 2d 6c 65 76 65 6c 2d 69 64 3d 34 
ofile-level-id=4
000000a0 (0x11ef370): 44 34 30 33 33 0d 0a 61 3d 63 6f 6e 74 72 6f 6c 
D4033..a=control
000000b0 (0x11ef380): 3a 74 72 61 63 6b 30 0d 0a 00                   
:track0...
sdp packet 0x11ecc00:
 version:       '0'
 origin:
  username:     '-'
  sess_id:      '1'
  sess_version: '1'
  nettype:      'IN'
  addrtype:     'IP4'

** (gst-launch-1.0:2961): WARNING **: Command line `dbus-launch
--autolaunch=40a78f4b44fccc138ec16d4052434c66 --binary-syntax --close-stderr'
exited with non-zero exit status 1: Autolaunch error: X11 initialization
failed.\n
  addr:         '127.0.0.1'
 session_name:  'Test'
 information:   '(NULL)'
 uri:           '(NULL)'
 connection:
  nettype:      'IN'
  addrtype:     'IP4'
  address:      'IP4'
  ttl:          '0'
  addr_number:  '0'
 key:
  type:         '(NULL)'
  data:         '(NULL)'
 attributes:
  attribute 'type' : 'broadcast'
 medias:
  media 0:
   media:       'video'
   port:        '0'
   num_ports:   '0'
   proto:       'RTP/AVP'
   formats:
    format  '96'
   information: '(NULL)'
   key:
    type:       '(NULL)'
    data:       '(NULL)'
   attributes:
    attribute 'rtpmap' : '96 H264/90000'
    attribute 'fmtp' : '96 profile-level-id=4D4033'
    attribute 'control' : 'track0'

(gst-launch-1.0:2961): GLib-GIO-CRITICAL **: g_inet_address_get_is_multicast:
assertion `G_IS_INET_ADDRESS (address)' failed

(gst-launch-1.0:2961): GLib-GObject-CRITICAL **: g_object_unref: assertion
`G_IS_OBJECT (object)' failed
Progress: (request) SETUP stream 0
RTSP request message 0xb352db04
 request line:
   method: 'SETUP'
   uri:    'rtsp://10.12.30.33/live?Live_video_channel_mask=0x00000020/track0'
   version: '1.0'
 headers:
   key: 'Transport', value: 'RTP/AVP/TCP;unicast;interleaved=0-1'
 body:
RTSP response message 0xb352db30

** (gst-launch-1.0:2961): WARNING **: Command line `dbus-launch
--autolaunch=40a78f4b44fccc138ec16d4052434c66 --binary-syntax --close-stderr'
exited with non-zero exit status 1: Autolaunch error: X11 initialization
failed.\n
 status line:
   code:   '200'
   reason: 'OK'
   version: '1.0'
 headers:
   key: 'CSeq', value: '4'
   key: 'Transport', value: 'RTP/AVP/TCP;unicast;interleaved=0-1'
   key: 'Session', value: '148CC207389B1F383A548CA50CFAB6'
 body: length 0
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager: latency = 2000

** (gst-launch-1.0:2961): WARNING **: Command line `dbus-launch
--autolaunch=40a78f4b44fccc138ec16d4052434c66 --binary-syntax --close-stderr'
exited with non-zero exit status 1: Autolaunch error: X11 initialization
failed.\n
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager: ntp-sync = false
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager:
use-pipeline-clock = false
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager: drop-on-latency =
false
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager: buffer-mode =
Slave receiver to sender clock
Progress: (open) Opened Stream
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Progress: (request) Sending PLAY request
RTSP request message 0xb352dbd4
 request line:
   method: 'PLAY'
   uri:    'rtsp://10.12.30.33/live?Live_video_channel_mask=0x00000020/'
   version: '1.0'
 headers:
   key: 'Range', value: 'npt=0-'
 body:
Progress: (request) Sending PLAY request
RTSP response message 0xb352dc00
 status line:
   code:   '200'
   reason: 'OK'
   version: '1.0'
 headers:
   key: 'CSeq', value: '5'
   key: 'Session', value: '148CC207389B1F383A548CA50CFAB6'
 body: length 0
Progress: (request) Sent PLAY request
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager/GstRtpSession:rtpsession0.GstPad:send_rtcp_src:
caps = application/x-rtcp
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager.GstGhostPad:send_rtcp_src_0:
caps = application/x-rtcp
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager.GstGhostPad:send_rtcp_src_0.GstProxyPad:proxypad4:
caps = application/x-rtcp


Thanks for help !!

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