Send Video to Telegram Bot Using Raspberry Pi Camera

Want to send a video to Telegram Bot?

Introduction

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.

Video

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.

Hardware Preparation

This is the list of items used in the video.

Sample Program

This is python3 sample program for sending a video to telegram. You can use it with Thonny Python IDE.

Thank You

References:

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.

Leave a Comment

Your email address will not be published.

Share this Tutorial

Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest
Share on facebook
Share on whatsapp
Share on email
Share on print
Share on twitter
Share on pinterest

Latest Tutorial

Measure Surrounding Air Pressure Using Grove Beginner Kit
Soil Moisture Alarm Using CircuitPython on Seeeduino XIAO
Read Surrounding Temperature and Humidity Using Grove Beginner Kit
Program Seeeduino XIAO Using CircuitPython
Does Technology Make Us Feel Safe
Scroll to Top