2008/10/10 Ross Finlayson <[EMAIL PROTECTED]>: > >> Perhaps I'm being dumb, but I thought that if openRTSP is trying to play >> the stream, it would be relatively simple to dump that stream to file. Or am >> I missing the point? > > "openRTSP" doesn't 'play' anything; it just downloads data.
Ah, OK. Where would it save the file? (Perhaps see the below.) > In the case of the "X-PN_REAL..." streams, it doesn't know how the data is > packed into RTP packets (i.e., what special headers etc. might be present > there), so it can't do anything intelligent with the stream. > > You can, however, give "openRTSP" the "-S 4" option, to tell it to download > all data that it receives (following the standard RTP header). See > <http://www.live555.com/openRTSP/#other-options>. If you do this, though, > it's very unlikely that you'll be able to do anything useful with the > received data. Doesn't mplayer stand a chance? In any case, I am still getting an error using the "-S 0" option: "Failed to setup "video/X-PN-REALVIDEO" subsession: SETUP: cannot handle response: RTSP/1.0 461 Unsupported transport" ?? (Details below). Sorry if this is simply related to propriatary vs. standard formats again. Thanks for your help, Dan openRTSP -S 0 -u me secret rtsp://meetstream.cshl.edu:554/Secure/INFOUK/1.rm Sending request: OPTIONS rtsp://meetstream.cshl.edu:554/Secure/INFOUK/1.rm RTSP/1.0 CSeq: 1 User-Agent: openRTSP (LIVE555 Streaming Media v2008.04.02) Received OPTIONS response: RTSP/1.0 200 OK CSeq: 1 Date: Fri, 10 Oct 2008 05:57:37 GMT Server: Helix Server Version 11.1.7.3406 (win32) (RealServer compatible) Public: OPTIONS, DESCRIBE, ANNOUNCE, PLAY, PAUSE, SETUP, GET_PARAMETER, SET_PARAMETER, TEARDOWN TurboPlay: 1 RealChallenge1: 5b55d20742297181dffee564bff228d8 StatsMask: 8 Sending request: DESCRIBE rtsp://meetstream.cshl.edu:554/Secure/INFOUK/1.rm RTSP/1.0 CSeq: 2 Accept: application/sdp User-Agent: openRTSP (LIVE555 Streaming Media v2008.04.02) Received DESCRIBE response: RTSP/1.0 401 Unauthorized CSeq: 2 Date: Fri, 10 Oct 2008 05:57:38 GMT Set-Cookie: cbid=efdgohpihjckfidmeojonphqnrjrktlufkejkidligdfjiplrnjoppkternnkqnpifcgfmgi;path=/;expires=Thu,31-Dec-2037 23:59:59 GMT WWW-Authenticate: Basic realm="MEETSTREAM.ContentRealm" Sending request: DESCRIBE rtsp://meetstream.cshl.edu:554/Secure/INFOUK/1.rm RTSP/1.0 CSeq: 3 Accept: application/sdp Authorization: Basic ZGFuLmJvbHNlcjowMDAwMDY= User-Agent: openRTSP (LIVE555 Streaming Media v2008.04.02) Received DESCRIBE response: RTSP/1.0 200 OK CSeq: 3 Date: Fri, 10 Oct 2008 05:57:38 GMT Last-Modified: Thu, 02 Oct 2008 01:52:05 GMT Content-base: rtsp://meetstream.cshl.edu:554/Secure/INFOUK/1.rm/ Vary: User-Agent, ClientID Content-type: application/sdp x-real-usestrackid: 1 Content-length: 2912 Need to read 2912 extra bytes Read 2912 extra bytes: v=0 o=- 1222912325 1222912325 IN IP4 143.48.1.141 s=Genome Informatics i=CSHL Leading Strand (C) CSHL 2008 c=IN IP4 0.0.0.0 t=0 0 a=SdpplinVersion:1610641560 a=StreamCount:integer;2 a=control:* a=Flags:integer;25 a=IsRealDataType:integer;1 a=Author:buffer;"Q1NITCBMZWFkaW5nIFN0cmFuZAA=" a=Copyright:buffer;"KEMpIENTSEwgMjAwOAA=" a=Title:buffer;"R2Vub21lIEluZm9ybWF0aWNzAA==" a=ASMRuleBook:string;"#($Bandwidth < 350000),Stream0Bandwidth = 117959, Stream1Bandwidth = 32041;#($Bandwidth >= 350000),Stream0Bandwidth = 317959, Stream1Bandwidth = 32041;" a=range:npt=0-5261.077000 m=video 0 RTP/AVP 101 b=AS:382 b=RR:11923 b=RS:3974 a=control:streamid=0 a=range:npt=0-5260.243000 a=length:npt=5260.243000 a=rtpmap:101 x-pn-realvideo/1000 a=fmtp:101 a=mimetype:string;"video/x-pn-realvideo" a=Helix-Adaptation-Support:1 a=AvgBitRate:integer;317959 a=AvgPacketSize:integer;349 a=EndOneRuleEndAll:integer;1 a=EndTime:integer;5260243 a=MaxBitRate:integer;317959 a=MaxPacketSize:integer;1342 a=MinimumSwitchOverlap:integer;0 a=Preroll:integer;5048 a=SeekGreaterOnSwitch:integer;1 a=StartTime:integer;0 a=OpaqueData:buffer;"TUxUSQAFAAIAAAAAAAEAAQADAAAAIgAAACJWSURPUlY0MAKAAeAADAAAAAAAGAAAAAgQIEAAgAAAAAAiAAAAIlZJRE9SVjQwAoAB4AAMAAAAAAAYAAAACBAgQACAAAAAACIAAAAiVklET1JWNDACgAHgAAwAAAAAABgAAAAIECBAAIAA" a=RMFF 1.0 Flags:buffer;"AAUAAgACAAAAAgAA" a=ASMRuleBook:string;"#($Bandwidth < 117959),TimestampDelivery=T,DropByN=T,priority=9;#($Bandwidth >= 117959) && ($Bandwidth < 317959),AverageBandwidth=117959,Priority=9;#($Bandwidth >= 117959) && ($Bandwidth < 317959),AverageBandwidth=0,Priority=5,OnDepend=\"1\";#($Bandwidth >= 317959),AverageBandwidth=317959,Priority=9;#($Bandwidth >= 317959),AverageBandwidth=0,Priority=5,OnDepend=\"3\";" a=intrinsicDurationType:string;"intrinsicDurationContinuous" a=StreamName:string;"video/x-pn-multirate-realvideo logical stream" m=audio 0 RTP/AVP 101 b=AS:35 b=RR:1201 b=RS:400 a=control:streamid=1 a=range:npt=0-5261.077000 a=length:npt=5261.077000 a=rtpmap:101 x-pn-realaudio/1000 a=fmtp:101 a=mimetype:string;"audio/x-pn-realaudio" a=Helix-Adaptation-Support:1 a=ActualPreroll:integer;2275 a=AvgBitRate:integer;32041 a=AvgPacketSize:integer;651 a=EndOneRuleEndAll:integer;1 a=EndTime:integer;5260243 a=MaxBitRate:integer;32041 a=MaxPacketSize:integer;651 a=MinimumSwitchOverlap:integer;200 a=Preroll:integer;4550 a=SeekGreaterOnSwitch:integer;0 a=StartTime:integer;0 a=OpaqueData:buffer;"TUxUSQACAAAAAAABAAAAVi5yYf0ABQAALnJhNQAAABAABQAAAEYABAAAAosAAAAAAAOqtAAAAAAADgKLAF0AAAAArEQAAKxEAAAAEAABZ2VucmNvb2sBBwAAAAAACAEAAAEEAAAl" a=RMFF 1.0 Flags:buffer;"AAIAAgAA" a=ASMRuleBook:string;"AverageBandwidth=32041,Priority=5;AverageBandwidth=0,Priority=5,OnDepend=\"0\", OffDepend=\"0\";" a=intrinsicDurationType:string;"intrinsicDurationContinuous" a=StreamName:string;"audio/x-pn-multirate-realaudio logical stream" Opened URL "rtsp://meetstream.cshl.edu:554/Secure/INFOUK/1.rm", returning a SDP description: v=0 o=- 1222912325 1222912325 IN IP4 143.48.1.141 s=Genome Informatics i=CSHL Leading Strand (C) CSHL 2008 c=IN IP4 0.0.0.0 t=0 0 a=SdpplinVersion:1610641560 a=StreamCount:integer;2 a=control:* a=Flags:integer;25 a=IsRealDataType:integer;1 a=Author:buffer;"Q1NITCBMZWFkaW5nIFN0cmFuZAA=" a=Copyright:buffer;"KEMpIENTSEwgMjAwOAA=" a=Title:buffer;"R2Vub21lIEluZm9ybWF0aWNzAA==" a=ASMRuleBook:string;"#($Bandwidth < 350000),Stream0Bandwidth = 117959, Stream1Bandwidth = 32041;#($Bandwidth >= 350000),Stream0Bandwidth = 317959, Stream1Bandwidth = 32041;" a=range:npt=0-5261.077000 m=video 0 RTP/AVP 101 b=AS:382 b=RR:11923 b=RS:3974 a=control:streamid=0 a=range:npt=0-5260.243000 a=length:npt=5260.243000 a=rtpmap:101 x-pn-realvideo/1000 a=fmtp:101 a=mimetype:string;"video/x-pn-realvideo" a=Helix-Adaptation-Support:1 a=AvgBitRate:integer;317959 a=AvgPacketSize:integer;349 a=EndOneRuleEndAll:integer;1 a=EndTime:integer;5260243 a=MaxBitRate:integer;317959 a=MaxPacketSize:integer;1342 a=MinimumSwitchOverlap:integer;0 a=Preroll:integer;5048 a=SeekGreaterOnSwitch:integer;1 a=StartTime:integer;0 a=OpaqueData:buffer;"TUxUSQAFAAIAAAAAAAEAAQADAAAAIgAAACJWSURPUlY0MAKAAeAADAAAAAAAGAAAAAgQIEAAgAAAAAAiAAAAIlZJRE9SVjQwAoAB4AAMAAAAAAAYAAAACBAgQACAAAAAACIAAAAiVklET1JWNDACgAHgAAwAAAAAABgAAAAIECBAAIAA" a=RMFF 1.0 Flags:buffer;"AAUAAgACAAAAAgAA" a=ASMRuleBook:string;"#($Bandwidth < 117959),TimestampDelivery=T,DropByN=T,priority=9;#($Bandwidth >= 117959) && ($Bandwidth < 317959),AverageBandwidth=117959,Priority=9;#($Bandwidth >= 117959) && ($Bandwidth < 317959),AverageBandwidth=0,Priority=5,OnDepend=\"1\";#($Bandwidth >= 317959),AverageBandwidth=317959,Priority=9;#($Bandwidth >= 317959),AverageBandwidth=0,Priority=5,OnDepend=\"3\";" a=intrinsicDurationType:string;"intrinsicDurationContinuous" a=StreamName:string;"video/x-pn-multirate-realvideo logical stream" m=audio 0 RTP/AVP 101 b=AS:35 b=RR:1201 b=RS:400 a=control:streamid=1 a=range:npt=0-5261.077000 a=length:npt=5261.077000 a=rtpmap:101 x-pn-realaudio/1000 a=fmtp:101 a=mimetype:string;"audio/x-pn-realaudio" a=Helix-Adaptation-Support:1 a=ActualPreroll:integer;2275 a=AvgBitRate:integer;32041 a=AvgPacketSize:integer;651 a=EndOneRuleEndAll:integer;1 a=EndTime:integer;5260243 a=MaxBitRate:integer;32041 a=MaxPacketSize:integer;651 a=MinimumSwitchOverlap:integer;200 a=Preroll:integer;4550 a=SeekGreaterOnSwitch:integer;0 a=StartTime:integer;0 a=OpaqueData:buffer;"TUxUSQACAAAAAAABAAAAVi5yYf0ABQAALnJhNQAAABAABQAAAEYABAAAAosAAAAAAAOqtAAAAAAADgKLAF0AAAAArEQAAKxEAAAAEAABZ2VucmNvb2sBBwAAAAAACAEAAAEEAAAl" a=RMFF 1.0 Flags:buffer;"AAIAAgAA" a=ASMRuleBook:string;"AverageBandwidth=32041,Priority=5;AverageBandwidth=0,Priority=5,OnDepend=\"0\", OffDepend=\"0\";" a=intrinsicDurationType:string;"intrinsicDurationContinuous" a=StreamName:string;"audio/x-pn-multirate-realaudio logical stream" Created receiver for "video/X-PN-REALVIDEO" subsession (client ports 32802-32803) Created receiver for "audio/X-PN-REALAUDIO" subsession (client ports 32804-32805) Sending request: SETUP rtsp://meetstream.cshl.edu:554/Secure/INFOUK/1.rm/streamid=0 RTSP/1.0 CSeq: 4 Transport: RTP/AVP;unicast;client_port=32802-32803 Authorization: Basic ZGFuLmJvbHNlcjowMDAwMDY= User-Agent: openRTSP (LIVE555 Streaming Media v2008.04.02) Received SETUP response: RTSP/1.0 461 Unsupported transport CSeq: 4 Date: Fri, 10 Oct 2008 05:57:43 GMT Failed to setup "video/X-PN-REALVIDEO" subsession: SETUP: cannot handle response: RTSP/1.0 461 Unsupported transport Sending request: SETUP rtsp://meetstream.cshl.edu:554/Secure/INFOUK/1.rm/streamid=1 RTSP/1.0 CSeq: 5 Transport: RTP/AVP;unicast;client_port=32804-32805 Authorization: Basic ZGFuLmJvbHNlcjowMDAwMDY= User-Agent: openRTSP (LIVE555 Streaming Media v2008.04.02) Received SETUP response: RTSP/1.0 461 Unsupported transport CSeq: 5 Date: Fri, 10 Oct 2008 05:57:43 GMT Failed to setup "audio/X-PN-REALAUDIO" subsession: SETUP: cannot handle response: RTSP/1.0 461 Unsupported transport > > > Ross Finlayson > Live Networks, Inc. (LIVE555.COM) > <http://www.live555.com/> > > _______________________________________________ > live-devel mailing list > live-devel@lists.live555.com > http://lists.live555.com/mailman/listinfo/live-devel > -- http://network.nature.com/profile/dan _______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel