( echo DESCRIBE rtsp://192.168.1.90/11 RTSP/1.0 echo CSeq: 2 echo ) | nc 192.168.1.90 554 > mycam.sdpReplace the IP-address and URL with what you want. 554 is the RTSP so don't change that.
Computer Tips - How can I get the .sdp (Session Description Protocol) file for an RTSP stream?
Date: 2013feb21 Q. How can I get the .sdp (Session Description Protocol) file for an RTSP stream? A. A .sdp file is a small text file with <variable>=<value> pairs that describes a stream. You can send a DESCRIBE command to an RTSP URL to get the contents of a .sdp file. As this bash script does: