-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cb6dacc
commit 27892e2
Showing
1 changed file
with
39 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,42 @@ | ||
|
||
# Video Processor V1 | ||
|
||
Video Processor script that automates simple AD making. This script became a thing while debating with employees if a script could automate their jobs and i wrote it like a joke ( it really was a joke ) | ||
|
||
Decided to post it publicly with the idea that maybe someone finds it useful and polishes it more making it into a complete app. | ||
|
||
|
||
## Features | ||
|
||
- Automated scene detection and cutting clips | ||
- Random music selector based on platform ( Tiktok / Facebook / Both ) | ||
- Automated watermark | ||
- Ability to set the average run time of videos | ||
- Logging actions directly to telegram channels | ||
- AI Voiceover using Narakeet ( Broken ATM ) | ||
|
||
|
||
## Tech Used | ||
|
||
**Audio Processing:** Pydub, cv2, moviepy | ||
|
||
**Video Processing:** cv2, numpy, moviepy, PIL | ||
|
||
**Voice Processing:** Narakeet API | ||
|
||
**Logs:** Telegram Bot API | ||
## Deployment | ||
|
||
To run the script install every package inside requirements.txt and run main.py in your favorite IDE | ||
|
||
From there the script will guide you through the steps shown below: | ||
|
||
1. Enter the maximum RAM limit in GB: | ||
( Max: 12 GB ) | ||
|
||
2. Choose video format: | ||
- 1 - Facebook | ||
- 2 - Tiktok | ||
- 3 - Both | ||
|
||
3. Choose watermark options: | ||
- 1 - no watermark | ||
- 2 - oricare | ||
- 3 - reducerino | ||
- 4 - all | ||
|
||
4. Enter the number of final videos to create: | ||
( Type the number of videos you want ) | ||
|
||
5. Enter the maximum video length in seconds: | ||
( Type the max video length you wish) | ||
The Video Processor V1 script emerged from a light-hearted debate about automation in the workplace, leading to the creation of a tool capable of automating aspects of ad production. Initially crafted as a jest, this script has evolved into a utility that others might find valuable for streamlining video ad creation processes. | ||
|
||
## Introduction | ||
This script automates several tasks involved in creating simple ads, including scene detection, clip cutting, and more. It's shared in the spirit of collaboration, inviting others to refine and expand its capabilities. | ||
|
||
## Key Features | ||
- Automated Scene Detection: Efficiently identifies and segments different scenes within a video. | ||
- Random Music Selection: Chooses background music appropriate for platforms like TikTok and Facebook. | ||
- Automated Watermarking: Adds watermarks to videos to protect and brand your content. | ||
- Custom Video Duration: Sets the average runtime for the output videos according to your needs. | ||
- Direct Logging to Telegram: Keeps a log of actions and updates in a designated Telegram channel. | ||
- AI Voiceover: Incorporates voiceovers using the Narakeet API (Note: Currently non-operational). | ||
|
||
## Technology Stack | ||
- Audio Processing: Utilizes Pydub, cv2, and moviepy for comprehensive audio editing capabilities. | ||
- Video Processing: Employs cv2, numpy, moviepy, and PIL for advanced video manipulation. | ||
- Voice Processing: Integrates with the Narakeet API for generating voiceovers. | ||
- Logging: Implements the Telegram Bot API for real-time logging and notifications. | ||
|
||
## Getting Started | ||
### Prerequisites | ||
Ensure you have Python installed on your system and are familiar with package management using pip. | ||
|
||
### Installation | ||
- Clone the repository to your local machine. | ||
- Install the required dependencies listed in requirements.txt using pip install -r requirements.txt. | ||
- Launch main.py in your preferred IDE or from the command line. | ||
|
||
### Usage Guide | ||
Follow the on-screen prompts to configure the script: | ||
- RAM Limit: Set the maximum RAM usage for the script (up to 12 GB recommended). | ||
- Video Format Selection: Choose the output format tailored for Facebook, TikTok, or both. | ||
- Watermark Options: Select from predefined watermark styles or opt for no watermark. | ||
- Output Quantity: Determine the number of final videos to generate. | ||
- Video Length: Specify the maximum length for each video in seconds. | ||
|
||
## Contributing | ||
Feel free to fork this repository and contribute by adding new features, fixing bugs, or improving the documentation. Your insights and contributions are highly valued. | ||
|
||
## License | ||
|
||
[MIT](https://choosealicense.com/licenses/mit/) | ||
|
||
This project is open-sourced under the MIT License. |