Adding live feed to a website

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
ctopal
Posts: 2
Joined: Mon Jul 10, 2017 5:40 pm

Adding live feed to a website

Post by ctopal »

Hello - I have a couple of Amcrest Pro cameras. And I just created a website using wordpress. I'm wondering if there is a way to post a link on my website of the live feed on my cameras so anyone can click on it and watch live. I'm not very techy at all, so if you could explain as if to a child - I'd really appreciate it :D
User avatar
longedge
Site Admin
Posts: 584
Joined: Fri Mar 31, 2017 9:34 am

Re: Adding live feed to a website

Post by longedge »

I don't have an answer but it's something I'd be interested in (still image at regular intervals rather than live video). I currently use a wireless camera looking at my birdtable which transmits to a USB grabber connected to my PC. I use a piece of software called YAWCAM which recognises the stream from the USB device as a webcam. It grabs a .jpg every 5 minutes and uploads it to my webspace and overwrites the existing image file each time so the html to display the image is as simple as with a normal 'static' image.

To date I've failed to find out how to do the same with the feed from my Amcrest camera which produces a far better quality image. I'll watch this in the hope that you get an answer :)
My AMCREST Cameras:-
2 x IP3M-941B firmware V2.620.00AC00.3.R, Build Date: 2019-12-18
1 x IP2M-841B firmware V2.420.AC00.18.R, Build Date: 2019-08-03
Melvin
Site Admin
Posts: 2210
Joined: Wed Oct 14, 2015 2:20 pm

Re: Adding live feed to a website

Post by Melvin »

Hello,

The following cgi command is used to fetch the camera stream on the web.

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

For snapshots, use the command below.

http://ip:httpport/cgi-bin/snapshot.cgi[?channel=<ChannelNo>]

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

Image
ctopal
Posts: 2
Joined: Mon Jul 10, 2017 5:40 pm

Re: Adding live feed to a website

Post by ctopal »

Thanks for the response Melvin, I'm glad to see it's doable. But I don't really understand code. What pieces do I need to substitute with my information? And where do I get those items from? Thanks.
Melvin
Site Admin
Posts: 2210
Joined: Wed Oct 14, 2015 2:20 pm

Re: Adding live feed to a website

Post by Melvin »

Hello ctopal,

In the code , the following items should be replaced.

user=username of the camera
pwd= password of the camera
ip:=ip address of the camera (public IP or DDNS when accessing the cam remotely.)
port=http port of the camera

Please give us a call if you still have questions on this.

1-888-212-7538
Can't find your answer on the forum? Try our Knowledge Base! https://amcrest.zendesk.com/hc/en-us

Image
Intrigued
Posts: 9
Joined: Sun Jun 25, 2017 2:37 pm

Re: Adding live feed to a website

Post by Intrigued »

@ctopal For security reasons, I recommend you to create a new user with Live permission only otherwise if you expose your admin account password somebody could hack your camera.
MarineNow
Posts: 1
Joined: Thu Apr 05, 2018 11:31 am

Re: Adding live feed to a website

Post by MarineNow »

I am trying this and it is not working, so I have some questions.

Should I be able to type that command in a browser and see the camera?

How do I had this as HTML in a website?

Is there an entry for Channel?

In Amcrest Surveillance Pro, if I go to my device list, I see my cameras. For IP, it lists the serial number. Nothing for Port. Channel Number is 1/0/1/1.

If I double click on the camera, it opens the "Modify Device" screen showing my user name and password etc.

If I go to Device cfg, click network, Then the IP ADdress shows. The second tab "Connect" shows all kinds of ports. I use HTTP Port? That is what I have been trying. Under DDNS, it shows the same port as the HTTP port.

When I type that whole thing into a browser, it tries to connect, then times out.

What to do?

Thanks!!!
tbwalkeriii
Posts: 9
Joined: Fri Feb 22, 2019 2:52 pm

Re: Adding live feed to a website

Post by tbwalkeriii »

I know this is an old post, but I was checking out Amcrest's demo cameras that they stream live from https://amcrest.com/live-demo and I noticed that they use the service www.ipcamlive.com to stream their security cameras live.
Post Reply