<div dir="ltr">It is likely buffering the input. I use 0.10 and many of the property names have changed, but in 0.10 the rtspsrc element has a property called 'latency'. Try setting that to some small value. Start at maybe 500 and see what happens. You can also execute gst-inspect rtspsrc and see what the properties are and their default values.<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jul 25, 2014 at 11:21 AM, lestoilfante <span dir="ltr"><<a href="mailto:lestoilfante@gmail.com" target="_blank">lestoilfante@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>This is rtspsrc debug output in udp mode, any hint?<br></div><div><br></div><div>RTSP request message 0xb6e59f74</div>
<div> request line:</div><div> method: 'OPTIONS'</div><div> uri: 'rtsp://<a href="http://192.168.100.67/axis-media/media.amp?videocodec=h264&resolution=640x480&fps=10&compression=30&textstring=%s_%f" target="_blank">192.168.100.67/axis-media/media.amp?videocodec=h264&resolution=640x480&fps=10&compression=30&textstring=%s_%f</a>'</div>
<div> version: '1.0'</div><div> headers:</div><div> key: 'User-Agent', value: 'RealMedia Player Version 6.0.9.1235 (linux-2.0-libc6-i386-gcc2.95)'</div><div> key: 'ClientChallenge', value: '9e26d33f2984236010ef6253fb1887f7'</div>
<div> key: 'CompanyID', value: 'KnKV4M4I/B2FjJ1TToLycw=='</div><div> key: 'GUID', value: '00000000-0000-0000-0000-000000000000'</div><div> key: 'RegionData', value: '0'</div>
<div> key: 'PlayerStarttime', value: '[28/03/2003:22:50:23 00:00]'</div><div> key: 'ClientID', value: 'Linux_2.4_6.0.9.1235_play32_RN01_EN_586'</div><div> body:</div><div>RTSP response message 0xb6e59f48</div>
<div> status line:</div><div> code: '200'</div><div> reason: 'OK'</div><div> version: '1.0'</div><div> headers:</div><div> key: 'CSeq', value: '1'</div><div> key: 'Public', value: 'DESCRIBE'</div>
<div> key: 'Public', value: 'GET_PARAMETER'</div><div> key: 'Public', value: 'PAUSE'</div><div> key: 'Public', value: 'PLAY'</div><div> key: 'Public', value: 'SETUP'</div>
<div> key: 'Public', value: 'SET_PARAMETER'</div><div> key: 'Public', value: 'TEARDOWN'</div><div> key: 'Date', value: 'Fri, 25 Jul 2014 17:09:17 GMT'</div><div> body: length 0</div>
<div>RTSP request message 0xb6e59f74</div><div> request line:</div><div> method: 'DESCRIBE'</div><div> uri: 'rtsp://<a href="http://192.168.100.67/axis-media/media.amp?videocodec=h264&resolution=640x480&fps=10&compression=30&textstring=%s_%f" target="_blank">192.168.100.67/axis-media/media.amp?videocodec=h264&resolution=640x480&fps=10&compression=30&textstring=%s_%f</a>'</div>
<div> version: '1.0'</div><div> headers:</div><div> key: 'Accept', value: 'application/sdp'</div><div> body:</div><div>RTSP response message 0xb6e59f48</div><div> status line:</div><div> code: '401'</div>
<div> reason: 'Unauthorized'</div><div> version: '1.0'</div><div> headers:</div><div> key: 'CSeq', value: '2'</div><div> key: 'WWW-Authenticate', value: 'Digest realm="AXIS_00408CC35837", nonce="0001c15dY401387981d48c7dcc1818663fad24197030fb", stale=FALSE'</div>
<div> key: 'WWW-Authenticate', value: 'Basic realm="AXIS_00408CC35837"'</div><div> key: 'Date', value: 'Fri, 25 Jul 2014 17:09:17 GMT'</div><div> body: length 0</div><div>RTSP request message 0xb6e59f74</div>
<div> request line:</div><div> method: 'DESCRIBE'</div><div> uri: 'rtsp://<a href="http://192.168.100.67/axis-media/media.amp?videocodec=h264&resolution=640x480&fps=10&compression=30&textstring=%s_%f" target="_blank">192.168.100.67/axis-media/media.amp?videocodec=h264&resolution=640x480&fps=10&compression=30&textstring=%s_%f</a>'</div>
<div> version: '1.0'</div><div> headers:</div><div> key: 'Accept', value: 'application/sdp'</div><div> key: 'Date', value: 'Mon, 28 Apr 2014 10:20:31 GMT'</div><div> body:</div>
<div>RTSP response message 0xb6e59f48</div><div> status line:</div><div> code: '200'</div><div> reason: 'OK'</div><div> version: '1.0'</div><div> headers:</div><div> key: 'CSeq', value: '3'</div>
<div> key: 'Content-Type', value: 'application/sdp'</div><div> key: 'Content-Base', value: 'rtsp://<a href="http://192.168.100.67/axis-media/media.amp/" target="_blank">192.168.100.67/axis-media/media.amp/</a>'</div>
<div> key: 'Date', value: 'Fri, 25 Jul 2014 17:09:17 GMT'</div><div> key: 'Content-Length', value: '707'</div><div> body: length 708</div><div>00000000 (0x819fc60): 76 3d 30 0d 0a 6f 3d 2d 20 31 34 30 36 33 30 38 v=0..o=- 1406308</div>
<div>00000010 (0x819fc70): 31 35 37 34 31 38 39 31 30 20 31 34 30 36 33 30 157418910 140630</div><div>00000020 (0x819fc80): 38 31 35 37 34 31 38 39 31 30 20 49 4e 20 49 50 8157418910 IN IP</div><div>00000030 (0x819fc90): 34 20 31 39 32 2e 31 36 38 2e 31 30 30 2e 36 37 4 192.168.100.67</div>
<div>00000040 (0x819fca0): 0d 0a 73 3d 4d 65 64 69 61 20 50 72 65 73 65 6e ..s=Media Presen</div><div>00000050 (0x819fcb0): 74 61 74 69 6f 6e 0d 0a 65 3d 4e 4f 4e 45 0d 0a tation..e=NONE..</div><div>00000060 (0x819fcc0): 62 3d 41 53 3a 35 30 30 30 30 0d 0a 74 3d 30 20 b=AS:50000..t=0 </div>
<div>00000070 (0x819fcd0): 30 0d 0a 61 3d 63 6f 6e 74 72 6f 6c 3a 72 74 73 0..a=control:rts</div><div>00000080 (0x819fce0): 70 3a 2f 2f 31 39 32 2e 31 36 38 2e 31 30 30 2e p://<a href="http://192.168.100." target="_blank">192.168.100.</a></div>
<div>00000090 (0x819fcf0): 36 37 2f 61 78 69 73 2d 6d 65 64 69 61 2f 6d 65 67/axis-media/me</div><div>000000a0 (0x819fd00): 64 69 61 2e 61 6d 70 3f 76 69 64 65 6f 63 6f 64 dia.amp?videocod</div><div>000000b0 (0x819fd10): 65 63 3d 68 32 36 34 26 72 65 73 6f 6c 75 74 69 ec=h264&resoluti</div>
<div>000000c0 (0x819fd20): 6f 6e 3d 36 34 30 78 34 38 30 26 66 70 73 3d 31 on=640x480&fps=1</div><div>000000d0 (0x819fd30): 30 26 63 6f 6d 70 72 65 73 73 69 6f 6e 3d 33 30 0&compression=30</div><div>000000e0 (0x819fd40): 26 74 65 78 74 73 74 72 69 6e 67 3d 25 73 5f 25 &textstring=%s_%</div>
<div>000000f0 (0x819fd50): 66 0d 0a 61 3d 72 61 6e 67 65 3a 6e 70 74 3d 30 f..a=range:npt=0</div><div>00000100 (0x819fd60): 2e 30 30 30 30 30 30 2d 0d 0a 6d 3d 76 69 64 65 .000000-..m=vide</div><div>00000110 (0x819fd70): 6f 20 30 20 52 54 50 2f 41 56 50 20 39 36 0d 0a o 0 RTP/AVP 96..</div>
<div>00000120 (0x819fd80): 63 3d 49 4e 20 49 50 34 20 30 2e 30 2e 30 2e 30 c=IN IP4 0.0.0.0</div><div>00000130 (0x819fd90): 0d 0a 62 3d 41 53 3a 35 30 30 30 30 0d 0a 61 3d ..b=AS:50000..a=</div><div>00000140 (0x819fda0): 66 72 61 6d 65 72 61 74 65 3a 31 30 2e 30 0d 0a framerate:10.0..</div>
<div>00000150 (0x819fdb0): 61 3d 74 72 61 6e 73 66 6f 72 6d 3a 2d 31 2e 30 a=transform:-1.0</div><div>00000160 (0x819fdc0): 30 30 30 30 30 2c 30 2e 30 30 30 30 30 30 2c 30 00000,0.000000,0</div><div>00000170 (0x819fdd0): 2e 30 30 30 30 30 30 3b 30 2e 30 30 30 30 30 30 .000000;0.000000</div>
<div>00000180 (0x819fde0): 2c 2d 31 2e 30 30 30 30 30 30 2c 30 2e 30 30 30 ,-1.000000,0.000</div><div>00000190 (0x819fdf0): 30 30 30 3b 30 2e 30 30 30 30 30 30 2c 30 2e 30 000;0.000000,0.0</div><div>000001a0 (0x819fe00): 30 30 30 30 30 2c 31 2e 30 30 30 30 30 30 0d 0a 00000,1.000000..</div>
<div>000001b0 (0x819fe10): 61 3d 63 6f 6e 74 72 6f 6c 3a 72 74 73 70 3a 2f a=control:rtsp:/</div><div>000001c0 (0x819fe20): 2f 31 39 32 2e 31 36 38 2e 31 30 30 2e 36 37 2f /<a href="http://192.168.100.67/" target="_blank">192.168.100.67/</a></div>
<div>000001d0 (0x819fe30): 61 78 69 73 2d 6d 65 64 69 61 2f 6d 65 64 69 61 axis-media/media</div><div>000001e0 (0x819fe40): 2e 61 6d 70 2f 74 72 61 63 6b 49 44 3d 31 3f 76 .amp/trackID=1?v</div><div>000001f0 (0x819fe50): 69 64 65 6f 63 6f 64 65 63 3d 68 32 36 34 26 72 ideocodec=h264&r</div>
<div>00000200 (0x819fe60): 65 73 6f 6c 75 74 69 6f 6e 3d 36 34 30 78 34 38 esolution=640x48</div><div>00000210 (0x819fe70): 30 26 66 70 73 3d 31 30 26 63 6f 6d 70 72 65 73 0&fps=10&compres</div><div>00000220 (0x819fe80): 73 69 6f 6e 3d 33 30 26 74 65 78 74 73 74 72 69 sion=30&textstri</div>
<div>00000230 (0x819fe90): 6e 67 3d 25 73 5f 25 66 0d 0a 61 3d 72 74 70 6d ng=%s_%f..a=rtpm</div><div>00000240 (0x819fea0): 61 70 3a 39 36 20 48 32 36 34 2f 39 30 30 30 30 ap:96 H264/90000</div><div>00000250 (0x819feb0): 0d 0a 61 3d 66 6d 74 70 3a 39 36 20 70 61 63 6b ..a=fmtp:96 pack</div>
<div>00000260 (0x819fec0): 65 74 69 7a 61 74 69 6f 6e 2d 6d 6f 64 65 3d 31 etization-mode=1</div><div>00000270 (0x819fed0): 3b 20 70 72 6f 66 69 6c 65 2d 6c 65 76 65 6c 2d ; profile-level-</div><div>00000280 (0x819fee0): 69 64 3d 34 44 30 30 32 39 3b 20 73 70 72 6f 70 id=4D0029; sprop</div>
<div>00000290 (0x819fef0): 2d 70 61 72 61 6d 65 74 65 72 2d 73 65 74 73 3d -parameter-sets=</div><div>000002a0 (0x819ff00): 5a 30 30 41 4b 65 4b 51 46 41 65 32 41 74 77 45 Z00AKeKQFAe2AtwE</div><div>000002b0 (0x819ff10): 42 41 61 51 65 4a 45 56 2c 61 4f 34 38 67 41 3d BAaQeJEV,aO48gA=</div>
<div>000002c0 (0x819ff20): 3d 0d 0a 00 =... </div><div>sdp packet 0x819f7b8:</div><div> version: '0'</div><div> origin:</div><div> username: '-'</div>
<div> sess_id: '1406308157418910'</div><div> sess_version: '1406308157418910'</div><div> nettype: 'IN'</div><div> addrtype: 'IP4'</div><div> addr: '192.168.100.67'</div>
<div> session_name: 'Media Presentation'</div><div> information: '(NULL)'</div><div> uri: '(NULL)'</div><div> emails:</div><div> email 'NONE'</div><div> connection:</div><div>
nettype: '(NULL)'</div><div> addrtype: '(NULL)'</div><div> address: '(NULL)'</div><div> ttl: '0'</div><div> addr_number: '0'</div><div> bandwidths:</div>
<div> type: 'AS'</div><div> bandwidth: '50000'</div><div> key:</div><div> type: '(NULL)'</div><div> data: '(NULL)'</div><div> attributes:</div><div> attribute 'control' : 'rtsp://<a href="http://192.168.100.67/axis-media/media.amp?videocodec=h264&resolution=640x480&fps=10&compression=30&textstring=%s_%f" target="_blank">192.168.100.67/axis-media/media.amp?videocodec=h264&resolution=640x480&fps=10&compression=30&textstring=%s_%f</a>'</div>
<div> attribute 'range' : 'npt=0.000000-'</div><div> medias:</div><div> media 0:</div><div> media: 'video'</div><div> port: '0'</div><div> num_ports: '0'</div>
<div> proto: 'RTP/AVP'</div><div> formats:</div><div> format '96'</div><div> information: '(NULL)'</div><div> connections:</div><div> nettype: 'IN'</div><div> addrtype: 'IP4'</div>
<div> address: '0.0.0.0'</div><div> ttl: '0'</div><div> addr_number: '0'</div><div> bandwidths:</div><div> type: 'AS'</div><div> bandwidth: '50000'</div>
<div> key:</div><div> type: '(NULL)'</div><div> data: '(NULL)'</div><div> attributes:</div><div> attribute 'framerate' : '10.0'</div><div> attribute 'transform' : '-1.000000,0.000000,0.000000;0.000000,-1.000000,0.000000;0.000000,0.000000,1.000000'</div>
<div> attribute 'control' : 'rtsp://<a href="http://192.168.100.67/axis-media/media.amp/trackID=1?videocodec=h264&resolution=640x480&fps=10&compression=30&textstring=%s_%f" target="_blank">192.168.100.67/axis-media/media.amp/trackID=1?videocodec=h264&resolution=640x480&fps=10&compression=30&textstring=%s_%f</a>'</div>
<div> attribute 'rtpmap' : '96 H264/90000'</div><div> attribute 'fmtp' : '96 packetization-mode=1; profile-level-id=4D0029; sprop-parameter-sets=Z00AKeKQFAe2AtwEBAaQeJEV,aO48gA=='</div>
<div>RTSP request message 0xb6e59dac</div><div> request line:</div><div> method: 'SETUP'</div><div> uri: 'rtsp://<a href="http://192.168.100.67/axis-media/media.amp/trackID=1?videocodec=h264&resolution=640x480&fps=10&compression=30&textstring=%s_%f" target="_blank">192.168.100.67/axis-media/media.amp/trackID=1?videocodec=h264&resolution=640x480&fps=10&compression=30&textstring=%s_%f</a>'</div>
<div> version: '1.0'</div><div> headers:</div><div> key: 'Transport', value: 'RTP/AVP;unicast;client_port=54556-54557'</div><div> body:</div><div>RTSP response message 0xb6e59d80</div><div> status line:</div>
<div> code: '200'</div><div> reason: 'OK'</div><div> version: '1.0'</div><div> headers:</div><div> key: 'CSeq', value: '4'</div><div> key: 'Session', value: '6866F3BA; timeout=60'</div>
<div> key: 'Transport', value: 'RTP/AVP;unicast;client_port=54556-54557;server_port=<a href="tel:50034-50035" value="+15003450035" target="_blank">50034-50035</a>;ssrc=3FCD015B;mode="PLAY"'</div>
<div> key: 'Date', value: 'Fri, 25 Jul 2014 17:09:17 GMT'</div>
<div> body: length 0</div><div><br></div><div><br></div><div><br></div><div><br></div><div>######################################################################################</div><div><br></div><div>10 to 20 seconds waiting</div>
<div><br></div><div>######################################################################################</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div>RTSP request message 0xb6e5a0f8</div>
<div> request line:</div><div> method: 'PLAY'</div><div> uri: 'rtsp://<a href="http://192.168.100.67/axis-media/media.amp?videocodec=h264&resolution=640x480&fps=10&compression=30&textstring=%s_%f" target="_blank">192.168.100.67/axis-media/media.amp?videocodec=h264&resolution=640x480&fps=10&compression=30&textstring=%s_%f</a>'</div>
<div> version: '1.0'</div><div> headers:</div><div> key: 'Range', value: 'npt=0-'</div><div> body:</div><div>RTSP response message 0xb6e5a0cc</div><div> status line:</div><div> code: '200'</div>
<div> reason: 'OK'</div><div> version: '1.0'</div><div> headers:</div><div> key: 'CSeq', value: '5'</div><div> key: 'Session', value: '6866F3BA'</div><div> key: 'Range', value: 'npt=0-'</div>
<div> key: 'RTP-Info', value: 'url=rtsp://<a href="http://192.168.100.67/axis-media/media.amp/trackID=1?videocodec=h264&resolution=640x480&fps=10&compression=30&textstring=%s_%f;seq=33048;rtptime=2418073722" target="_blank">192.168.100.67/axis-media/media.amp/trackID=1?videocodec=h264&resolution=640x480&fps=10&compression=30&textstring=%s_%f;seq=33048;rtptime=2418073722</a>'</div>
<div> key: 'Date', value: 'Fri, 25 Jul 2014 17:09:37 GMT'</div><div> body: length 0</div><div> </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 23, 2014 at 2:13 PM, lestoilfante <span dir="ltr"><<a href="mailto:lestoilfante@gmail.com" target="_blank">lestoilfante@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>I'm playing with this pipeline:</div><div><br></div><div><div>gst-launch-1.0 -ve rtspsrc location='rtsp://<a href="mailto:root%3Aroot@192.168.100.67" target="_blank">root:root@192.168.100.67</a>' ! rtph264depay ! h264parse ! queue ! mp4mux faststart=true ! filesink location=test.mp4</div>
</div><div><br></div><div>In this situation pipeline wait about 10 seconds to reach Playing state but mp4 file is seekable and report right framerate(about 10fps). If I try to set rtspsrc protcolos=0x00000004 pipeline reach playing state almost immediately but mp4 file isn't seekable, no duration written, and report 10000fps !</div>
<div><br></div><div>Is it expected or I'm missing something?</div></div>
</blockquote></div><br></div>
<br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div>