rtspsrc connect live555 ,but returning error.

Deepak Agasibagil deepak at relysys.co.in
Mon Dec 15 06:10:18 PST 2014


Hi,
 I am using below command to display the the streamed video on
autovideosink successfully.
i think you has missed 'rtph264depay'.

gst-launch-0.10 -e rtspsrc location=rtsp://127.0.01:8554/test ! \
rtph264depay ! h264parse ! capsfilter
caps="video/x-h264,width=1280,height=800,framerate=(fraction)25/1" ! \
ffdec_h264 ! ffmpegcolorspace ! autovideosink

On Mon, Dec 15, 2014 at 9:06 AM, zhang007z <zhang007z at gmail.com> wrote:
>
> I taken this command as follow:
> GST_DEBUG="*:2" gst-launch-0.10 rtspsrc debug=1
> location=rtsp://192.168.1.14/vs1 !  fakesink
> //-------------------------------------error
> log---------------------------------------//
> root at ubuntu:~# GST_DEBUG="*:2" gst-launch-0.10 rtspsrc debug=1
> location=rtsp://192.168.1.4/vs1 !  fakesink
> Setting pipeline to PAUSED ...
> Pipeline is live and does not need PREROLL ...
> Setting pipeline to PLAYING ...
> New clock: GstSystemClock
> RTSP request message 0x7f0d95b6bc90
>  request line:
>    method: 'OPTIONS'
>    uri:    'rtsp://192.168.1.4/vs1'
>    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 0x7f0d95b6bcd0
>  status line:
>    code:   '200'
>    reason: 'OK'
>    version: '1.0'
>  headers:
>    key: 'CSeq', value: '1'
>    key: 'Date', value: 'Mon, Dec 15 2014 03:41:34 GMT'
>    key: 'Public', value: 'OPTIONS'
>    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'
>    key: 'Public', value: 'SET_PARAMETER'
>  body: length 0
> RTSP request message 0x7f0d95b6bc90
>  request line:
>    method: 'DESCRIBE'
>    uri:    'rtsp://192.168.1.4/vs1'
>    version: '1.0'
>  headers:
>    key: 'Accept', value: 'application/sdp'
>  body:
> RTSP response message 0x7f0d95b6bcd0
>  status line:
>    code:   '200'
>    reason: 'OK'
>    version: '1.0'
>  headers:
>    key: 'CSeq', value: '2'
>    key: 'Date', value: 'Mon, Dec 15 2014 03:41:34 GMT'
>    key: 'Content-Base', value: 'rtsp://192.168.1.4/vs1/'
>    key: 'Content-Type', value: 'application/sdp'
>    key: 'Content-Length', value: '773'
>  body: length 774
> 00000000 (0x7f0d90004760): 76 3d 30 0d 0a 6f 3d 2d 20 31 34 31 38 36 31 34
> v=0..o=- 1418614
> 00000010 (0x7f0d90004770): 38 35 33 39 35 34 34 31 38 20 31 20 49 4e 20 49
> 853954418 1 IN I
> 00000020 (0x7f0d90004780): 50 34 20 31 39 32 2e 31 36 38 2e 31 2e 34 0d 0a
> P4 192.168.1.4..
> 00000030 (0x7f0d90004790): 73 3d 53 65 73 73 69 6f 6e 20 73 74 72 65 61 6d
> s=Session stream
> 00000040 (0x7f0d900047a0): 65 64 20 62 79 20 22 74 65 73 74 4f 6e 44 65 6d
> ed by "testOnDem
> 00000050 (0x7f0d900047b0): 61 6e 64 52 54 53 50 53 65 72 76 65 72 22 0d 0a
> andRTSPServer"..
> 00000060 (0x7f0d900047c0): 69 3d 4c 49 56 45 35 35 35 20 53 74 72 65 61 6d
> i=LIVE555 Stream
> 00000070 (0x7f0d900047d0): 69 6e 67 20 4d 65 64 69 61 20 76 32 30 31 33 2e
> ing Media v2013.
> 00000080 (0x7f0d900047e0): 30 34 2e 30 36 0d 0a 74 3d 30 20 30 0d 0a 61 3d
> 04.06..t=0 0..a=
> 00000090 (0x7f0d900047f0): 74 6f 6f 6c 3a 4c 49 56 45 35 35 35 20 53 74 72
> tool:LIVE555 Str
> 000000a0 (0x7f0d90004800): 65 61 6d 69 6e 67 20 4d 65 64 69 61 20 76 32 30
> eaming Media v20
> 000000b0 (0x7f0d90004810): 31 33 2e 30 34 2e 30 36 0d 0a 61 3d 74 79 70 65
> 13.04.06..a=type
> 000000c0 (0x7f0d90004820): 3a 62 72 6f 61 64 63 61 73 74 0d 0a 61 3d 63 6f
> :broadcast..a=co
> 000000d0 (0x7f0d90004830): 6e 74 72 6f 6c 3a 2a 0d 0a 61 3d 72 61 6e 67 65
> ntrol:*..a=range
> 000000e0 (0x7f0d90004840): 3a 6e 70 74 3d 30 2d 0d 0a 61 3d 78 2d 71 74 2d
> :npt=0-..a=x-qt-
> 000000f0 (0x7f0d90004850): 74 65 78 74 2d 6e 61 6d 3a 53 65 73 73 69 6f 6e
> text-nam:Session
> 00000100 (0x7f0d90004860): 20 73 74 72 65 61 6d 65 64 20 62 79 20 22 74 65
> streamed by "te
> 00000110 (0x7f0d90004870): 73 74 4f 6e 44 65 6d 61 6e 64 52 54 53 50 53 65
> stOnDemandRTSPSe
> 00000120 (0x7f0d90004880): 72 76 65 72 22 0d 0a 61 3d 78 2d 71 74 2d 74 65
> rver"..a=x-qt-te
> 00000130 (0x7f0d90004890): 78 74 2d 69 6e 66 3a 4c 49 56 45 35 35 35 20 53
> xt-inf:LIVE555 S
> 00000140 (0x7f0d900048a0): 74 72 65 61 6d 69 6e 67 20 4d 65 64 69 61 20 76
> treaming Media v
> 00000150 (0x7f0d900048b0): 32 30 31 33 2e 30 34 2e 30 36 0d 0a 6d 3d 76 69
> 2013.04.06..m=vi
> 00000160 (0x7f0d900048c0): 64 65 6f 20 30 20 52 54 50 2f 41 56 50 20 39 36
> deo 0 RTP/AVP 96
> 00000170 (0x7f0d900048d0): 0d 0a 63 3d 49 4e 20 49 50 34 20 30 2e 30 2e 30
> ..c=IN IP4 0.0.0
> 00000180 (0x7f0d900048e0): 2e 30 0d 0a 62 3d 41 53 3a 35 30 30 0d 0a 61 3d
> .0..b=AS:500..a=
> 00000190 (0x7f0d900048f0): 72 74 70 6d 61 70 3a 39 36 20 48 32 36 34 2f 39
> rtpmap:96 H264/9
> 000001a0 (0x7f0d90004900): 30 30 30 30 0d 0a 61 3d 66 6d 74 70 3a 39 36 20
> 0000..a=fmtp:96
> 000001b0 (0x7f0d90004910): 70 61 63 6b 65 74 69 7a 61 74 69 6f 6e 2d 6d 6f
> packetization-mo
> 000001c0 (0x7f0d90004920): 64 65 3d 31 3b 70 72 6f 66 69 6c 65 2d 6c 65 76
> de=1;profile-lev
> 000001d0 (0x7f0d90004930): 65 6c 2d 69 64 3d 34 44 45 30 32 41 3b 73 70 72
> el-id=4DE02A;spr
> 000001e0 (0x7f0d90004940): 6f 70 2d 70 61 72 61 6d 65 74 65 72 2d 73 65 74
> op-parameter-set
> 000001f0 (0x7f0d90004950): 73 3d 4a 30 33 67 4b 6f 31 6f 42 51 42 62 6f 51
> s=J03gKo1oBQBboQ
> 00000200 (0x7f0d90004960): 41 41 41 77 41 42 41 41 41 44 41 42 6b 50 46 43
> AAAwABAAADABkPFC
> 00000210 (0x7f0d90004970): 4b 67 2c 4b 4f 34 43 55 6b 67 3d 0d 0a 61 3d 63
> Kg,KO4CUkg=..a=c
> 00000220 (0x7f0d90004980): 6f 6e 74 72 6f 6c 3a 74 72 61 63 6b 31 0d 0a 6d
> ontrol:track1..m
> 00000230 (0x7f0d90004990): 3d 61 75 64 69 6f 20 30 20 52 54 50 2f 41 56 50
> =audio 0 RTP/AVP
> 00000240 (0x7f0d900049a0): 20 39 37 0d 0a 63 3d 49 4e 20 49 50 34 20 30 2e
> 97..c=IN IP4 0.
> 00000250 (0x7f0d900049b0): 30 2e 30 2e 30 0d 0a 62 3d 41 53 3a 39 36 0d 0a
> 0.0.0..b=AS:96..
> 00000260 (0x7f0d900049c0): 61 3d 72 74 70 6d 61 70 3a 39 37 20 4d 50 45 47
> a=rtpmap:97 MPEG
> 00000270 (0x7f0d900049d0): 34 2d 47 45 4e 45 52 49 43 2f 38 30 30 30 0d 0a
> 4-GENERIC/8000..
> 00000280 (0x7f0d900049e0): 61 3d 66 6d 74 70 3a 39 37 20 73 74 72 65 61 6d
> a=fmtp:97 stream
> 00000290 (0x7f0d900049f0): 74 79 70 65 3d 35 3b 70 72 6f 66 69 6c 65 2d 6c
> type=5;profile-l
> 000002a0 (0x7f0d90004a00): 65 76 65 6c 2d 69 64 3d 31 3b 6d 6f 64 65 3d 41
> evel-id=1;mode=A
> 000002b0 (0x7f0d90004a10): 41 43 2d 68 62 72 3b 73 69 7a 65 6c 65 6e 67 74
> AC-hbr;sizelengt
> 000002c0 (0x7f0d90004a20): 68 3d 31 33 3b 69 6e 64 65 78 6c 65 6e 67 74 68
> h=13;indexlength
> 000002d0 (0x7f0d90004a30): 3d 33 3b 69 6e 64 65 78 64 65 6c 74 61 6c 65 6e
> =3;indexdeltalen
> 000002e0 (0x7f0d90004a40): 67 74 68 3d 33 3b 63 6f 6e 66 69 67 3d 31 35 38
> gth=3;config=158
> 000002f0 (0x7f0d90004a50): 38 0d 0a 61 3d 63 6f 6e 74 72 6f 6c 3a 74 72 61
> 8..a=control:tra
> 00000300 (0x7f0d90004a60): 63 6b 32 0d 0a 00
> ck2...
> sdp packet 0x7f0d90001670:
>  version:       '0'
>  origin:
>   username:     '-'
>   sess_id:      '1418614853954418'
>   sess_version: '1'
>   nettype:      'IN'
>   addrtype:     'IP4'
>   addr:         '192.168.1.4'
>  session_name:  'Session streamed by "testOnDemandRTSPServer"'
>  information:   'LIVE555 Streaming Media v2013.04.06'
>  uri:           '(NULL)'
>  connection:
>   nettype:      '(NULL)'
>   addrtype:     '(NULL)'
>   address:      '(NULL)'
>   ttl:          '0'
>   addr_number:  '0'
>  key:
>   type:         '(NULL)'
>   data:         '(NULL)'
>  attributes:
>   attribute 'tool' : 'LIVE555 Streaming Media v2013.04.06'
>   attribute 'type' : 'broadcast'
>   attribute 'control' : '*'
>   attribute 'range' : 'npt=0-'
>   attribute 'x-qt-text-nam' : 'Session streamed by
> "testOnDemandRTSPServer"'
>   attribute 'x-qt-text-inf' : 'LIVE555 Streaming Media v2013.04.06'
>  medias:
>   media 0:
>    media:       'video'
>    port:        '0'
>    num_ports:   '4294967295'
>    proto:       'RTP/AVP'
>    formats:
>     format  '96'
>    information: '(NULL)'
>    connections:
>     nettype:      'IN'
>     addrtype:     'IP4'
>     address:      '0.0.0.0'
>     ttl:          '0'
>     addr_number:  '0'
>    bandwidths:
>     type:         'AS'
>     bandwidth:    '500'
>    key:
>     type:       '(NULL)'
>     data:       '(NULL)'
>    attributes:
>     attribute 'rtpmap' : '96 H264/90000'
>     attribute 'fmtp' : '96
>
> packetization-mode=1;profile-level-id=4DE02A;sprop-parameter-sets=J03gKo1oBQBboQAAAwABAAADABkPFCKg,KO4CUkg='
>     attribute 'control' : 'track1'
>   media 1:
>    media:       'audio'
>    port:        '0'
>    num_ports:   '4294967295'
>    proto:       'RTP/AVP'
>    formats:
>     format  '97'
>    information: '(NULL)'
>    connections:
>     nettype:      'IN'
>     addrtype:     'IP4'
>     address:      '0.0.0.0'
>     ttl:          '0'
>     addr_number:  '0'
>    bandwidths:
>     type:         'AS'
>     bandwidth:    '96'
>    key:
>     type:       '(NULL)'
>     data:       '(NULL)'
>    attributes:
>     attribute 'rtpmap' : '97 MPEG4-GENERIC/8000'
>     attribute 'fmtp' : '97
>
> streamtype=5;profile-level-id=1;mode=AAC-hbr;sizelength=13;indexlength=3;indexdeltalength=3;config=1588'
>     attribute 'control' : 'track2'
> RTSP request message 0x7f0d95b6baf0
>  request line:
>    method: 'SETUP'
>    uri:    'rtsp://192.168.1.4/vs1/track1'
>    version: '1.0'
>  headers:
>    key: 'Transport', value: 'RTP/AVP;unicast;client_port=44212-44213'
>  body:
> RTSP response message 0x7f0d95b6bb30
>  status line:
>    code:   '200'
>    reason: 'OK'
>    version: '1.0'
>  headers:
>    key: 'CSeq', value: '3'
>    key: 'Date', value: 'Mon, Dec 15 2014 03:41:35 GMT'
>    key: 'Transport', value:
>
> 'RTP/AVP;unicast;destination=192.168.1.15;source=192.168.1.4;client_port=44212-44213;server_port=6970-6971'
>    key: 'Session', value: 'D751EA4B'
>  body: length 0
> RTSP request message 0x7f0d95b6baf0
>  request line:
>    method: 'SETUP'
>    uri:    'rtsp://192.168.1.4/vs1/track2'
>    version: '1.0'
>  headers:
>    key: 'Transport', value: 'RTP/AVP;unicast;client_port=55422-55423'
>  body:
> RTSP response message 0x7f0d95b6bb30
>  status line:
>    code:   '200'
>    reason: 'OK'
>    version: '1.0'
>  headers:
>    key: 'CSeq', value: '4'
>    key: 'Date', value: 'Mon, Dec 15 2014 03:41:35 GMT'
>    key: 'Transport', value:
>
> 'RTP/AVP;unicast;destination=192.168.1.15;source=192.168.1.4;client_port=55422-55423;server_port=6972-6973'
>    key: 'Session', value: 'D751EA4B'
>  body: length 0
> RTSP request message 0x7f0d95b6bc60
>  request line:
>    method: 'PLAY'
>    uri:    'rtsp://192.168.1.4/vs1'
>    version: '1.0'
>  headers:
>    key: 'Range', value: 'npt=0-'
>  body:
> RTSP response message 0x7f0d95b6bca0
>  status line:
>    code:   '200'
>    reason: 'OK'
>    version: '1.0'
>  headers:
>    key: 'CSeq', value: '5'
>    key: 'Date', value: 'Mon, Dec 15 2014 03:41:35 GMT'
>    key: 'Range', value: 'npt=0.000-'
>    key: 'Session', value: 'D751EA4B'
>    key: 'RTP-Info', value:
> 'url=rtsp://192.168.1.4/vs1/track1;seq=522;rtptime=2674491463'
>    key: 'RTP-Info', value:
> 'url=rtsp://192.168.1.4/vs1/track2;seq=45197;rtptime=1398658333'
>  body: length 0
> 0:00:01.347520941  4339 0x7f0d78001a80 WARN                     bin
> gstbin.c:2395:gst_bin_do_latency_func:<pipeline0> did not really configure
> latency of 0:00:00.000000000
> 0:00:01.612749918  4339 0x7f0d900019e0 WARN                 basesrc
> gstbasesrc.c:2625:gst_base_src_loop:<udpsrc3> error: Internal data flow
> error.
> 0:00:01.613023417  4339 0x7f0d900019e0 WARN                 basesrc
> gstbasesrc.c:2625:gst_base_src_loop:<udpsrc3> error: streaming task paused,
> reason not-linked (-1)
>
> //--------------------------------------------------------------------------------------------------//
>
>
> above it is return error log.please any ideas for me,thank you for helping
> me.
>
>
>
>
> --
> View this message in context:
> http://gstreamer-devel.966125.n4.nabble.com/rtspsrc-connect-live555-but-returning-error-tp4669913.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20141215/da56c2ef/attachment-0001.html>


More information about the gstreamer-devel mailing list