[Live-devel] Failed to get a SDP description for the URL

Ross Finlayson finlayson at live555.com
Thu Apr 23 14:47:10 PDT 2015


> I am trying the have a stream give periodic output files every minute as avi files and I am getting the error that it fails to get a SDP description for the URL and that the -iP command cannot be found. I have also tried these commands by themselves and it fails to get the SDP description also.
> 
> The command I input is:
> 
> openRTSP rtsp://24.196.72.222:1080/user=guest&password=guest&channel=1&stream=0.sdp <http://24.196.72.222:1080/user=jaderoyston&password=blacky12&channel=1&stream=0.sdp>? -iP 60 > ~/record/output.avi

First, options on the command line must be separated.  So you need to say
	-i -P 60
rather than
	-iP 60

Second, if you use the "-P <interval-in-seconds>” option in combination with “-i” (or “-4” or “-q”), then the output will be written to separate files, but *not* to stdout, so you don’t need to add “> ~/record/output.avi” to the end of the command line.

Finally, because the RTSP URL contains ‘&’ and ‘?’ characters, it’s possible - depending on your command shell - that you will need to put quotation marks around the URL.

The following command should work:
	openRTSP 'rtsp://24.196.72.222:1080/user=guest&password=guest&channel=1&stream=0.sdp?' -i P 60

If you find that the output files are empty, then it’s probably because there’s a firewall somewhere - between your server (camera) and client (“openRTSP”) - that’s blocking UDP packets.  In that case, try adding the “-t” option to the command line.

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20150423/f87e98a5/attachment.html>


More information about the live-devel mailing list