Code Monkey home page Code Monkey logo

thatsinewave / video-processor Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 74 KB

Video Processor script that automates AD making

Home Page: https://github.com/ThatSINEWAVE/Video-Processor

License: MIT License

Python 100.00%
moviepy pydub video-processing watermarking automation cv2 music-selection numpy open-source pil scene-detection telegram-bot-api video-editing voiceover ad-production good-first-issue good-first-pr good-first-project good-first-contribution thatsinewave

video-processor's Introduction

Video Processor

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

This project is open-sourced under the MIT License.

video-processor's People

Contributors

dependabot[bot] avatar thatsinewave avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.