After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 727480 - gstreamer hangs after the rtsp PLAY response "200 OK"
gstreamer hangs after the rtsp PLAY response "200 OK"
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
1.2.3
Other All
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-04-02 07:46 UTC by acs christoph
Modified: 2015-03-25 22:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Source SDK API Manual (235.52 KB, application/pdf)
2014-04-02 07:46 UTC, acs christoph
Details

Description acs christoph 2014-04-02 07:46:23 UTC
Created attachment 273451 [details]
Source SDK API Manual

gstreamer hangs after the rtsp PLAY response "200 OK"

    gst-launch-1.0 -v rtspsrc location="rtsp://acs:acs@10.12.30.33:554/live?track0" debug=true ! rtph264depay ! omxh264dec ! autovideosink

i think i need help =)

    Setting pipeline to PAUSED ...
    Pipeline is live and does not need PREROLL ...
    Setting pipeline to PLAYING ...
    RTSP request message 0xb2940ba0
     request line:
       method: 'OPTIONS'
       uri:    'rtsp://10.12.30.33:554/live?track0'
       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 0xb2940bcc
     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
    RTSP request message 0xb2940ba0
     request line:
       method: 'DESCRIBE'
       uri:    'rtsp://10.12.30.33:554/live?track0'
       version: '1.0'
     headers:
       key: 'Accept', value: 'application/sdp'
     body:
    RTSP response message 0xb2940bcc
     status line:
       code:   '200'
       reason: 'OK'
       version: '1.0'
     headers:
       key: 'CSeq', value: '2'
       key: 'WWW-Authenticate', value: 'Digest realm="ITX-00115F0DD64F", nonce="533b34a95a7d0cc43dc5199272d45a2876180d16f4a5b09f778ac63d3cdc49b2"'
     body: length 0
    RTSP request message 0xb2940ba0
     request line:
       method: 'DESCRIBE'
       uri:    'rtsp://10.12.30.33:554/live?track0'
       version: '1.0'
     headers:
       key: 'Accept', value: 'application/sdp'
       key: 'Date', value: 'Sat, 15 Mar 2014 01:51:36 GMT'
     body:
    RTSP response message 0xb2940bcc
     status line:
       code:   '200'
       reason: 'OK'
       version: '1.0'
     headers:
       key: 'CSeq', value: '3'
       key: 'Content-Base', value: 'rtsp://10.12.30.33:554/live?track0/'
       key: 'Content-Type', value: 'application/sdp'
       key: 'Content-Length', value: '185'
     body: length 186
    00000000 (0x142ee00): 76 3d 30 0d 0a 6f 3d 2d 20 31 20 31 20 49 4e 20  v=0..o=- 1 1 IN
    00000010 (0x142ee10): 49 50 34 20 31 32 37 2e 30 2e 30 2e 31 0d 0a 73  IP4 127.0.0.1..s
    00000020 (0x142ee20): 3d 54 65 73 74 0d 0a 61 3d 74 79 70 65 3a 62 72  =Test..a=type:br
    00000030 (0x142ee30): 6f 61 64 63 61 73 74 0d 0a 74 3d 30 20 30 0d 0a  oadcast..t=0 0..
    00000040 (0x142ee40): 63 3d 49 4e 20 49 50 34 20 49 50 34 20 30 2e 30  c=IN IP4 IP4 0.0
    00000050 (0x142ee50): 2e 30 2e 30 0d 0a 6d 3d 76 69 64 65 6f 20 30 20  .0.0..m=video 0
    00000060 (0x142ee60): 52 54 50 2f 41 56 50 20 39 36 0d 0a 61 3d 72 74  RTP/AVP 96..a=rt
    00000070 (0x142ee70): 70 6d 61 70 3a 39 36 20 48 32 36 34 2f 39 30 30  pmap:96 H264/900
    00000080 (0x142ee80): 30 30 0d 0a 61 3d 66 6d 74 70 3a 39 36 20 70 72  00..a=fmtp:96 pr
    00000090 (0x142ee90): 6f 66 69 6c 65 2d 6c 65 76 65 6c 2d 69 64 3d 34  ofile-level-id=4
    000000a0 (0x142eea0): 44 34 30 33 33 0d 0a 61 3d 63 6f 6e 74 72 6f 6c  D4033..a=control
    000000b0 (0x142eeb0): 3a 74 72 61 63 6b 30 0d 0a 00                    :track0...
    sdp packet 0x13b1e88:
     version:       '0'
     origin:
      username:     '-'
      sess_id:      '1'
      sess_version: '1'
      nettype:      'IN'
      addrtype:     'IP4'
      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:3625): GLib-GIO-CRITICAL **: g_inet_address_get_is_multicast: assertion `G_IS_INET_ADDRESS (address)' failed
    
    (gst-launch-1.0:3625): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
    RTSP request message 0xb2940ac0
     request line:
       method: 'SETUP'
       uri:    'rtsp://10.12.30.33:554/live?track0/track0'
       version: '1.0'
     headers:
       key: 'Transport', value: 'RTP/AVP;unicast;client_port=56808-56809'
     body:
    RTSP response message 0xb2940aec
     status line:
       code:   '200'
       reason: 'OK'
       version: '1.0'
     headers:
       key: 'CSeq', value: '4'
       key: 'Transport', value: 'RTP/AVP;unicast;client_port=56808-56809;server_port=59144-59145'
       key: 'Session', value: '6BF364C25AB1CFB90C4DC5D08A8AE9'
     body: length 0
    /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0: latency = 2000
    /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0: drop-on-latency = false
    /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0: buffer-mode = Slave receiver to sender clock
    /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc0: timeout = 5000000
    New clock: GstSystemClock
    RTSP request message 0xb2940b84
     request line:
       method: 'PLAY'
       uri:    'rtsp://10.12.30.33:554/live?track0'
       version: '1.0'
     headers:
       key: 'Range', value: 'npt=0-'
     body:
    RTSP response message 0xb2940bb0
     status line:
       code:   '200'
       reason: 'OK'
       version: '1.0'
     headers:
       key: 'CSeq', value: '5'
       key: 'Session', value: '6BF364C25AB1CFB90C4DC5D08A8AE9'
     body: length 0
    /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0/GstRtpSession:rtpsession0.GstPad:send_rtcp_src: caps = application/x-rtcp
    /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0.GstGhostPad:send_rtcp_src_0: caps = application/x-rtcp
    /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSink:udpsink1.GstPad:sink: caps = application/x-rtcp
    /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0.GstGhostPad:send_rtcp_src_0.GstProxyPad:proxypad3: caps = application/x-rtcp
Comment 1 Tim-Philipp Müller 2014-04-02 09:42:49 UTC
 - what is the output of:   gst-inspect-1.0 rtspsrc | grep Version   ?

 - does this work: 

      gst-launch-1.0 playbin uri="rtsp://acs:acs@10.12.30.33:554/live?track0"

 
>     (gst-launch-1.0:3625): GLib-GIO-CRITICAL **:
> g_inet_address_get_is_multicast: assertion `G_IS_INET_ADDRESS (address)' failed
> 
>     (gst-launch-1.0:3625): GLib-GObject-CRITICAL **: g_object_unref: assertion
> `G_IS_OBJECT (object)' failed

This does not look good, probably a bug somewhere. If you have gdb, run G_DEBUG=fatal_warnings gdb --args gst-launch-1.0 ....  and then do 'bt' when it aborts to see where that warning comes from.
Comment 2 acs christoph 2014-04-02 11:36:56 UTC
ok thanks for replay...


playbin produce the same error !

i test the commands to night and give u a report !!!

one questions:
in the api manual from source , it is written that the stream have no sdp / pps information includes.

is that a problem or it's nota problem ?

thanks for your help
Comment 3 acs christoph 2014-04-02 21:42:55 UTC
sre gdb not work ->

 Version:              1.0.10

gst-launch-1.0 --gst-debug=rtspsrc:5 rtspsrc location="rtsp://acs:acs@10.12.30.33:554/live?track0" ! rtph264depay ! omxh264dec ! autovideosink
0:00:01.530302000 11929  0x15bd800 DEBUG                rtspsrc gstrtspsrc.c:6838:gst_rtspsrc_uri_set_uri:<rtspsrc0> parsing URI
0:00:01.532084000 11929  0x15bd800 DEBUG                rtspsrc gstrtspsrc.c:6845:gst_rtspsrc_uri_set_uri:<rtspsrc0> configuring URI
0:00:01.533679000 11929  0x15bd800 DEBUG                rtspsrc gstrtspsrc.c:6861:gst_rtspsrc_uri_set_uri:<rtspsrc0> set uri: rtsp://acs:acs@10.12.30.33:554/live?track0
0:00:01.535559000 11929  0x15bd800 DEBUG                rtspsrc gstrtspsrc.c:6863:gst_rtspsrc_uri_set_uri:<rtspsrc0> request uri is: rtsp://10.12.30.33:554/live?track0
Setting pipeline to PAUSED ...
0:00:01.698277000 11929  0x15bd800 DEBUG                rtspsrc gstrtspsrc.c:6637:gst_rtspsrc_start:<rtspsrc0> starting
0:00:01.702944000 11929  0x15bd800 DEBUG                rtspsrc gstrtspsrc.c:4145:gst_rtspsrc_loop_send_cmd:<rtspsrc0> sending cmd 1
0:00:01.704445000 11929  0x15bd800 DEBUG                rtspsrc gstrtspsrc.c:4167:gst_rtspsrc_loop_send_cmd:<rtspsrc0> not interrupting busy cmd 0
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
0:00:01.715089000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:6592:gst_rtspsrc_thread:<rtspsrc0> got command 1
0:00:01.717300000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:3440:gst_rtspsrc_connection_flush:<rtspsrc0> set flushing 0
0:00:01.718897000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:3344:gst_rtsp_conninfo_connect:<rtspsrc0> creating connection (rtsp://acs:acs@10.12.30.33:554/live?track0)...
0:00:01.721140000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:3352:gst_rtsp_conninfo_connect:<rtspsrc0> sanitized uri rtsp://10.12.30.33:554/live?track0
0:00:01.722970000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:3370:gst_rtsp_conninfo_connect:<rtspsrc0> connecting (rtsp://acs:acs@10.12.30.33:554/live?track0)...
0:00:01.732224000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:5646:gst_rtspsrc_retrieve_sdp:<rtspsrc0> create options...
0:00:01.734927000 11929  0x15bd800 DEBUG                rtspsrc gstrtspsrc.c:4145:gst_rtspsrc_loop_send_cmd:<rtspsrc0> sending cmd 16
0:00:01.736986000 11929  0x15bd800 DEBUG                rtspsrc gstrtspsrc.c:4167:gst_rtspsrc_loop_send_cmd:<rtspsrc0> not interrupting busy cmd 1
0:00:01.738976000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:5654:gst_rtspsrc_retrieve_sdp:<rtspsrc0> send options...
0:00:01.740959000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:4530:gst_rtspsrc_try_send:<rtspsrc0> sending message
0:00:01.745913000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:4559:gst_rtspsrc_try_send:<rtspsrc0> received response message
0:00:01.747267000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:4573:gst_rtspsrc_try_send:<rtspsrc0> got response message 200
0:00:01.749042000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:5669:gst_rtspsrc_retrieve_sdp:<rtspsrc0> create describe...
0:00:01.750607000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:5681:gst_rtspsrc_retrieve_sdp:<rtspsrc0> send describe...
0:00:01.752271000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:4530:gst_rtspsrc_try_send:<rtspsrc0> sending message
0:00:01.757966000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:4559:gst_rtspsrc_try_send:<rtspsrc0> received response message
0:00:01.759334000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:4573:gst_rtspsrc_try_send:<rtspsrc0> got response message 401
0:00:01.761138000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:4461:gst_rtspsrc_setup_auth:<rtspsrc0> Attempting authentication using credentials from the URL
0:00:01.762693000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:4490:gst_rtspsrc_setup_auth:<rtspsrc0> Attempting Digest authentication
0:00:01.763872000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:4530:gst_rtspsrc_try_send:<rtspsrc0> sending message
0:00:01.773319000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:4559:gst_rtspsrc_try_send:<rtspsrc0> received response message
0:00:01.774811000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:4573:gst_rtspsrc_try_send:<rtspsrc0> got response message 200
0:00:01.776561000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:5723:gst_rtspsrc_retrieve_sdp:<rtspsrc0> parse SDP...

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

(gst-launch-1.0:11929): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
0:00:01.782644000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:1061:gst_rtspsrc_create_stream: mapping sdp session level attributes to caps
0:00:01.783739000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:1366:gst_rtspsrc_sdp_attributes_to_caps: adding caps: a-type=broadcast
0:00:01.784046000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:1063:gst_rtspsrc_create_stream: mapping sdp media level attributes to caps
0:00:01.785085000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:1087:gst_rtspsrc_create_stream:<rtspsrc0> stream 0, (0x15762f0)
0:00:01.786164000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:1088:gst_rtspsrc_create_stream:<rtspsrc0>  pt: 96
0:00:01.787037000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:1089:gst_rtspsrc_create_stream:<rtspsrc0>  port: 0
0:00:01.788176000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:1090:gst_rtspsrc_create_stream:<rtspsrc0>  container: 0
0:00:01.789101000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:1091:gst_rtspsrc_create_stream:<rtspsrc0>  caps: application/x-unknown, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)H264, profile-level-id=(string)4D4033, a-type=(string)broadcast
0:00:01.790369000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:1092:gst_rtspsrc_create_stream:<rtspsrc0>  control: track0
0:00:01.791294000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:1129:gst_rtspsrc_create_stream:<rtspsrc0>  setup: rtsp://10.12.30.33:554/live?track0/track0
0:00:01.792409000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:5178:gst_rtspsrc_setup_streams:<rtspsrc0> doing setup of stream 0x15762f0 with rtsp://10.12.30.33:554/live?track0/track0
0:00:01.793349000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:5193:gst_rtspsrc_setup_streams:<rtspsrc0> protocols = 0x7, protocol mask = 0x1
0:00:01.794465000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:4918:gst_rtspsrc_create_transports_string:<rtspsrc0> got transports (NULL)
0:00:01.795538000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:4930:gst_rtspsrc_create_transports_string:<rtspsrc0> adding UDP unicast
0:00:01.796692000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:4965:gst_rtspsrc_create_transports_string:<rtspsrc0> prepared transports RTP/AVP;unicast;client_port=%%u1-%%u2
0:00:01.797010000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:5208:gst_rtspsrc_setup_streams:<rtspsrc0> replace ports in RTP/AVP;unicast;client_port=%%u1-%%u2
0:00:01.809607000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:1587:gst_rtspsrc_alloc_udp_ports:<rtspsrc0> got RTP port 42507
0:00:01.810988000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:1595:gst_rtspsrc_alloc_udp_ports:<rtspsrc0> RTP port not even
0:00:01.812571000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:1597:gst_rtspsrc_alloc_udp_ports:<rtspsrc0> free RTP udpsrc
0:00:01.815627000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:1602:gst_rtspsrc_alloc_udp_ports:<rtspsrc0> retry 1
0:00:01.823297000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:1587:gst_rtspsrc_alloc_udp_ports:<rtspsrc0> got RTP port 42508
0:00:01.826474000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:1619:gst_rtspsrc_alloc_udp_ports:<rtspsrc0> starting RTCP on port 42509
0:00:01.830967000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:5219:gst_rtspsrc_setup_streams:<rtspsrc0> transport is now RTP/AVP;unicast;client_port=42508-42509
0:00:01.835125000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:4530:gst_rtspsrc_try_send:<rtspsrc0> sending message
0:00:01.840169000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:4559:gst_rtspsrc_try_send:<rtspsrc0> received response message
0:00:01.841548000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:4573:gst_rtspsrc_try_send:<rtspsrc0> got response message 200
0:00:01.842926000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:5332:gst_rtspsrc_setup_streams:<rtspsrc0> stream 0x15762f0 as UDP unicast
0:00:01.845016000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:3038:gst_rtspsrc_stream_configure_transport:<rtspsrc0> configuring transport for stream 0x15762f0
0:00:01.846518000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:3049:gst_rtspsrc_stream_configure_transport:<rtspsrc0> setting mime to application/x-rtp
0:00:01.848055000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:2402:gst_rtspsrc_stream_configure_manager:<rtspsrc0> using manager rtpbin
0:00:01.861114000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:2458:gst_rtspsrc_stream_configure_manager:<rtspsrc0> auto buffering mode, need_slave 0
0:00:01.862516000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:2468:gst_rtspsrc_stream_configure_manager:<rtspsrc0> selected slave
0:00:01.864132000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:2476:gst_rtspsrc_stream_configure_manager:<rtspsrc0> connect to signals on session manager, stream 0x15762f0
0:00:01.900424000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:2222:new_manager_pad:<rtspsrc0> got new manager pad <rtpbin0:recv_rtp_sink_0>
0:00:01.906710000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:2282:new_manager_pad:<rtspsrc0> ignoring unknown stream
0:00:01.911494000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:2222:new_manager_pad:<rtspsrc0> got new manager pad <rtpbin0:recv_rtcp_sink_0>
0:00:01.922255000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:2282:new_manager_pad:<rtspsrc0> ignoring unknown stream
0:00:01.924114000 11929  0x1553290 INFO                 rtspsrc gstrtspsrc.c:2505:gst_rtspsrc_stream_configure_manager:<rtspsrc0> configure bandwidth in session 0x16040b0
0:00:01.926421000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:2810:gst_rtspsrc_stream_configure_udp:<rtspsrc0> setting up UDP source
0:00:01.928242000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:2832:gst_rtspsrc_stream_configure_udp:<rtspsrc0> connecting UDP source 0 to manager
0:00:01.930733000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:2851:gst_rtspsrc_stream_configure_udp:<rtspsrc0> connecting UDP source 1 to manager
0:00:01.933208000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:2894:gst_rtspsrc_stream_configure_udp_sinks:<rtspsrc0> configure RTP UDP sink for 10.12.30.33:59984
0:00:01.949119000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:2914:gst_rtspsrc_stream_configure_udp_sinks:<rtspsrc0> RTP UDP src has sock 0x15db928
0:00:01.959190000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:2947:gst_rtspsrc_stream_configure_udp_sinks:<rtspsrc0> configure RTCP UDP sink for 10.12.30.33:59985
0:00:01.970119000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:2968:gst_rtspsrc_stream_configure_udp_sinks:<rtspsrc0> RTCP UDP src has sock 0x15db960
0:00:01.978642000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:2222:new_manager_pad:<rtspsrc0> got new manager pad <rtpbin0:send_rtcp_src_0>
0:00:01.985630000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:2282:new_manager_pad:<rtspsrc0> ignoring unknown stream
0:00:01.990082000 11929  0x15bd800 DEBUG                rtspsrc gstrtspsrc.c:4145:gst_rtspsrc_loop_send_cmd:<rtspsrc0> sending cmd 2
0:00:01.991481000 11929  0x15bd800 DEBUG                rtspsrc gstrtspsrc.c:4167:gst_rtspsrc_loop_send_cmd:<rtspsrc0> not interrupting busy cmd 16
New clock: GstSystemClock
0:00:02.005013000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:6592:gst_rtspsrc_thread:<rtspsrc0> got command 2
0:00:02.012596000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:3440:gst_rtspsrc_connection_flush:<rtspsrc0> set flushing 0
0:00:02.014167000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:3443:gst_rtspsrc_connection_flush:<rtspsrc0> connection flush
0:00:02.015794000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:3448:gst_rtspsrc_connection_flush:<rtspsrc0> stream 0x15762f0 flush
0:00:02.017340000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:6149:gst_rtspsrc_play:<rtspsrc0> PLAY...
0:00:02.018829000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:3133:gst_rtspsrc_send_dummy_packets:<rtspsrc0> sending dummy packet to stream 0x15762f0
0:00:02.041256000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:4145:gst_rtspsrc_loop_send_cmd:<rtspsrc0> sending cmd 16
0:00:02.042651000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:4157:gst_rtspsrc_loop_send_cmd:<rtspsrc0> cancel previous request 64
0:00:02.044005000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:4167:gst_rtspsrc_loop_send_cmd:<rtspsrc0> not interrupting busy cmd 2
0:00:02.047095000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:4145:gst_rtspsrc_loop_send_cmd:<rtspsrc0> sending cmd 2
0:00:02.054937000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:4167:gst_rtspsrc_loop_send_cmd:<rtspsrc0> not interrupting busy cmd 2
0:00:02.056816000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:4530:gst_rtspsrc_try_send:<rtspsrc0> sending message
0:00:02.062899000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:4559:gst_rtspsrc_try_send:<rtspsrc0> received response message
0:00:02.064284000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:4573:gst_rtspsrc_try_send:<rtspsrc0> got response message 200
0:00:02.065759000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:3205:gst_rtspsrc_configure_caps:<rtspsrc0> configuring stream caps
0:00:02.075706000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:3233:gst_rtspsrc_configure_caps:<rtspsrc0> stream 0x15762f0, caps application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)H264, profile-level-id=(string)4D4033, a-type=(string)broadcast, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
0:00:02.077776000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:3236:gst_rtspsrc_configure_caps:<rtspsrc0> clear session
0:00:02.079397000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:6322:gst_rtspsrc_play:<rtspsrc0> mark DISCONT, we did a seek to another position
0:00:02.082065000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:6592:gst_rtspsrc_thread:<rtspsrc0> got command 2
0:00:02.083408000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:3440:gst_rtspsrc_connection_flush:<rtspsrc0> set flushing 0
0:00:02.085174000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:3443:gst_rtspsrc_connection_flush:<rtspsrc0> connection flush
0:00:02.086712000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:3448:gst_rtspsrc_connection_flush:<rtspsrc0> stream 0x15762f0 flush
0:00:02.087765000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:6149:gst_rtspsrc_play:<rtspsrc0> PLAY...
0:00:02.088832000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:6347:gst_rtspsrc_play:<rtspsrc0> we were already PLAYING
0:00:02.089890000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:6592:gst_rtspsrc_thread:<rtspsrc0> got command 64
0:00:02.091263000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:3440:gst_rtspsrc_connection_flush:<rtspsrc0> set flushing 0
0:00:02.092940000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:3443:gst_rtspsrc_connection_flush:<rtspsrc0> connection flush
0:00:02.094047000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:3448:gst_rtspsrc_connection_flush:<rtspsrc0> stream 0x15762f0 flush
0:00:02.104908000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:3832:gst_rtspsrc_loop_udp:<rtspsrc0> doing receive with timeout 54 seconds
0:00:57.155187000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:3851:gst_rtspsrc_loop_udp:<rtspsrc0> timeout, sending keep-alive
0:00:57.155491000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:3516:gst_rtspsrc_send_keep_alive:<rtspsrc0> creating server keep-alive
0:00:57.156377000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:3832:gst_rtspsrc_loop_udp:<rtspsrc0> doing receive with timeout 54 seconds
0:00:57.160283000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:3844:gst_rtspsrc_loop_udp:<rtspsrc0> we received a server message
0:00:57.160562000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:3886:gst_rtspsrc_loop_udp:<rtspsrc0> ignoring response message
0:00:57.160741000 11929  0x1553290 DEBUG                rtspsrc gstrtspsrc.c:3832:gst_rtspsrc_loop_udp:<rtspsrc0> doing receive with timeout 54 seconds
Comment 4 acs christoph 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 !!
Comment 5 Wim Taymans 2014-04-08 13:21:22 UTC
The SDP contains an invalid connection line (that's what the warning is about):

c=IN IP4 IP4 0.0.0.0
Comment 6 acs christoph 2014-04-08 14:03:33 UTC
ok thanks , thats right !!

i have a type error in the rtsp url !!

the follow is the correct one , and i am a step forward !!

NEW Issue:

WARNING: from element /GstPipeline:pipeline0/GstRtpH264Depay:rtph264depay0:  Undefined packet type

in the manual is the icodec header describe the gst can handle it?


gst-launch-1.0 -vvv playbin
uri="rtsp://acs:acs@10.12.30.33:554/live?Live_video_channel_mask=0x00000001/RTSP/1.0"

thans for your help

LG
Comment 7 Wim Taymans 2014-04-08 14:08:41 UTC
(In reply to comment #6)
> 
> WARNING: from element /GstPipeline:pipeline0/GstRtpH264Depay:rtph264depay0: 
> Undefined packet type

That would be an invalid packet then. NAL types 0, 30 and 31 are invalid and
cause this error.
Comment 8 Nicolas Dufresne (ndufresne) 2015-03-25 22:25:50 UTC
From reading this thread I had the impression this is server issue, I'm marking this way for now, please reopen if something was missed.