Update README.md

main
jameszah 2021-06-10 16:40:29 -06:00 zatwierdzone przez GitHub
rodzic 2a3118e9ac
commit c0f651d621
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 36 dodań i 0 usunięć

Wyświetl plik

@ -1,2 +1,38 @@
# ESP32-CAM-Video-Telegram
Record avi video on ESP32-CAM and send to Telegram on event or request
<h2> Compile Time Parameters </h2>
```
char ssid[] = "yourssid";
char password[] = "yourssidpass";
String TIMEZONE = "GMT0BST,M3.5.0/01,M10.5.0/02";
String chat_id = "1234567890";
#define BOTtoken "XXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
// see here for information about getting free telegram credentials
// https://github.com/witnessmenow/Universal-Arduino-Telegram-Bot
// https://randomnerdtutorials.com/telegram-esp32-motion-detection-arduino/
// find your timezone here
// https://sites.google.com/a/usapiens.com/opnode/time-zones
```
As seen on Telegram screen: <br>
<img src="./magpie.jpg">
The avi as seen on Youtube - the picture here is the first frame of the avi, which is one frame after the jpeg sent to Telegram.
[![Click to see on Youtube](http://img.youtube.com/vi/x4JaLOefIWA/hqdefault.jpg)](http://www.youtube.com/watch?v=x4JaLOefIWA "Magpie from Youtube")
The file as served by Telegram:<br>
https://github.com/jameszah/ESP32-CAM-Video-Recorder-samples/blob/master/ESP32-Cam-Telegram/DoorCam%202021-06-03%2014.47.52.avi
The file uploaded to Youtube - now converted to Youtube's formats:
https://youtu.be/x4JaLOefIWA
Demonstrating the slow motion.<br>
[![Click to see on Youtube](http://img.youtube.com/vi/KBXaL-kRRFI/hqdefault.jpg)](http://www.youtube.com/watch?v=KBXaL-kRRFI "Robin from Youtube")