Code Monkey home page Code Monkey logo

rereelify's Introduction

ReReelify

Replicate Instagram Theme Page Videos with Ease!

Ever scrolled through Instagram and saw those amazing theme pages with others' videos on top of their logo and a small caption.

Introduction

ReReelify is your ultimate tool to help you create awesome Instagram Theme Pages with ease. With ReReelify you can use someone elses videos and put your logo and your preferred caption only keeping the original source video!

Features

  • Automatic Cropping: Remove those pesky black bars from your videos seamlessly.
  • Logo Integration: Add your custom logo to videos.
  • Dynamic Text Generation: Use OCR and Open Source LLMs to create engaging text variations.
  • Aspect Ratio Conversion: Effortlessly convert videos to the 9:16 format ideal for social media.
  • Customizable Captions: Change how you want to keep the caption by editing the LLM prompt.

Note

Here's what your source video should look like:

Example Source Video

Instructions

  1. Install Tesseract-OCR
  2. https://github.com/UB-Mannheim/tesseract/wiki
  3. Clone the Repository: Clone this repository to your local machine.
  4. git clone https://github.com/yourusername/ReReelify.git
  5. Install Dependencies: Install the required Python packages.
  6. pip install -r requirements.txt
  7. Configure Parameters: Adjust the parameters at the bottom of the script to customize your video processing.
  8. Hugging Face Account: Provide your Hugging Face account credentials in the 9th line.
  9. Run the Script: Execute the script to start processing your videos.
  10. python ReReelify.py

Parameters

  • input_folder: Path to your input video folder.
  • output_folder: Path to your output video folder.
  • logo_path: Path to your custom logo image.
  • logo_scale: Scale of the logo relative to the video width (e.g., 0.2 for 20%).
  • text_padding: Padding for the text from the video edges.
  • element_padding: Padding between logo, text, and video.

License

This project is licensed under the MIT License. See the LICENSE file for details.

rereelify's People

Contributors

dilukshann7 avatar

Stargazers

 avatar Jyothish Kumar M S 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.