<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    This is the complete OUTPUT with debug..<br>
    <br>
    root@testingVM:~# gst-launch-1.0 rtspsrc
    location=rtsp://192.168.0.253/ch0_0.h264 debug=1 ! decodebin !
    v4l2sink device=/dev/video0<br>
    Setting pipeline to PAUSED ...<br>
    Pipeline is live and does not need PREROLL ...<br>
    Setting pipeline to PLAYING ...<br>
    New clock: GstSystemClock<br>
    RTSP request message 0x7fb1b2383990<br>
     request line:<br>
       method: 'OPTIONS'<br>
       uri:    'rtsp://192.168.0.253/ch0_0.h264'<br>
       version: '1.0'<br>
     headers:<br>
       key: 'User-Agent', value: 'RealMedia Player Version 6.0.9.1235
    (linux-2.0-libc6-i386-gcc2.95)'<br>
       key: 'ClientChallenge', value: '9e26d33f2984236010ef6253fb1887f7'<br>
       key: 'CompanyID', value: 'KnKV4M4I/B2FjJ1TToLycw=='<br>
       key: 'GUID', value: '00000000-0000-0000-0000-000000000000'<br>
       key: 'RegionData', value: '0'<br>
       key: 'PlayerStarttime', value: '[28/03/2003:22:50:23 00:00]'<br>
       key: 'ClientID', value: 'Linux_2.4_6.0.9.1235_play32_RN01_EN_586'<br>
     body:<br>
    RTSP response message 0x7fb1b23839f0<br>
     status line:<br>
       code:   '200'<br>
       reason: 'OK'<br>
       version: '1.0'<br>
     headers:<br>
       key: 'CSeq', value: '1'<br>
       key: 'Date', value: 'Sun, Jun 02 2013 01:59:35 GMT'<br>
       key: 'Public', value: 'OPTIONS'<br>
       key: 'Public', value: 'DESCRIBE'<br>
       key: 'Public', value: 'SETUP'<br>
       key: 'Public', value: 'TEARDOWN'<br>
       key: 'Public', value: 'PLAY'<br>
       key: 'Public', value: 'PAUSE'<br>
       key: 'Public', value: 'GET_PARAMETER'<br>
       key: 'Public', value: 'SET_PARAMETER'<br>
     body: length 0<br>
    RTSP request message 0x7fb1b2383990<br>
     request line:<br>
       method: 'DESCRIBE'<br>
       uri:    'rtsp://192.168.0.253/ch0_0.h264'<br>
       version: '1.0'<br>
     headers:<br>
       key: 'Accept', value: 'application/sdp'<br>
     body:<br>
    RTSP response message 0x7fb1b23839f0<br>
     status line:<br>
       code:   '200'<br>
       reason: 'OK'<br>
       version: '1.0'<br>
     headers:<br>
       key: 'CSeq', value: '2'<br>
       key: 'Date', value: 'Sun, Jun 02 2013 01:59:35 GMT'<br>
       key: 'Content-Base', value: 'rtsp://192.168.0.253/ch0_0.h264/'<br>
       key: 'Content-Type', value: 'application/sdp'<br>
       key: 'Content-Length', value: '733'<br>
     body: length 734<br>
    00000000 (0x1e9cab0): 76 3d 30 0d 0a 6f 3d 2d 20 31 33 37 30 31 33
    38  v=0..o=- 1370138<br>
    00000010 (0x1e9cac0): 33 37 35 37 32 39 36 31 37 20 31 20 49 4e 20
    49  375729617 1 IN I<br>
    00000020 (0x1e9cad0): 50 34 20 31 39 32 2e 31 36 38 2e 30 2e 32 35
    33  P4 192.168.0.253<br>
    00000030 (0x1e9cae0): 0d 0a 73 3d 48 2e 32 36 34 20 50 72 6f 67 72
    61  ..s=H.264 Progra<br>
    00000040 (0x1e9caf0): 6d 20 53 74 72 65 61 6d 2c 20 73 74 72 65 61
    6d  m Stream, stream<br>
    00000050 (0x1e9cb00): 65 64 20 62 79 20 74 68 65 20 4c 49 56 45 35
    35  ed by the LIVE55<br>
    00000060 (0x1e9cb10): 35 20 4d 65 64 69 61 20 53 65 72 76 65 72 0d
    0a  5 Media Server..<br>
    00000070 (0x1e9cb20): 69 3d 63 68 30 5f 30 2e 68 32 36 34 0d 0a 74
    3d  i=ch0_0.h264..t=<br>
    00000080 (0x1e9cb30): 30 20 30 0d 0a 61 3d 44 65 76 56 65 72 3a 70
    75  0 0..a=DevVer:pu<br>
    00000090 (0x1e9cb40): 73 68 65 72 32 0d 0a 61 3d 47 72 6f 75 70 4e
    61  sher2..a=GroupNa<br>
    000000a0 (0x1e9cb50): 6d 65 3a 49 50 43 41 4d 0d 0a 61 3d 4e 69 63
    6b  me:IPCAM..a=Nick<br>
    000000b0 (0x1e9cb60): 4e 61 6d 65 3a 43 49 46 0d 0a 61 3d 43 66 67
    53  Name:CIF..a=CfgS<br>
    000000c0 (0x1e9cb70): 65 63 74 69 6f 6e 3a 50 52 4f 47 5f 43 48 4e
    30  ection:PROG_CHN0<br>
    000000d0 (0x1e9cb80): 0d 0a 61 3d 74 6f 6f 6c 3a 4c 49 56 45 35 35
    35  ..a=tool:LIVE555<br>
    000000e0 (0x1e9cb90): 20 53 74 72 65 61 6d 69 6e 67 20 4d 65 64 69
    61   Streaming Media<br>
    000000f0 (0x1e9cba0): 20 76 32 30 31 31 2e 30 38 2e 31 33 0d 0a 61
    3d   v2011.08.13..a=<br>
    00000100 (0x1e9cbb0): 74 79 70 65 3a 62 72 6f 61 64 63 61 73 74 0d
    0a  type:broadcast..<br>
    00000110 (0x1e9cbc0): 61 3d 63 6f 6e 74 72 6f 6c 3a 2a 0d 0a 61 3d
    72  a=control:*..a=r<br>
    00000120 (0x1e9cbd0): 61 6e 67 65 3a 6e 70 74 3d 30 2d 0d 0a 61 3d
    78  ange:npt=0-..a=x<br>
    00000130 (0x1e9cbe0): 2d 71 74 2d 74 65 78 74 2d 6e 61 6d 3a 48 2e
    32  -qt-text-nam:H.2<br>
    00000140 (0x1e9cbf0): 36 34 20 50 72 6f 67 72 61 6d 20 53 74 72 65
    61  64 Program Strea<br>
    00000150 (0x1e9cc00): 6d 2c 20 73 74 72 65 61 6d 65 64 20 62 79 20
    74  m, streamed by t<br>
    00000160 (0x1e9cc10): 68 65 20 4c 49 56 45 35 35 35 20 4d 65 64 69
    61  he LIVE555 Media<br>
    00000170 (0x1e9cc20): 20 53 65 72 76 65 72 0d 0a 61 3d 78 2d 71 74
    2d   Server..a=x-qt-<br>
    00000180 (0x1e9cc30): 74 65 78 74 2d 69 6e 66 3a 63 68 30 5f 30 2e
    68  text-inf:ch0_0.h<br>
    00000190 (0x1e9cc40): 32 36 34 0d 0a 6d 3d 76 69 64 65 6f 20 30 20
    52  264..m=video 0 R<br>
    000001a0 (0x1e9cc50): 54 50 2f 41 56 50 20 39 36 0d 0a 63 3d 49 4e
    20  TP/AVP 96..c=IN<br>
    000001b0 (0x1e9cc60): 49 50 34 20 30 2e 30 2e 30 2e 30 0d 0a 62 3d
    41  IP4 0.0.0.0..b=A<br>
    000001c0 (0x1e9cc70): 53 3a 34 30 30 30 0d 0a 61 3d 72 74 70 6d 61
    70  S:4000..a=rtpmap<br>
    000001d0 (0x1e9cc80): 3a 39 36 20 48 32 36 34 2f 39 30 30 30 30 0d
    0a  :96 H264/90000..<br>
    000001e0 (0x1e9cc90): 61 3d 63 6f 6e 74 72 6f 6c 3a 74 72 61 63 6b
    49  a=control:trackI<br>
    000001f0 (0x1e9cca0): 44 3d 31 0d 0a 61 3d 66 6d 74 70 3a 39 36 20
    70  D=1..a=fmtp:96 p<br>
    00000200 (0x1e9ccb0): 61 63 6b 65 74 69 7a 61 74 69 6f 6e 2d 6d 6f
    64  acketization-mod<br>
    00000210 (0x1e9ccc0): 65 3d 31 3b 70 72 6f 66 69 6c 65 2d 6c 65 76
    65  e=1;profile-leve<br>
    00000220 (0x1e9ccd0): 6c 2d 69 64 3d 34 32 65 30 32 61 3b 73 70 72
    6f  l-id=42e02a;spro<br>
    00000230 (0x1e9cce0): 70 2d 70 61 72 61 6d 65 74 65 72 2d 73 65 74
    73  p-parameter-sets<br>
    00000240 (0x1e9ccf0): 3d 5a 30 4c 67 4b 74 6f 42 6b 41 6c 78 5a 2c
    61  =Z0LgKtoBkAlxZ,a<br>
    00000250 (0x1e9cd00): 4d 34 77 70 49 41 3d 0d 0a 61 3d 66 72 61 6d
    65  M4wpIA=..a=frame<br>
    00000260 (0x1e9cd10): 73 69 7a 65 3a 39 36 20 31 36 30 30 2d 31 32
    30  size:96 1600-120<br>
    00000270 (0x1e9cd20): 30 0d 0a 61 3d 63 6c 69 70 72 65 63 74 3a 30
    2c  0..a=cliprect:0,<br>
    00000280 (0x1e9cd30): 30 2c 31 32 30 30 2c 31 36 30 30 0d 0a 61 3d
    66  0,1200,1600..a=f<br>
    00000290 (0x1e9cd40): 72 61 6d 65 72 61 74 65 3a 31 35 0d 0a 6d 3d
    61  ramerate:15..m=a<br>
    000002a0 (0x1e9cd50): 75 64 69 6f 20 30 20 52 54 50 2f 41 56 50 20
    38  udio 0 RTP/AVP 8<br>
    000002b0 (0x1e9cd60): 0d 0a 61 3d 72 74 70 6d 61 70 3a 38 20 50 43
    4d  ..a=rtpmap:8 PCM<br>
    000002c0 (0x1e9cd70): 41 2f 38 30 30 30 0d 0a 61 3d 63 6f 6e 74 72
    6f  A/8000..a=contro<br>
    000002d0 (0x1e9cd80): 6c 3a 74 72 61 63 6b 49 44 3d 32 0d 0a
    00        l:trackID=2...<br>
    sdp packet 0x1da9580:<br>
     version:       '0'<br>
     origin:<br>
      username:     '-'<br>
      sess_id:      '1370138375729617'<br>
      sess_version: '1'<br>
      nettype:      'IN'<br>
      addrtype:     'IP4'<br>
      addr:         '192.168.0.253'<br>
     session_name:  'H.264 Program Stream, streamed by the LIVE555 Media
    Server'<br>
     information:   'ch0_0.h264'<br>
     uri:           '(NULL)'<br>
     connection:<br>
      nettype:      '(NULL)'<br>
      addrtype:     '(NULL)'<br>
      address:      '(NULL)'<br>
      ttl:          '0'<br>
      addr_number:  '0'<br>
     key:<br>
      type:         '(NULL)'<br>
      data:         '(NULL)'<br>
     attributes:<br>
      attribute 'DevVer' : 'pusher2'<br>
      attribute 'GroupName' : 'IPCAM'<br>
      attribute 'NickName' : 'CIF'<br>
      attribute 'CfgSection' : 'PROG_CHN0'<br>
      attribute 'tool' : 'LIVE555 Streaming Media v2011.08.13'<br>
      attribute 'type' : 'broadcast'<br>
      attribute 'control' : '*'<br>
      attribute 'range' : 'npt=0-'<br>
      attribute 'x-qt-text-nam' : 'H.264 Program Stream, streamed by the
    LIVE555 Media Server'<br>
      attribute 'x-qt-text-inf' : 'ch0_0.h264'<br>
     medias:<br>
      media 0:<br>
       media:       'video'<br>
       port:        '0'<br>
       num_ports:   '0'<br>
       proto:       'RTP/AVP'<br>
       formats:<br>
        format  '96'<br>
       information: '(NULL)'<br>
       connections:<br>
        nettype:      'IN'<br>
        addrtype:     'IP4'<br>
        address:      '0.0.0.0'<br>
        ttl:          '0'<br>
        addr_number:  '0'<br>
       bandwidths:<br>
        type:         'AS'<br>
        bandwidth:    '4000'<br>
       key:<br>
        type:       '(NULL)'<br>
        data:       '(NULL)'<br>
       attributes:<br>
        attribute 'rtpmap' : '96 H264/90000'<br>
        attribute 'control' : 'trackID=1'<br>
        attribute 'fmtp' : '96
packetization-mode=1;profile-level-id=42e02a;sprop-parameter-sets=Z0LgKtoBkAlxZ,aM4wpIA='<br>
        attribute 'framesize' : '96 1600-1200'<br>
        attribute 'cliprect' : '0,0,1200,1600'<br>
        attribute 'framerate' : '15'<br>
      media 1:<br>
       media:       'audio'<br>
       port:        '0'<br>
       num_ports:   '0'<br>
       proto:       'RTP/AVP'<br>
       formats:<br>
        format  '8'<br>
       information: '(NULL)'<br>
       key:<br>
        type:       '(NULL)'<br>
        data:       '(NULL)'<br>
       attributes:<br>
        attribute 'rtpmap' : '8 PCMA/8000'<br>
        attribute 'control' : 'trackID=2'<br>
    RTSP request message 0x7fb1b2383780<br>
     request line:<br>
       method: 'SETUP'<br>
       uri:    'rtsp://192.168.0.253/ch0_0.h264/trackID=1'<br>
       version: '1.0'<br>
     headers:<br>
       key: 'Transport', value:
    'RTP/AVP;unicast;client_port=40554-40555'<br>
     body:<br>
    RTSP response message 0x7fb1b23837e0<br>
     status line:<br>
       code:   '200'<br>
       reason: 'OK'<br>
       version: '1.0'<br>
     headers:<br>
       key: 'CSeq', value: '3'<br>
       key: 'Date', value: 'Sun, Jun 02 2013 01:59:35 GMT'<br>
       key: 'Transport', value:
'RTP/AVP;unicast;destination=192.168.0.116;source=192.168.0.253;client_port=40554-40555;server_port=7058-7059;ssrc=b80fb887'<br>
       key: 'Session', value: '74E5772B'<br>
     body: length 0<br>
    RTSP request message 0x7fb1b2383780<br>
     request line:<br>
       method: 'SETUP'<br>
       uri:    'rtsp://192.168.0.253/ch0_0.h264/trackID=2'<br>
       version: '1.0'<br>
     headers:<br>
       key: 'Transport', value:
    'RTP/AVP;unicast;client_port=54238-54239'<br>
     body:<br>
    RTSP response message 0x7fb1b23837e0<br>
     status line:<br>
       code:   '200'<br>
       reason: 'OK'<br>
       version: '1.0'<br>
     headers:<br>
       key: 'CSeq', value: '4'<br>
       key: 'Date', value: 'Sun, Jun 02 2013 01:59:35 GMT'<br>
       key: 'Transport', value:
'RTP/AVP;unicast;destination=192.168.0.116;source=192.168.0.253;client_port=54238-54239;server_port=7060-7061;ssrc=b80fb887'<br>
       key: 'Session', value: '74E5772B'<br>
     body: length 0<br>
    RTSP request message 0x7fb1b2383b80<br>
     request line:<br>
       method: 'PLAY'<br>
       uri:    'rtsp://192.168.0.253/ch0_0.h264'<br>
       version: '1.0'<br>
     headers:<br>
       key: 'Range', value: 'npt=0-'<br>
     body:<br>
    RTSP response message 0x7fb1b2383be0<br>
     status line:<br>
       code:   '200'<br>
       reason: 'OK'<br>
       version: '1.0'<br>
     headers:<br>
       key: 'CSeq', value: '5'<br>
       key: 'Date', value: 'Sun, Jun 02 2013 01:59:35 GMT'<br>
       key: 'Range', value: 'npt=0.000-'<br>
       key: 'Session', value: '74E5772B'<br>
       key: 'RTP-Info', value:
    'url=trackID=1;seq=56977;rtptime=78539308'<br>
       key: 'RTP-Info', value:
    'url=trackID=2;seq=54234;rtptime=2166059714'<br>
     body: length 0<br>
    <b>ERROR: from element
      /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc0:
      Internal data flow error.</b><br>
    Additional debug info:<br>
    gstbasesrc.c(2812): gst_base_src_loop ():
    /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc0:<br>
    streaming task paused, reason not-linked (-1)<br>
    Execution ended after 199848747 ns.<br>
    Setting pipeline to PAUSED ...<br>
    Setting pipeline to READY ...<br>
    RTSP request message 0x7fb1b2383b80<br>
     request line:<br>
       method: 'PAUSE'<br>
       uri:    'rtsp://192.168.0.253/ch0_0.h264'<br>
       version: '1.0'<br>
     headers:<br>
     body:<br>
    Setting pipeline to NULL ...<br>
    Freeing pipeline ...<br>
    root@testingVM:~#<br>
    <br>
    <br>
    <blockquote type="cite">
      <pre style="white-space: pre-wrap; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">I tried with last version 1.0.7 by sources on a new installation of 
debian 7.0 .
The results is absolutely the same..

<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">root at testingVM</a>:~/code# gst-launch-1.0 rtspsrc 
location=<a href="rtsp://192.168.0.253/ch0_0.h264">rtsp://192.168.0.253/ch0_0.h264</a> ! decodebin ! v4l2sink 
device=/dev/video0
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element 
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc3: Internal 
data flow error.
Additional debug info:
gstbasesrc.c(2812): gst_base_src_loop (): 
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc3:
streaming task paused, reason not-linked (-1)
Execution ended after 1246241464 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">root at testingVM</a>:~/code#

Help please..



Il 31/05/2013 09.00, Fabio Cecamore ha scritto:
><i> Hello all,
</i>><i> i'm new of GStreamer and i'm getting a lot of troubles :)
</i>><i>
</i>><i> I'm trying to stream a RTCP via loopback (/dev/video0) for use a IP 
</i>><i> CAM with a surveillance software (Motion).
</i>><i>
</i>><i> I'm using latest v4l2loopback on a Debian with gstreamer-0.10 .
</i>><i>
</i>><i> This is the problems:
</i>><i> sometimes when i launch with this command:
</i>><i> gst-launch rtspsrc location=<a href="rtsp://192.168.0.253/ch0_0.h264">rtsp://192.168.0.253/ch0_0.h264</a> ! 
</i>><i> decodebin ! v4l2sink device=/dev/video0
</i>><i>
</i>><i> it start with a warning, but work:
</i>><i> [begin]
</i>><i> Impostazione della pipeline a PAUSED ...
</i>><i> La pipeline è viva e non necessita il PREROLL ...
</i>><i> Impostazione della pipeline a PLAYING ...
</i>><i> New clock: GstSystemClock
</i>><i>
</i>><i> ** (gst-launch-0.10:1400): CRITICAL **: 
</i>><i> gst_v4l2sink_sync_overlay_fields: assertion `v4l2_ioctl (fd, 
</i>><i> VIDIOC_G_FMT, &format) >= 0' failed
</i>><i> [end]
</i>><i> And I've a good stream.
</i>><i>
</i>><i>
</i>><i> But sometimes it didn't with this error:
</i>><i> [begin]
</i>><i> Impostazione della pipeline a PAUSED ...
</i>><i> La pipeline è viva e non necessita il PREROLL ...
</i>><i> Impostazione della pipeline a PLAYING ...
</i>><i> New clock: GstSystemClock
</i>><i> ERRORE: dall'elemento 
</i>><i> /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc3: Errore 
</i>><i> interno nel flusso di dati.
</i>><i> Informazioni di debug aggiuntive:
</i>><i> gstbasesrc.c(2550): gst_base_src_loop (): 
</i>><i> /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc3:
</i>><i> streaming task paused, reason not-linked (-1)
</i>><i> Execution ended after 159787077 ns.
</i>><i> Impostazione della pipeline a PAUSED ...
</i>><i> Impostazione della pipeline a READY ...
</i>><i> Impostazione della pipeline a NULL ...
</i>><i> Caught SIGSEGV accessing address 0x28
</i>><i> Spinning.  Please run 'gdb gst-launch 1366' to continue debugging, 
</i>><i> Ctrl-C to quit, or Ctrl-\ to dump core.
</i>><i> [end]
</i>><i>
</i>><i> The command is absolutly the same all time.
</i>><i> Any help is appreciated.
</i>><i>
</i>><i> Thank you</i></pre>
    </blockquote>
  </body>
</html>