- Logo Customization: Add,position and scale a logo within a 1920x1080 (Full HD) video frame.
- detects if video ratio is not 16/9 meaning vertically video it will scale the orginal video to 1920x1080 will add blur to it, and will overlay it with the vertical video, and above it the logo layout will be
- Flexible File Handling:
- Run the bot on Telegram servers (50 MB file size limit).
- Use a local server with your Telegram app ID and hash ID for larger files.
- User-Friendly Interface: Simple and intuitive controls for starting/stopping the bot and editing logo positions.
- Logging: Real-time logs to monitor application activity and debug issues.
- users cross-platform support since it's using telegram app (Android,OSX,Web...)
Zip file with executable file ready to run (ffmpeg with CUDA included)
File | Version | Platform | Arch |
---|---|---|---|
TeleLogo-V1.0.0-x64.zip | 1.0.0 | Windows | x64 |
- Operating System: Windows 10 or later
- Python: Version 3.9 or higher
- Dependencies:
PySide6=6.8.1
ffmpeg-python=0.2.0
python-telegram-bot=21.6
-
Clone the repository:
git clone https://github.com/ronvaknins/TeleLogo.git cd TeleLogo
-
Install the required Python dependencies:
pip install -r requirements.txt
-
Ensure
ffmpeg
is installed and added to your system PATH.- Download
ffmpeg
from https://ffmpeg.org/download.html.
- Download
-
Run TeleLogo_GUI.py
python TeleLogo_GUI.py
- Obtain a Telegram bot token from BotFather.
- Launch the application and paste your bot token into the "Token" field.
- Add and Position your logo by clicking the "Edit Logo" (preferably a transpernt PNG)
- Click the Start button to activate the bot.
- Send a video file (up to 50 MB) to your bot via Telegram.
- The bot will process the video, add the logo, and send it back.
NOTE: local server runs on port 8081 make sure it's avilable
- Obtain your
app_id
andhash_id
from Telegram's Developer Console. - Configure the application with these credentials.
- Add and Position your logo by clicking the "Edit Logo" (preferably a transpernt PNG)
- Click Start Local Server to activate the bot locally.
- Click the Start button to activate the bot.
- Send video files of any size to your bot via Telegram.
- The bot will process the video, add the logo, and send it back.
- Click the Edit Logo button.
- Adjust the position of the logo within the Full HD (1920x1080) frame.
- you can use Mouse Wheel to scale the logo up and down
- Save your changes
The application provides a logging window to display real-time events, such as:
- Bot activity
- App configuration activity
- General app activity
- ffmpeg stdout & stderr
the app detects if video ratio is not 16/9 meaning vertically video it will scale the orginal video to 1920x1080 will add blur to it, and will overlay it with the vertical video, and above it the logo layout will be
- Ensure your bot token is valid when running on Telegram servers.
- Check your app ID and hash ID when using the local server.
- Verify
ffmpeg
is installed and accessible in your system PATH. - Refer to the logs for detailed error messages.
- Adding support to choose encoding codecs (right now it's using libx264)
- Add more resolutions (2K,4K etc.)
Developed by Ron Vaknin. Feel free to contribute to the project by submitting issues or pull requests on GitHub.
For further questions or support, contact [[email protected]].