{"id":2733,"date":"2016-12-23T00:29:28","date_gmt":"2016-12-23T07:29:28","guid":{"rendered":"http:\/\/mattfife.com\/?p=2733"},"modified":"2016-12-23T00:41:58","modified_gmt":"2016-12-23T07:41:58","slug":"connecting-my-amcrest-ip2m-841-webcam-and-ispy","status":"publish","type":"post","link":"https:\/\/mattfife.com\/?p=2733","title":{"rendered":"Connecting iSpy to an Amcrest IP2M-841 webcam"},"content":{"rendered":"<p>This was more annoying than it should have been. When setting up my Amcrest IP2M-841B camera, I was able to use the Amcrest IP Config tool to log in and watch my camera without issue.<\/p>\n<p>When using iSpy 64, however, the darn thing couldn&#8217;t figure out how to connect to it. Here&#8217;s how I did it. I left the camera on channel 1, set the encoding to plain H.264, and then did the following.<\/p>\n<h3>Test your camera using Amcrest IP config.<\/h3>\n<p>The first thing is to make sure your camera is working at all:<\/p>\n<ol>\n<li>Be sure you can open the IP config tool and see your cameras.<\/li>\n<li>Make sure passwords are correct, you can get a live view, and that it&#8217;s set to H.264 encoding and the channels are correct.<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h3>Test your rtsp\u00a0line using VLC:<\/h3>\n<ol>\n<li>Open VLC (install it if you need)<\/li>\n<li>Media-&gt;Open Network Stream<\/li>\n<li>Copy in your rtsp: address\n<ol>\n<li>example without the username\/password:\n<ol>\n<li>\n<pre>rtsp:\/\/192.168.1.99:554\/cam\/realmonitor?channel=1&amp;subtype=0<\/pre>\n<\/li>\n<li>VLC will ask for your username\/password and you can enter it.<\/li>\n<\/ol>\n<\/li>\n<li>example with the username\/password:\n<ol>\n<li>\n<pre>rtsp:\/\/&lt;username&gt;:&lt;password&gt;@&lt;ipaddress&gt;:554\/cam\/realmonitor?channel=1&amp;subtype=0<\/pre>\n<\/li>\n<li>I left the arguments as\u00a0&#8211;rtsp-caching=100 (the default)<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<\/li>\n<li>You should see your stream come up in VLC<\/li>\n<li>NOTE:\u00a0When setting your password, if you have any special characters like %!&amp;#$ &#8211; or the like &#8211; be sure to convert them to their equivalent hex ASCII codes. See <a href=\"http:\/\/ascii.cl\/\" target=\"_blank\">this chart here<\/a>.\n<ol>\n<li>Example: if your password is &#8216;cat&amp;dog&#8217;, you should use the password: &#8216;cat%26dog&#8217;<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<h3>Connecting to iSpy<\/h3>\n<p>If connecting via VLC worked, your 75% of the way there.<\/p>\n<ol>\n<li>Start iSpy<\/li>\n<li>Add-&gt;IP Camera<\/li>\n<li>Select the VLC Plugin tab (I have VLC installed, not sure if that&#8217;s 100% necessary)<\/li>\n<li>Set the VLC URL to what you had above (with the username+password):\n<pre>rtsp:\/\/&lt;username&gt;:&lt;password&gt;@&lt;ipaddress&gt;:554\/cam\/realmonitor?channel=1&amp;subtype=0<\/pre>\n<\/li>\n<li>When setting the password, if you have any special characters like %!&amp;%#$ &#8211; or the like &#8211; be sure to convert them to their equivalent hex ascii codes. See <a href=\"http:\/\/ascii.cl\/\" target=\"_blank\">this chart here<\/a>.\n<ol>\n<li>Example: if your password is &#8216;cat&amp;dog&#8217;, you should use the password: &#8216;cat%26dog&#8217;<\/li>\n<\/ol>\n<\/li>\n<li>I left the arguments as\u00a0&#8211;rtsp-caching=100 (the default)<\/li>\n<\/ol>\n<p>Once you have iSpy connected, you can set up events and connect to the cloud for full web monitoring.<\/p>\n<p>&nbsp;<\/p>\n<h3>Resources:<\/h3>\n<p>So, where did I get that rtsp line? Directly from the <a href=\"https:\/\/s3.amazonaws.com\/amcrest-files\/AMCREST_HTTP_API_SDK_V2.10.pdf\" target=\"_blank\">Amcrest HTTP API SDK Protocol Specification<\/a>. Section 4.1.1, p14 &#8211; Get real-time stream. It&#8217;s also a handy guide on all the other parameters you can send the camera.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This was more annoying than it should have been. When setting up my Amcrest IP2M-841B camera, I was able to use the Amcrest IP Config tool to log in and watch my camera without issue. When using iSpy 64, however, the darn thing couldn&#8217;t figure out how to connect to it. Here&#8217;s how I did it. I left the camera on channel 1, set the encoding to plain H.264, and then did the following. Test your camera using Amcrest IP&#8230;<\/p>\n<p class=\"read-more\"><a class=\"btn btn-default\" href=\"https:\/\/mattfife.com\/?p=2733\"> Read More<span class=\"screen-reader-text\">  Read More<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"Connecting Amcrest IP2M-841 and iSpy","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[6,5],"tags":[],"class_list":["post-2733","post","type-post","status-publish","format-standard","hentry","category-technicalproblemsolutions","category-technical"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4WECr-I5","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/posts\/2733","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mattfife.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2733"}],"version-history":[{"count":4,"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/posts\/2733\/revisions"}],"predecessor-version":[{"id":2737,"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/posts\/2733\/revisions\/2737"}],"wp:attachment":[{"href":"https:\/\/mattfife.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2733"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mattfife.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2733"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mattfife.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2733"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}