Hi all,
I have a ESP-EYE and have tried the default Camer Web Server example on Arduino IDE. My question is, is it possible to save the video on the web server?
My application is as follows:
When a motion sensor is triggered, the ESP32 camera is activated and starts streaming to a webserver which records for the next 5 minutes and go back to sleep.
On a side note, is it even possible to save video locally on a SDCard connected to the ESP32?
Thanks in advance.
ESP32 Camera Stream and Save to WebServer
Re: ESP32 Camera Stream and Save to WebServer
Yes to both questions
Re: ESP32 Camera Stream and Save to WebServer
Are there any examples/tutorials online that I can refer to? I don't know what is the correct google search keywords to use.
Re: ESP32 Camera Stream and Save to WebServer
'Webcam' + 'server' revealed a few RPI tutorials. Then you will need to adapt from whatever RPI's uses as its client and the ESP HTTP client. I am guessing that most tutorials will use an AWS style server.
The simplest examples will have you HTTP POST to a webserver. To view the video you would HTTP GET. Conceptually this is no different from saving a value and then retrieving the value and/or text file. Only MIME and size have changed & binary encoding of course. Live streaming will be more complicated.
EDIT: I'm being overly focused on HTTP, going through a RESTful phase! FTP upload would be another approach.
The simplest examples will have you HTTP POST to a webserver. To view the video you would HTTP GET. Conceptually this is no different from saving a value and then retrieving the value and/or text file. Only MIME and size have changed & binary encoding of course. Live streaming will be more complicated.
EDIT: I'm being overly focused on HTTP, going through a RESTful phase! FTP upload would be another approach.
& I also believe that IDF CAN should be fixed.
Re: ESP32 Camera Stream and Save to WebServer
Thanks PeterR!
Who is online
Users browsing this forum: No registered users and 90 guests