Hi
I am trying to record a video through PHP Api. Please Help.
Record a video through PHP Api
Re: Record a video through PHP Api
Hello and welcome to the forum.
I''m not very knowledgeable on the subject myself but in order to make it easier for others perhaps to answer your question can you help with a better idea of what you want to do. I'm guessing that you want to use the camera's cgi interface to obtain a live video feed which might not be the easiest/best way for your purposes.
What camera have you got and what host would you make the request from i.e. where would the response be going to?
I''m not very knowledgeable on the subject myself but in order to make it easier for others perhaps to answer your question can you help with a better idea of what you want to do. I'm guessing that you want to use the camera's cgi interface to obtain a live video feed which might not be the easiest/best way for your purposes.
What camera have you got and what host would you make the request from i.e. where would the response be going to?
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
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
Re: Record a video through PHP Api
Hi
Thanks for response.
I want to record a 10 min video stream to a cloud serve. I only have IP address to camera with username & password and tcp and udp. Let me know if I need anything else.
I am not sure "What camera have you got".
I have an IP address to hit where i can view live camera video. I will store the response to cloud server.
Thanks for response.
I want to record a 10 min video stream to a cloud serve. I only have IP address to camera with username & password and tcp and udp. Let me know if I need anything else.
I am not sure "What camera have you got".
I have an IP address to hit where i can view live camera video. I will store the response to cloud server.
Re: Record a video through PHP Api
I meant, what model of Amcrest camera are you using .
How are you currently viewing the camera? The application may well provide your best solution, for example most of the time I view my cameras using Internet Explorer and that interface allows me to adjust the camera setup for recordings to specify where they are stored. They can be triggered on motion detection, manually etc. The storage destination can be to the MSD card, NAS or by FTP and if you have FTP access to your cloud space that might work for you.
p.s. - There is also the option to save to Amcrest Cloud as well of course.
p.p.s. - If what you are talking about is recording the output from someone else's camera, then I think we are gertting into dangerous territory.
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
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
Re: Record a video through PHP Api
Hi
Thanks for explaining.
My Device Type=IP4M-1051
Please let me know, Is there any possible way to do this through PHP API or SDK.
Thanks for explaining.
My Device Type=IP4M-1051
Please let me know, Is there any possible way to do this through PHP API or SDK.
Re: Record a video through PHP Api
Are you really developing a php solution, a.f.a.i.k. that would imply that you are going to run your code on a web server.
If you're referring to the Amcrest http sdk then you you'll find it here https://support.amcrest.com/hc/en-us/ar ... TP-API-SDK.
A search on the forum for "cgi-bin" will bring up lots of topics that may also be useful to you.
I don't think I can be of any further help but perhaps someone else will come in with other suggestions.
If you're referring to the Amcrest http sdk then you you'll find it here https://support.amcrest.com/hc/en-us/ar ... TP-API-SDK.
A search on the forum for "cgi-bin" will bring up lots of topics that may also be useful to you.
I don't think I can be of any further help but perhaps someone else will come in with other suggestions.
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
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
Re: Record a video through PHP Api
I don't think this https://support.amcrest.com/hc/en-us/ar ... TP-API-SDK has PHP SDK
It contains a PDF file.
Thanks for everything you did.
It contains a PDF file.
Thanks for everything you did.
Re: Record a video through PHP Api
Yes indeed - I should have said " the documentation for the Amcrest camera http api."
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
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