Do you want to send a video to the telegram bot using a raspberry pi? In this tutorial, we record a video using Raspberry Pi camera and send the video to the Telegram bot. The default video file recorded by Raspberry Pi by default is an H264 file. Telegram cannot play this type of video file. So, we need to convert the video to an mp4 file before we send it to the Telegram bot.
This video shows how to get make a simple security system that can record a video using Raspberry Pi Camera and send it to telegram bot.
This is the list of items used in the video.
This is python3 sample program for sending a video to telegram. You can use it with Thonny Python IDE.
Thanks for reading this tutorial. If you have any technical inquiries, please post at Cytron Technical Forum.
“Please be reminded, this tutorial is prepared for you to try and learn.
You are encouraged to improve the code for better application.“