[gstreamer-bugs] [Bug 574270] [rtspsrc] Range request is wrong (should say: npt=now-)

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Mar 5 08:00:01 PST 2009


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=574270

  GStreamer | gst-plugins-good | Ver: 0.10.22




------- Comment #2 from Julien Isorce  2009-03-05 16:00 UTC -------
ok I have updated my base/rtsp 0.10.22 to head git, and good/rtsp from 0.10.14
to head git.

This is what I am getting now:

C:\Documents and Settings\Administrator\Desktop>gst-launch rtspsrc
location="rtsp://pvs11p.cvf.fr:554/t1/live/Tf1_EDGE?f
g=0&ud=296338285-20090305163955-5e4f3084-9806-4181-8301-86a77c712ce1&dt=20090305T155455.343Z&ds=4b2e8ca3f7447be70057a15f
7e6972e17f39ec98" debug=1 ! rtpmp4vdepay ! ffdec_mpeg4 ! ffmpegcolorspace !
directdrawsink
Setting pipeline to PAUSED ...
RTSP request message 0022FA60
 request line:
   method: 'OPTIONS'
   uri:   
'rtsp://pvs11p.cvf.fr:554/t1/live/Tf1_EDGE?fg=0&ud=296338285-20090305163955-5e4f3084-9806-4181-8301-86a77c712
ce1&dt=20090305T155455.343Z&ds=4b2e8ca3f7447be70057a15f7e6972e17f39ec98'
   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 0022FA40
 status line:
   code:   '200'
   reason: 'OK'
   version: '1.0'
 headers:
   key: 'CSeq', value: '0'
   key: 'Date', value: 'Thu, 05 Mar 2009 15:46:34 GMT'
   key: 'Server', value: 'PVSS/4.1_070425 (20:02:12 Apr 25 2007)'
   key: 'Public', value: 'DESCRIBE, SETUP, TEARDOWN, PLAY, OPTIONS'
 body: length 0
RTSP request message 0022FA60
 request line:
   method: 'DESCRIBE'
   uri:   
'rtsp://pvs11p.cvf.fr:554/t1/live/Tf1_EDGE?fg=0&ud=296338285-20090305163955-5e4f3084-9806-4181-8301-86a77c712
ce1&dt=20090305T155455.343Z&ds=4b2e8ca3f7447be70057a15f7e6972e17f39ec98'
   version: '1.0'
 headers:
   key: 'Accept', value: 'application/sdp'
   key: 'Bandwidth', value: '10485800'
   key: 'GUID', value: '00000000-0000-0000-0000-000000000000'
   key: 'RegionData', value: '0'
   key: 'ClientID', value: 'Linux_2.4_6.0.9.1235_play32_RN01_EN_586'
   key: 'SupportsMaximumASMBandwidth', value: '1'
   key: 'Language', value: 'en-US'
 body:
RTSP response message 0022FA40
 status line:
   code:   '200'
   reason: 'OK'
   version: '1.0'
 headers:
   key: 'CSeq', value: '1'
   key: 'Date', value: 'Thu, 05 Mar 2009 15:46:35 GMT'
   key: 'Content-Type', value: 'application/sdp'
   key: 'Content-Base', value: 'rtsp://pvs11p.cvf.fr:554/t1/live/Tf1_EDGE/'
   key: 'Content-Length', value: '909'
   key: 'Server', value: 'PVSS/4.1_070425 (20:02:12 Apr 25 2007)'
 body: length 910
00000000 (00D35CA8): 76 3d 30 0d 0a 6f 3d 2d 20 33 34 34 35 32 35 35  v=0..o=-
3445255
00000010 (00D35CB8): 35 34 32 20 31 32 30 37 36 30 37 33 36 35 20 49  542
1207607365 I
00000020 (00D35CC8): 4e 20 49 50 34 20 31 30 2e 33 2e 31 36 31 2e 38  N IP4
10.3.161.8
00000030 (00D35CD8): 31 0d 0a 73 3d 54 46 31 5f 45 44 0d 0a 65 3d 73 
1..s=TF1_ED..e=s
00000040 (00D35CE8): 75 70 70 6f 72 74 40 6c 6f 63 61 6c 68 6f 73 74 
upport at localhost
00000050 (00D35CF8): 0d 0a 63 3d 49 4e 20 49 50 34 20 30 2e 30 2e 30  ..c=IN
IP4 0.0.0
00000060 (00D35D08): 2e 30 0d 0a 74 3d 30 20 30 0d 0a 61 3d 72 61 6e  .0..t=0
0..a=ran
00000070 (00D35D18): 67 65 3a 6e 70 74 3d 6e 6f 77 2d 0d 0a 61 3d 58 
ge:npt=now-..a=X
00000080 (00D35D28): 2d 77 6d 66 76 65 72 73 69 6f 6e 3a 31 2e 30 0d 
-wmfversion:1.0.
00000090 (00D35D38): 0a 61 3d 63 6f 6e 74 72 6f 6c 3a 2a 0d 0a 6d 3d 
.a=control:*..m=
000000a0 (00D35D48): 76 69 64 65 6f 20 30 20 52 54 50 2f 41 56 50 20  video 0
RTP/AVP
000000b0 (00D35D58): 39 36 0d 0a 62 3d 41 53 3a 33 37 0d 0a 62 3d 52 
96..b=AS:37..b=R
000000c0 (00D35D68): 52 3a 31 30 30 30 0d 0a 62 3d 52 53 3a 31 30 30 
R:1000..b=RS:100
000000d0 (00D35D78): 30 0d 0a 61 3d 63 6f 6e 74 72 6f 6c 3a 74 72 61 
0..a=control:tra
000000e0 (00D35D88): 63 6b 49 44 3d 33 3f 66 67 3d 30 26 75 64 3d 32 
ckID=3?fg=0&ud=2
000000f0 (00D35D98): 39 36 33 33 38 32 38 35 2d 32 30 30 39 30 33 30 
96338285-2009030
00000100 (00D35DA8): 35 31 36 33 39 35 35 2d 35 65 34 66 33 30 38 34 
5163955-5e4f3084
00000110 (00D35DB8): 2d 39 38 30 36 2d 34 31 38 31 2d 38 33 30 31 2d 
-9806-4181-8301-
00000120 (00D35DC8): 38 36 61 37 37 63 37 31 32 63 65 31 26 64 74 3d 
86a77c712ce1&dt=
00000130 (00D35DD8): 32 30 30 39 30 33 30 35 54 31 35 35 34 35 35 2e 
20090305T155455.
00000140 (00D35DE8): 33 34 33 5a 26 64 73 3d 34 62 32 65 38 63 61 33 
343Z&ds=4b2e8ca3
00000150 (00D35DF8): 66 37 34 34 37 62 65 37 30 30 35 37 61 31 35 66 
f7447be70057a15f
00000160 (00D35E08): 37 65 36 39 37 32 65 31 37 66 33 39 65 63 39 38 
7e6972e17f39ec98
00000170 (00D35E18): 0d 0a 61 3d 72 74 70 6d 61 70 3a 39 36 20 4d 50 
..a=rtpmap:96 MP
00000180 (00D35E28): 34 56 2d 45 53 2f 39 30 30 30 30 0d 0a 61 3d 63 
4V-ES/90000..a=c
00000190 (00D35E38): 6c 69 70 72 65 63 74 3a 30 2c 30 2c 31 34 34 2c 
liprect:0,0,144,
000001a0 (00D35E48): 31 37 36 0d 0a 61 3d 6d 70 65 67 34 2d 65 73 69 
176..a=mpeg4-esi
000001b0 (00D35E58): 64 3a 32 30 31 0d 0a 61 3d 78 2d 65 6e 76 69 76 
d:201..a=x-enviv
000001c0 (00D35E68): 69 6f 2d 76 65 72 69 64 3a 30 30 30 32 32 42 32 
io-verid:00022B2
000001d0 (00D35E78): 37 0d 0a 61 3d 66 6d 74 70 3a 39 36 20 70 72 6f 
7..a=fmtp:96 pro
000001e0 (00D35E88): 66 69 6c 65 2d 6c 65 76 65 6c 2d 69 64 3d 38 3b 
file-level-id=8;
000001f0 (00D35E98): 63 6f 6e 66 69 67 3d 30 30 30 30 30 31 62 30 30 
config=000001b00
00000200 (00D35EA8): 38 30 30 30 30 30 31 62 35 30 65 61 30 32 30 32 
8000001b50ea0202
00000210 (00D35EB8): 30 32 66 30 30 30 30 30 31 30 30 30 30 30 30 30 
02f0000010000000
00000220 (00D35EC8): 31 32 30 30 30 63 37 38 38 62 61 39 38 35 30 35 
12000c788ba98505
00000230 (00D35ED8): 38 34 31 32 31 34 36 33 66 0d 0a 61 3d 66 72 61 
84121463f..a=fra
00000240 (00D35EE8): 6d 65 72 61 74 65 3a 31 30 2e 30 0d 0a 6d 3d 61 
merate:10.0..m=a
00000250 (00D35EF8): 75 64 69 6f 20 30 20 52 54 50 2f 41 56 50 20 39  udio 0
RTP/AVP 9
00000260 (00D35F08): 37 0d 0a 62 3d 41 53 3a 39 0d 0a 62 3d 52 52 3a 
7..b=AS:9..b=RR:
00000270 (00D35F18): 31 30 30 30 0d 0a 62 3d 52 53 3a 31 30 30 30 0d 
1000..b=RS:1000.
00000280 (00D35F28): 0a 61 3d 63 6f 6e 74 72 6f 6c 3a 74 72 61 63 6b 
.a=control:track
00000290 (00D35F38): 49 44 3d 34 3f 66 67 3d 30 26 75 64 3d 32 39 36 
ID=4?fg=0&ud=296
000002a0 (00D35F48): 33 33 38 32 38 35 2d 32 30 30 39 30 33 30 35 31 
338285-200903051
000002b0 (00D35F58): 36 33 39 35 35 2d 35 65 34 66 33 30 38 34 2d 39 
63955-5e4f3084-9
000002c0 (00D35F68): 38 30 36 2d 34 31 38 31 2d 38 33 30 31 2d 38 36 
806-4181-8301-86
000002d0 (00D35F78): 61 37 37 63 37 31 32 63 65 31 26 64 74 3d 32 30 
a77c712ce1&dt=20
000002e0 (00D35F88): 30 39 30 33 30 35 54 31 35 35 34 35 35 2e 33 34 
090305T155455.34
000002f0 (00D35F98): 33 5a 26 64 73 3d 34 62 32 65 38 63 61 33 66 37 
3Z&ds=4b2e8ca3f7
00000300 (00D35FA8): 34 34 37 62 65 37 30 30 35 37 61 31 35 66 37 65 
447be70057a15f7e
00000310 (00D35FB8): 36 39 37 32 65 31 37 66 33 39 65 63 39 38 0d 0a 
6972e17f39ec98..
00000320 (00D35FC8): 61 3d 72 74 70 6d 61 70 3a 39 37 20 41 4d 52 2f 
a=rtpmap:97 AMR/
00000330 (00D35FD8): 38 30 30 30 0d 0a 61 3d 6d 70 65 67 34 2d 65 73 
8000..a=mpeg4-es
00000340 (00D35FE8): 69 64 3a 31 30 31 0d 0a 61 3d 78 2d 65 6e 76 69 
id:101..a=x-envi
00000350 (00D35FF8): 76 69 6f 2d 76 65 72 69 64 3a 30 30 30 32 32 42 
vio-verid:00022B
00000360 (00D36008): 32 37 0d 0a 61 3d 66 6d 74 70 3a 39 37 20 6f 63 
27..a=fmtp:97 oc
00000370 (00D36018): 74 65 74 2d 61 6c 69 67 6e 3d 31 0d 0a 61 3d 6d 
tet-align=1..a=m
00000380 (00D36028): 61 78 70 74 69 6d 65 3a 32 30 30 0d 0a 00       
axptime:200...
sdp packet 0022F9E0:
 version:       '0'
 origin:
  username:     '-'
  sess_id:      '3445255542'
  sess_version: '1207607365'
  nettype:      'IN'
  addrtype:     'IP4'
  addr:         '10.3.161.81'
 session_name:  'TF1_ED'
 information:   '(NULL)'
 uri:           '(NULL)'
 emails:
  email 'support at localhost'
 connection:
  nettype:      'IN'
  addrtype:     'IP4'
  address:      '0.0.0.0'
  ttl:          '0'
  addr_number:  '0'
 key:
  type:         '(NULL)'
  data:         '(NULL)'
 attributes:
  attribute 'range' : 'npt=now-'
  attribute 'X-wmfversion' : '1.0'
  attribute 'control' : '*'
 medias:
  media 0:
   media:       'video'
   port:        '0'
   num_ports:   '4294967295'
   proto:       'RTP/AVP'
   formats:
    format  '96'
   information: '(NULL)'
   bandwidths:
    type:         'AS'
    bandwidth:    '37'
    type:         'RR'
    bandwidth:    '1000'
    type:         'RS'
    bandwidth:    '1000'
   key:
    type:       '(NULL)'
    data:       '(NULL)'
   attributes:
    attribute 'control' :
'trackID=3?fg=0&ud=296338285-20090305163955-5e4f3084-9806-4181-8301-86a77c712ce1&dt=20090305T1
55455.343Z&ds=4b2e8ca3f7447be70057a15f7e6972e17f39ec98'
    attribute 'rtpmap' : '96 MP4V-ES/90000'
    attribute 'cliprect' : '0,0,144,176'
    attribute 'mpeg4-esid' : '201'
    attribute 'x-envivio-verid' : '00022B27'
    attribute 'fmtp' : '96
profile-level-id=8;config=000001b008000001b50ea020202f000001000000012000c788ba9850584121463f'

    attribute 'framerate' : '10.0'
  media 1:
   media:       'audio'
   port:        '0'
   num_ports:   '4294967295'
   proto:       'RTP/AVP'
   formats:
    format  '97'
   information: '(NULL)'
   bandwidths:
    type:         'AS'
    bandwidth:    '9'
    type:         'RR'
    bandwidth:    '1000'
    type:         'RS'
    bandwidth:    '1000'
   key:
    type:       '(NULL)'
    data:       '(NULL)'
   attributes:
    attribute 'control' :
'trackID=4?fg=0&ud=296338285-20090305163955-5e4f3084-9806-4181-8301-86a77c712ce1&dt=20090305T1
55455.343Z&ds=4b2e8ca3f7447be70057a15f7e6972e17f39ec98'
    attribute 'rtpmap' : '97 AMR/8000'
    attribute 'mpeg4-esid' : '101'
    attribute 'x-envivio-verid' : '00022B27'
    attribute 'fmtp' : '97 octet-align=1'
    attribute 'maxptime' : '200'
RTSP request message 0022F910
 request line:
   method: 'SETUP'
   uri:   
'rtsp://pvs11p.cvf.fr:554/t1/live/Tf1_EDGE/trackID=3?fg=0&ud=296338285-20090305163955-5e4f3084-9806-4181-8301
-86a77c712ce1&dt=20090305T155455.343Z&ds=4b2e8ca3f7447be70057a15f7e6972e17f39ec98'
   version: '1.0'
 headers:
   key: 'Transport', value: 'RTP/AVP/UDP;unicast;client_port=2890-2891'
 body:
RTSP response message 0022F8F0
 status line:
   code:   '200'
   reason: 'OK'
   version: '1.0'
 headers:
   key: 'CSeq', value: '2'
   key: 'Date', value: 'Thu, 05 Mar 2009 15:46:36 GMT'
   key: 'Session', value: '9ad0ac226055f520;timeout=60'
   key: 'Transport', value:
'RTP/AVP/UDP;unicast;client_port=2890-2891;server_port=3038-3039;ssrc=00c4286c'
   key: 'Server', value: 'PVSS/4.1_070425 (20:02:12 Apr 25 2007)'
 body: length 0
RTSP request message 0022F910
 request line:
   method: 'SETUP'
   uri:   
'rtsp://pvs11p.cvf.fr:554/t1/live/Tf1_EDGE/trackID=4?fg=0&ud=296338285-20090305163955-5e4f3084-9806-4181-8301
-86a77c712ce1&dt=20090305T155455.343Z&ds=4b2e8ca3f7447be70057a15f7e6972e17f39ec98'
   version: '1.0'
 headers:
   key: 'Transport', value: 'RTP/AVP/UDP;unicast;client_port=2892-2893'
 body:
RTSP response message 0022F8F0
 status line:
   code:   '200'
   reason: 'OK'
   version: '1.0'
 headers:
   key: 'CSeq', value: '3'
   key: 'Date', value: 'Thu, 05 Mar 2009 15:46:37 GMT'
   key: 'Session', value: '9ad0ac226055f520;timeout=60'
   key: 'Transport', value:
'RTP/AVP/UDP;unicast;client_port=2892-2893;server_port=3038-3039;ssrc=01c4286c'
   key: 'Server', value: 'PVSS/4.1_070425 (20:02:12 Apr 25 2007)'
 body: length 0
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
RTSP request message 0022FAA0
 request line:
   method: 'PLAY'
   uri:   
'rtsp://pvs11p.cvf.fr:554/t1/live/Tf1_EDGE?fg=0&ud=296338285-20090305163955-5e4f3084-9806-4181-8301-86a77c712
ce1&dt=20090305T155455.343Z&ds=4b2e8ca3f7447be70057a15f7e6972e17f39ec98'
   version: '1.0'
 headers:
   key: 'Range', value: 'npt=now-'
 body:
RTSP response message 0022FA80
 status line:
   code:   '200'
   reason: 'OK'
   version: '1.0'
 headers:
   key: 'CSeq', value: '4'
   key: 'Date', value: 'Thu, 05 Mar 2009 15:46:37 GMT'
   key: 'Session', value: '9ad0ac226055f520'
   key: 'Range', value: 'npt=now-'
   key: 'RTP-Info', value:
'url=rtsp://pvs11p.cvf.fr:554/t1/live/Tf1_EDGE/trackID=3?fg=0&ud=296338285-20090305163955-5e4
f3084-9806-4181-8301-86a77c712ce1&dt=20090305T155455.343Z&ds=4b2e8ca3f7447be70057a15f7e6972e17f39ec98;seq=62481;rtptime=
1679507520,'
 body: length 0
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 46875000 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
^C
C:\Documents and Settings\Administrator\Desktop>

---------------------

Range value seems to be correct.
Is it normal that the body length is 0 ?
Because the pipeline is still emitting an EOS just after being in playing
state.

---------------------

Note that if I am using playbin, video and audio are running but it's very
jerky, and I get some warning about bad synchronisation.
But the worst thing when I am using playbin is that the flow stop after 15
seconds due to a RE-buffering phase. 
I think the first buffering phase is just enough the play about 15 sec then it
needs a to bufferize again. Quicktime, and real player are also blocking in
this rebuffering phase.
Only, vlc on win32 and pvplayer (on embedded device) can pass it.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=574270.




More information about the Gstreamer-bugs mailing list