You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simple [RTSP](https://en.wikipedia.org/wiki/Real_Time_Streaming_Protocol), [HTTP JPEG Streamer](https://en.wikipedia.org/wiki/Motion_JPEG) and image server with configuration through the web interface.
7
6
8
-
Flashing this software on a ESP32CAM module will make it a **RTSP streaming camera** server.
9
-
The RTSP protocol is an industry standard and allows many CCTV systems and applications (like for example [VLC](https://www.videolan.org/vlc/)) to connect directly to the ESP32CAM camera stream.
10
-
It is also possible to stream directly to a server using [ffmpeg](https://ffmpeg.org).
11
-
This makes the module a camera server allowing recording and the stream can be stored on a disk and replayed later.
7
+
Flashing this software on a ESP32CAM module will make it a **RTSP streaming camera** server, a **HTTP Motion JPEG streamer** and a **HTTP image server**.
8
+
9
+
Supported protocols
10
+
11
+
-:white_check_mark: RTSP
12
+
The RTSP protocol is an industry standard and allows many CCTV systems and applications (like for example [VLC](https://www.videolan.org/vlc/)) to connect directly to the ESP32CAM camera stream.
13
+
It is also possible to stream directly to a server using [ffmpeg](https://ffmpeg.org).
14
+
This makes the module a camera server allowing recording and the stream can be stored on a disk and replayed later.
15
+
The URL is rtsp://<ip address>:554/mjpeg/1
16
+
17
+
-:white_check_mark: HTTP Motion JPEG
18
+
The HTTP JPEG streamer makes it possible to watch the camera stream directly in your browser.
19
+
The URL is http://<ip address>/stream
20
+
21
+
-:white_check_mark: HTTP image
22
+
The HTTP Image returns an HTTP JPEG image of the camera.
23
+
The URL is http://<ip address>/snapshot
12
24
13
25
This software supports the following ESP32-CAM (and alike) modules:
14
26
@@ -20,7 +32,7 @@ This software supports the following ESP32-CAM (and alike) modules:
20
32
21
33

22
34
23
-
This software provides a **configuration web server**, that can be used to:
35
+
The software provides a **configuration web server**, that can be used to:
24
36
25
37
- Provide information about the state of the device, wifi connection and camera,
26
38
- Set the WiFi parameters,
@@ -31,6 +43,7 @@ This software provides a **configuration web server**, that can be used to:
31
43
- Select the frame rate,
32
44
- Select the JPEG quality
33
45
- Enable the use of the PSRAM
46
+
- Set the number of frame buffers
34
47
- Configure the camera options:
35
48
- Brightness
36
49
- Contrast
@@ -186,12 +199,21 @@ In case changes have been made to the configuration, this is shown and the possi
186
199
Clicking on the ```change configuration``` button will open the configuration. It is possible that a password dialog is shown before entering.
187
200
If this happens, for the user enter 'admin' and for the password the value that has been configured as the Access Point password.
188
201
189
-
## Connecting to the RTSP stream
202
+
## Connecting to the RTSP stream:video_camera:
190
203
191
204
RTSP stream is available at: [rtsp://esp32cam-rtsp.local:554/mjpeg/1](rtsp://esp32cam-rtsp.local:554/mjpeg/1).
192
205
This link can be opened with for example [VLC](https://www.videolan.org/vlc/).
193
206
194
-
:warning:**Please be aware that there is no password present on the stream!**
207
+
## Connecting to the JPEG motion server :video_camera:
208
+
209
+
The JPEG motion server server is available using a normal web browser at: [http://esp32cam-rtsp.local:/stream](http://esp32cam-rtsp.local/stream).
210
+
211
+
## Connecting to the image server :camera:
212
+
213
+
The image server server is available using a normal web browser at: [http://esp32cam-rtsp.local:/snapshot](http://esp32cam-rtsp.local/snapshot).
214
+
215
+
:bangbang:**Please be aware that there is no password present!**.
216
+
Everybody with access to the device can see the streams or images! Beware of :trollface:!
195
217
196
218
## API
197
219
@@ -238,19 +260,23 @@ If no v parameter is present, it will be set to the value of the flash LED inten
238
260
- When finished configuring for the first time and the access point is entered, disconnect from the wireless network provided by the device.
239
261
This should reset the device and connect to the access point.
240
262
Resetting is also a good alternative...
263
+
- There are modules that have no or faulty PSRAM (despite advertised as such).
264
+
This can be the case if the camera fails to initialize.
265
+
It might help to disable the use of the PSRAM and reduce the buffers and the screen size.
241
266
242
267
### Power
243
268
244
269
Make sure the power is 5 volts and stable, although the ESP32 is a 3.3V module, this voltage is created on the board.
245
270
If not stable, it has been reported that restarts occur when starting up (probably when power is required for WiFi).
246
271
The software disables the brown out protection so there is some margin in the voltage.
272
+
Some people suggest to add a capacitor over the 5V input to stabilize the voltage.
247
273
248
-
### PSRAM / Buffers / JPeg quality
274
+
### PSRAM / Buffers / JPEG quality
249
275
250
276
Some esp32cam modules have additional ram on the board. This allows to use this ram as frame buffer.
251
277
The availability of PSRAM can be seen in the HTML status overview.
252
278
253
-
Not all the boards areq equipped with PSRAM:
279
+
Not all the boards are equipped with PSRAM:
254
280
255
281
| Board | PSRAM |
256
282
|--- |--- |
@@ -262,23 +288,23 @@ Not all the boards areq equipped with PSRAM:
262
288
| WROVER KIT | Yes |
263
289
264
290
Depending on the image resolution, framerate and quality, the PSRAM must be enabled and/or the number of frame buffers increased to keep up with the data generated by the sensor.
265
-
There are (a lot of?) boards around with faulty PSRAM. If the camera fails to initialize, this might be a reason.
291
+
There are (a lot of?) boards around with faulty PSRAM. If the camera fails to initialize, this might be a reason. See on [Reddit](https://www.reddit.com/r/esp32/comments/z2hyns/i_have_a_faulty_psram_on_my_esp32cam_what_should/).
266
292
In this case disable the use of PSRAM in the configuration and do not use camera modes that require PSRAM,
267
293
268
-
For the setting JPeg quality, a lower number means higher quality.
294
+
For the setting JPEG quality, a lower number means higher quality.
269
295
Be aware that a very high quality (low number) can cause the ESP32 cam to crash or return no image.
270
296
271
297
The default settings are:
272
298
273
299
- No PSRAM
274
300
- SVGA (800x600)
275
301
- 1 frame buffer
276
-
-JPeg quality 12
302
+
-JPEG quality 12
277
303
278
304
- With PSRAM
279
305
- UXGA (1600x1200)
280
306
- 2 frame buffers
281
-
-jpeg quality 10
307
+
-JPEG quality 10
282
308
283
309
### Camera module
284
310
@@ -287,10 +313,13 @@ Make sure it is connected the right way around (Camera pointing away from the bo
287
313
288
314
## Credits
289
315
290
-
esp32cam-ready depends on PlatformIO, Bootstrap5 and Micro-RTSP by Kevin Hester.
316
+
esp32cam-rtsp depends on PlatformIO, Bootstrap 5 and Micro-RTSP by Kevin Hester.
291
317
292
318
## Change history
293
319
320
+
- March 2023
321
+
- Added options to set PSRAM / Frame buffers
322
+
- Added JPEG Motion streaming
294
323
- Feb 2023
295
324
- Added additional settings for camera configuration
0 commit comments