RTSP motion.conf syntax
I have the current trunk which supports RTSP, but I haven't been able to interface with my RSTP IP Cam. In motion.conf I'm using
which throws the following error (at this time the ip cam does not have a password):
 [CRT] [NET] netcam_start: Invalid netcam_url
Am I close on the syntax, or is it suppose to be something completely different?
| Motion version:
|| current trunk (10/20/14)
| ffmpeg version:
|| ffmpeg, mysql, postgresql
| Server OS:
- 21 Oct 2014
That format looks like it would work so you are probably really close. Unfortunately, every camera seems to have its own particular nuances of how to grab the steam that you'll have to find in the manual, manufacturer website or other users. I've seen variations like rtsp://192.168.1.32:554/user=admin&password=&channel=1&stream=1.sdp? or rtsp://192.168.1.32:554/streaming/channels/1 If you want, you can also use VLC, avplay or ffplay. The syntax for those applications is the same as what motion wants on the config line.
URL syntaxis is wrong. The "?" symbol must come prior HTTP params, like this: rtsp://server/?para1=val1¶m2=val2. So the valid URL looks like this:
- 14 Mar 2015