[gst-devel] rtpsrc problem

Mailing List SVR lists at svrinformatica.it
Thu Jan 28 19:53:28 CET 2010


Attached is the output from:

gst-launch rtspsrc debug=true location=rtsp://192.168.168.220/media/video1 ! 
decodebin ! autovideosink

any help would be appreciated,

Nicola


In data mercoledì 27 gennaio 2010 18:38:36, Mailing List SVR ha scritto:
: > In data mercoledì 27 gennaio 2010 18:02:36, Yiliang Bao ha scritto:
> : > Hi Nicola,
> >
> > I used to have similar problem using rtspsrc to connect to an RTSP server
> > (not the gstreamer RTSP server). VLC worked fine, but rtspsrc stopped by
> > reporting parsing error. After stepping into rtspsrc, I found the rtsp
> > server sent one extra empty line at the end of the message body. VLC was
> > more forgiving, but the error was caught by rtspsrc.
> 
> Thanks, do you have a patch I can test?
> 
> Nicola
> 
> > I know your problem is mostly different from mine. Hopefully my
> > experience will be somewhat helpful to you.
> >
> > Good luck!
> > Yiliang
> >
> > On Wed, Jan 27, 2010 at 3:56 AM, Mailing List SVR
> >
> > <lists at svrinformatica.it>wrote:
> > >  Hi all,
> > >
> > > I'm having some trouble with an rtsp source with gstreamer (the same
> > > url works fine with vlc), here are the errors:
> > >
> > > gst-launch -v rtspsrc location=rtsp://192.168.2.24/media/video1 !
> > > decodebin ! autovideosink
> > >
> > > (gst-launch-0.10:7197): GLib-WARNING **: g_set_prgname() called
> > > multiple times
> > >
> > > Impostazione della pipeline a PAUSED ...
> > >
> > > /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0: latency =
> > > 3000
> > >
> > > /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc1: timeout =
> > > 5000000
> > >
> > > La pipeline è viva e non necessita il PREROLL ...
> > >
> > > Impostazione della pipeline a PLAYING ...
> > >
> > > /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0/GstRtpSess
> > >io n:rtpsession0: ntp-ns-base = 3473581909273466000
> > >
> > > New clock: GstSystemClock
> > >
> > > ERRORE: dall'elemento /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
> > > Impossibile leggere dalla risorsa.
> > >
> > > Informazioni di debug aggiuntive:
> > >
> > > gstrtspsrc.c(3766): gst_rtspsrc_try_send ():
> > > /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
> > >
> > > Could not receive message. (Parse error)
> > >
> > > Execution ended after 307930 ns.
> > >
> > > Impostazione della pipeline a PAUSED ...
> > >
> > > Impostazione della pipeline a READY ...
> > >
> > > Impostazione della pipeline a NULL ...
> > >
> > > Esecuzione di free sulla pipeline..
> > >
> > > Attacched are more detailed error using gst-debug=3,
> > >
> > > any hints?
> > >
> > > Nicola
> > >
> > >
> > > -----------------------------------------------------------------------
> > >-- ----- The Planet: dedicated and managed hosting, cloud storage,
> > > colocation Stay online with enterprise data centers and the best
> > > network in the business
> > > Choose flexible plans and management services without long-term
> > > contracts Personal 24x7 support from experience hosting pros just a
> > > phone call away. http://p.sf.net/sfu/theplanet-com
> > > _______________________________________________
> > > gstreamer-devel mailing list
> > > gstreamer-devel at lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> 
> ---------------------------------------------------------------------------
> --- The Planet: dedicated and managed hosting, cloud storage, colocation
>  Stay online with enterprise data centers and the best network in the
>  business Choose flexible plans and management services without long-term
>  contracts Personal 24x7 support from experience hosting pros just a phone
>  call away. http://p.sf.net/sfu/theplanet-com
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> 
-------------- next part --------------
Impostazione della pipeline a PAUSED ...
RTSP request message 0x7fffccabf270
 request line:
   method: 'OPTIONS'
   uri:    'rtsp://192.168.168.220/media/video1'
   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 0x7fffccabf230
 status line:
   code:   '200'
   reason: 'OK'
   version: '1.0'
 headers:
   key: 'CSeq', value: '1'
   key: 'Date', value: 'Thu, Jan 22 2009 02:46:58 GMT'
   key: 'Public', value: 'OPTIONS'
   key: 'Public', value: 'DESCRIBE'
   key: 'Public', value: 'SETUP'
   key: 'Public', value: 'TEARDOWN'
   key: 'Public', value: 'PLAY'
   key: 'Public', value: 'SET_PARAMETER'
   key: 'Public', value: 'GET_PARAMETER'
 body: length 0
RTSP request message 0x7fffccabf270
 request line:
   method: 'DESCRIBE'
   uri:    'rtsp://192.168.168.220/media/video1'
   version: '1.0'
 headers:
   key: 'Accept', value: 'application/sdp'
 body:
RTSP response message 0x7fffccabf230
 status line:
   code:   '200'
   reason: 'OK'
   version: '1.0'
 headers:
   key: 'CSeq', value: '2'
   key: 'Date', value: 'Thu, Jan 22 2009 02:46:58 GMT'
   key: 'Content-Base', value: 'rtsp://192.168.168.220/video1/'
   key: 'Content-Type', value: 'application/sdp'
   key: 'Content-Length', value: '490'
 body: length 491
00000000 (0x1cf51f0): 76 3d 30 0d 0a 6f 3d 2d 20 31 32 33 32 35 39 32  v=0..o=- 1232592
00000010 (0x1cf5200): 30 36 34 36 32 33 34 31 35 20 31 20 49 4e 20 49  064623415 1 IN I
00000020 (0x1cf5210): 50 34 20 31 39 32 2e 31 36 38 2e 31 36 38 2e 32  P4 192.168.168.2
00000030 (0x1cf5220): 32 30 0d 0a 73 3d 53 6f 6e 79 20 52 54 53 50 20  20..s=Sony RTSP 
00000040 (0x1cf5230): 53 65 72 76 65 72 0d 0a 69 3d 76 69 64 65 6f 31  Server..i=video1
00000050 (0x1cf5240): 0d 0a 74 3d 30 20 30 0d 0a 61 3d 74 6f 6f 6c 3a  ..t=0 0..a=tool:
00000060 (0x1cf5250): 4c 49 56 45 35 35 35 20 53 74 72 65 61 6d 69 6e  LIVE555 Streamin
00000070 (0x1cf5260): 67 20 4d 65 64 69 61 20 76 32 30 30 38 2e 30 37  g Media v2008.07
00000080 (0x1cf5270): 2e 32 34 0d 0a 61 3d 72 61 6e 67 65 3a 6e 70 74  .24..a=range:npt
00000090 (0x1cf5280): 3d 6e 6f 77 2d 0d 0a 61 3d 73 6f 75 72 63 65 2d  =now-..a=source-
000000a0 (0x1cf5290): 66 69 6c 74 65 72 3a 20 69 6e 63 6c 20 49 4e 20  filter: incl IN 
000000b0 (0x1cf52a0): 49 50 34 20 2a 20 31 39 32 2e 31 36 38 2e 31 36  IP4 * 192.168.16
000000c0 (0x1cf52b0): 38 2e 32 32 30 0d 0a 61 3d 72 74 63 70 2d 75 6e  8.220..a=rtcp-un
000000d0 (0x1cf52c0): 69 63 61 73 74 3a 20 72 65 66 6c 65 63 74 69 6f  icast: reflectio
000000e0 (0x1cf52d0): 6e 0d 0a 61 3d 72 61 6e 67 65 3a 6e 70 74 3d 6e  n..a=range:npt=n
000000f0 (0x1cf52e0): 6f 77 2d 0d 0a 63 3d 49 4e 20 49 50 34 20 30 2e  ow-..c=IN IP4 0.
00000100 (0x1cf52f0): 30 2e 30 2e 30 0d 0a 61 3d 78 2d 71 74 2d 74 65  0.0.0..a=x-qt-te
00000110 (0x1cf5300): 78 74 2d 6e 61 6d 3a 53 6f 6e 79 20 52 54 53 50  xt-nam:Sony RTSP
00000120 (0x1cf5310): 20 53 65 72 76 65 72 0d 0a 61 3d 78 2d 71 74 2d   Server..a=x-qt-
00000130 (0x1cf5320): 74 65 78 74 2d 69 6e 66 3a 76 69 64 65 6f 31 0d  text-inf:video1.
00000140 (0x1cf5330): 0a 6d 3d 76 69 64 65 6f 20 30 20 52 54 50 2f 41  .m=video 0 RTP/A
00000150 (0x1cf5340): 56 50 20 39 36 0d 0a 61 3d 72 74 70 6d 61 70 3a  VP 96..a=rtpmap:
00000160 (0x1cf5350): 39 36 20 4d 50 34 56 2d 45 53 2f 39 30 30 30 30  96 MP4V-ES/90000
00000170 (0x1cf5360): 0d 0a 61 3d 63 6f 6e 74 72 6f 6c 3a 74 72 61 63  ..a=control:trac
00000180 (0x1cf5370): 6b 31 0d 0a 61 3d 66 6d 74 70 3a 39 36 20 70 72  k1..a=fmtp:96 pr
00000190 (0x1cf5380): 6f 66 69 6c 65 2d 6c 65 76 65 6c 2d 69 64 3d 31  ofile-level-id=1
000001a0 (0x1cf5390): 3b 63 6f 6e 66 69 67 3d 30 30 30 30 30 31 62 30  ;config=000001b0
000001b0 (0x1cf53a0): 30 33 30 30 30 30 30 31 62 35 30 63 32 30 32 30  03000001b50c2020
000001c0 (0x1cf53b0): 32 30 32 66 30 30 30 30 30 31 30 31 30 30 30 30  202f000001010000
000001d0 (0x1cf53c0): 30 31 32 30 30 30 38 34 35 64 34 63 32 38 62 34  012000845d4c28b4
000001e0 (0x1cf53d0): 32 32 34 30 61 32 31 66 0d 0a 00                 2240a21f...     
sdp packet 0x7fffccabf170:
 version:       '0'
 origin:
  username:     '-'
  sess_id:      '1232592064623415'
  sess_version: '1'
  nettype:      'IN'
  addrtype:     'IP4'
  addr:         '192.168.168.220'
 session_name:  'Sony RTSP Server'
 information:   'video1'
 uri:           '(NULL)'
 connection:
  nettype:      'IN'
  addrtype:     'IP4'
  address:      '0.0.0.0'
  ttl:          '0'
  addr_number:  '0'
 key:
  type:         '(NULL)'
  data:         '(NULL)'
 attributes:
  attribute 'tool' : 'LIVE555 Streaming Media v2008.07.24'
  attribute 'range' : 'npt=now-'
  attribute 'source-filter' : ' incl IN IP4 * 192.168.168.220'
  attribute 'rtcp-unicast' : ' reflection'
  attribute 'range' : 'npt=now-'
  attribute 'x-qt-text-nam' : 'Sony RTSP Server'
  attribute 'x-qt-text-inf' : 'video1'
 medias:
  media 0:
   media:       'video'
   port:        '0'
   num_ports:   '4294967295'
   proto:       'RTP/AVP'
   formats:
    format  '96'
   information: '(NULL)'
   key:
    type:       '(NULL)'
    data:       '(NULL)'
   attributes:
    attribute 'rtpmap' : '96 MP4V-ES/90000'
    attribute 'control' : 'track1'
    attribute 'fmtp' : '96 profile-level-id=1;config=000001b003000001b50c2020202f000001010000012000845d4c28b42240a21f'
RTSP request message 0x7fffccabf050
 request line:
   method: 'SETUP'
   uri:    'rtsp://192.168.168.220/video1/track1'
   version: '1.0'
 headers:
   key: 'Transport', value: 'RTP/AVP/UDP;unicast;client_port=57006-57007'
 body:
RTSP response message 0x7fffccabf010
 status line:
   code:   '200'
   reason: 'OK'
   version: '1.0'
 headers:
   key: 'CSeq', value: '3'
   key: 'Date', value: 'Thu, Jan 22 2009 02:46:58 GMT'
   key: 'Transport', value: 'RTP/AVP;unicast;destination=192.168.168.12;source=192.168.168.220;client_port=57006-57007;server_port=4464-4465'
   key: 'Session', value: '5;timeout=0'
 body: length 0
La pipeline è viva e non necessita il PREROLL ...
Impostazione della pipeline a PLAYING ...
RTSP request message 0x7fffccabf2d0
 request line:
   method: 'PLAY'
   uri:    'rtsp://192.168.168.220/media/video1'
   version: '1.0'
 headers:
   key: 'Range', value: 'npt=now-'
 body:
New clock: GstSystemClock
ERRORE: dall'elemento /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Impossibile leggere dalla risorsa.
Informazioni di debug aggiuntive:
gstrtspsrc.c(3766): gst_rtspsrc_try_send (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
Could not receive message. (Parse error)
Execution ended after 705467 ns.
Impostazione della pipeline a PAUSED ...
Impostazione della pipeline a READY ...
RTSP request message 0x7fffccabf2e0
 request line:
   method: 'TEARDOWN'
   uri:    'rtsp://192.168.168.220/media/video1'
   version: '1.0'
 headers:
 body:
RTSP response message 0x7fffccabf2a0
 status line:
   code:   '200'
   reason: 'OK'
   version: '1.0'
 headers:
   key: 'CSeq', value: '5'
   key: 'Date', value: 'Thu, Jan 22 2009 02:46:58 GMT'
 body: length 0
Impostazione della pipeline a NULL ...
Esecuzione di free sulla pipeline...


More information about the gstreamer-devel mailing list