adding live feed to 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
sarmeli
Posts: 4
Joined: Thu Aug 29, 2019 9:58 am

adding live feed to website

Post by sarmeli »

I have been using 2 foscam camers to show live feeds of a tennis center. The cameras are old so I purchased ip2m-852B camera. I researched and saw some forum responses where these Amcrest cameras could use the same commands. I have the port open and I can get to the camera yet it will not display a snap shot. I am using the secure image display code yet I get " jpg image file is missing from disk" I have tried http://x.x.x.114:1028/CGIProxy.fcgi?cmd ... &pwd=xxxxx as well as http://x.x.x.114:1028/snapshot.cgi?&use ... &pwd=xxxxx The cameras http port is set to 1028 What am I doing wrong?? Thanks in advance for your help and input!
sarmeli
Posts: 4
Joined: Thu Aug 29, 2019 9:58 am

Re: adding live feed to website

Post by sarmeli »

Does anyone in this forum show a live feed/image from their amcrest camera?
User avatar
longedge
Site Admin
Posts: 591
Joined: Fri Mar 31, 2017 9:34 am

Re: adding live feed to website

Post by longedge »

Hello sarmeli and welcome to the forum.

It's not a live feed but I grab snapshots from my 2 IP cameras using http://admin:[email protected]/cgi-bin/snapshot.cgi and saving the result to my desktop from where I ftp them to my webspace with static names. I do it manually with a single click using a small application that I made for myself.

I'm sure there are people who achieve what I think you want but by going through a third party site to stream the result. Hopefully someone who knows more about it than I do will come along soon and chime in.
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
User avatar
longedge
Site Admin
Posts: 591
Joined: Fri Mar 31, 2017 9:34 am

Re: adding live feed to website

Post by longedge »

Further to my previous reply, I believe that some people have been able to use VLC to connect to their camera/s by RTSP and then stream that to a web server. It's not something I've tried myself although I have succesfully used this method to record output from a camera to a file on my NAS.

Let us know how you get on.
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
sarmeli
Posts: 4
Joined: Thu Aug 29, 2019 9:58 am

Re: adding live feed to website

Post by sarmeli »

Hi all Thank you for all of your suggestions! I am at a stand still I have asked amcrest support and have not heard back. Longedge said he is using http://admin:[email protected]/cgi-bin/snapshot.cgi I keep getting challenged for a username and password with a popup I can not find away to not be asked for username and password. The above doesn't work, I chose allow anonymous tried to create a user without a password nothing works.. I'm still looking : (
jack7
Posts: 904
Joined: Tue May 29, 2018 7:46 pm

Re: adding live feed to website

Post by jack7 »

To not enter id password, I think you may need some code involving digest authorization. Perhaps using something like https://github.com/jantman/python-amcrest-noauth-proxy

Another way may to configure your camera to FTP snapshots at a desired interval to your website, if your website has a FTP server, can handle the folder and file names that the camera sends, and update a webpage image.

The easiest and fastest way is probably to try a site like this:
https://www.ipcamlive.com/
https://www.ipcamlive.com/faqs
Probably an overkill for you, but it worked well for me when I tried it a while back, and you can test it free for awhile if desired.
sarmeli
Posts: 4
Joined: Thu Aug 29, 2019 9:58 am

Re: adding live feed to website

Post by sarmeli »

Thanks jack7 I looked into the github link but unfortunately do not know python.

It looks like I am going to need to rewrite and use some sort of ftp method. Though I'm not sure that will work since I may still be challenged for a user and password. The secureimagedisplay code worked so well...

Amcrest support just emailed me and said they can not help me.
WillS
Posts: 1
Joined: Thu Sep 19, 2019 12:54 pm

Re: adding live feed to website

Post by WillS »

I have been banging my head against the wall on this. Even using the URL http://user:password@host/cgi-bin/mjpg/ ... &subtype=1 Chrome still prompts for a password.

The Python code is old and only supports one camera and has performance issues. This does not appear to be worth trying.

This really sucks.
Post Reply