From c0f651d62197eea1c508dbd93c1384f843a234f3 Mon Sep 17 00:00:00 2001
From: jameszah <36938190+jameszah@users.noreply.github.com>
Date: Thu, 10 Jun 2021 16:40:29 -0600
Subject: [PATCH] Update README.md
---
README.md | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/README.md b/README.md
index a27367c..b67640b 100644
--- a/README.md
+++ b/README.md
@@ -1,2 +1,38 @@
# ESP32-CAM-Video-Telegram
Record avi video on ESP32-CAM and send to Telegram on event or request
+
+
+
Compile Time Parameters
+
+```
+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:
+
+
+
+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:
+
+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.
+
+[![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")