Fetching snapshot

Have some questions or having issues with your IP Camera(s), Post them here for the mods and other users to assist you with.
Post Reply
olyaie
Posts: 2
Joined: Wed Mar 22, 2017 11:38 am

Fetching snapshot

Post by olyaie »

I am trying to fetch snapshot from Hdcam IP2M-841W using the following format:
http://[Username:Password]@IP address/cgi-bin/snapshot.cgi

The link works fine within the home network so I know that cam responds to request and supplies the snapshot. But, when I try to access from outside the home network (outside router) I don't seem to be able to reach or get a response from the cam.

From outside, I replace the network address with my Internet IP and the tcp port (37777) and am forwarding the port to cam's network IP in my router.

This link is used in an image tag on a private webpage on the net and looks like this:
<img src="http://[Username:Password]@IP:37777/cgi-bin/snapshot.cgi">

When I visit the page, browser shows the message "connecting to IP addtess" and times out.

Other things I have tried:
Using DMZ feature of router to connect cam directly to IP address (opening a whole in router firewall) and no luck.

Any suggestion as how I can do this?
Thanks,
James
t84a
Posts: 205
Joined: Fri Jun 10, 2016 1:41 pm

Re: Fetching snapshot

Post by t84a »

You need to use your public IP. From the location of the camera, go to www.whatismyip.com.
olyaie
Posts: 2
Joined: Wed Mar 22, 2017 11:38 am

Re: Fetching snapshot

Post by olyaie »

I do use my Internet (public) IP when trying to access from outside the network.
LibraSun
Posts: 8
Joined: Fri Jul 28, 2017 10:34 pm

Re: Fetching snapshot

Post by LibraSun »

Are you using any of the permitted DDNS services?

And does the http://[Username:Password]@IP:37777/cgi-bin/snapshot.cgi address ever work outside of the webpage environment (i.e. just by entering the URL in your browser's Address bar directly)?
Melvin
Site Admin
Posts: 2210
Joined: Wed Oct 14, 2015 2:20 pm

Re: Fetching snapshot

Post by Melvin »

Hello LibraSun ,

The code http://[Username:Password]@IP:37777/cgi-b, the port after IP should be the http port of the camera. 37777 is the default TCP port of the camera not the http one, please note.
Can't find your answer on the forum? Try our Knowledge Base! https://amcrest.zendesk.com/hc/en-us

Image
squeaky
Posts: 2
Joined: Wed Mar 07, 2018 9:09 pm

Re: Fetching snapshot

Post by squeaky »

Greetings,
Just to add my 2 cents worth I was able to get that URL to work when I removed the square brackets [user:password] around the user and password:
It worked on three different Amcrest models:

IP2M-843EB
IP3M-956E
IP4M-1055E

http://admin:[email protected]:80/ cgi-bin/ snapshot.cgi

remove the spaces as well

Now to explore what the H264 stream or MPEG stream URLS are ;}
Melvin
Site Admin
Posts: 2210
Joined: Wed Oct 14, 2015 2:20 pm

Re: Fetching snapshot

Post by Melvin »

Hello squeaky,

Please find the codes for MJPEG and RTSP stream for the Amcrest Pro HD camera.
rtsp://user:pwd@ip:port/cam/realmonitor?channel=1&subtype=0

http://user:Pwd@ip:port/cgi-bin/mjpg/video.cgi?[channel=<channelno>]&subtype=1

Here, you need to replace the code with your cams ip address, port, username and password where applicable. In the rtsp command , make sure you use the RTSP port.
Can't find your answer on the forum? Try our Knowledge Base! https://amcrest.zendesk.com/hc/en-us

Image
Post Reply