2016-12-01, 13:47
(2016-10-21, 21:18)Pander02 Wrote: Finally got mjpeg working for my amcrest IP2M-841W, thought I'd share in case anyone else is spending way to much time searching for the correct URL like I did. The one on ispyconnect didn't work. This is what eventually worked for me -As far as I know the motion and sound detection do not work with generic IP cameras. Regarding the preview I now have mine set to snapshot and as this is taken from the mainstream the quality is much better, snapshot URL for the 841 is http://username:pass@ipaddress/cgi-bin/snapshot.cgi?channel=1
http://username: password@IPaddress:port/cgi-bin/mjpg/video.cgi?subtype=1
Subtype = 1 is important because on this camera, and I'm sure others, there are 2 streams. The main stream is in H264 and in the camera settings can't be switched to mjpeg. Only the substream has the option in camera settings to switch it to mjpeg. The quality isn't as good but this is the only way I could get it working on this app. Now this camera works in both preview and in all cameras. However I can't select motion detection or sound detection, do these not work with generic IP cams
Thanks to the author, I hope you keep working on this.