Giter Site home page Giter Site logo

content-creator's Introduction

Content Creator

Screenshot 1

Project Description

As host of the podcast @Experiences404 one of the main problems is the creation of content to different plataforms. After recording an episode, we need to split this large video to different clips that uses a basic design and need to be in 9:16 aspect ratio.

This program tooks a base video (16:9) and based on a configuration file create different clips that can be post them on TikTok, Instagram and Facebook.

Table of Contents

Technologies Used

  • Python
  • MoviePy
  • Conventional Commits

Features

  • Generate a configuration file
  • Create diferent clips based on a base video
  • Each clip can have footer text (Used to set the brand)
  • You can add a common end clip to your videos to make them look standard
  • You can customize the background, colors and font of your clips
  • You can use a preview mode to check if result match with what you want.

Installation

  1. Clone the repository: git clone [email protected]:boceto1/boceto1/content-creator.git
  2. Navigate to the project directory: cd content-creator
  3. Install dependencies: pip install requirements.txt

Usage

Create Project File

  1. Run python main.py -c [nameProject].
  2. Edit [nameProject].json file to add the location of your base video, endclip, styles and clips. It would like something like this.
{
  "projectName": "Default Project",
  "baseVideo": "./test-video.mp4",
  "endClip": "./templates/endVideo.mp4",
  "styles": {
    "backgroundColor": "#1E1E1E",
    "text": {
      "general": {
        "font": "./resources/OpenSans-ExtraBold.ttf",
        "color": "ffffff"
      },
      "footer":  {
        "font": "./resources/BebasNeue-Regular.ttf",
        "color": "#fbbc09"
      }
    }
  },
  "clips": [
    {
      "name": "De drones a developer",
      "time": [831, 950],
      "text": ["Top Text", "Bottom Text"]
    }
  ]
}

Note: You can use fonts that are allowed by MoviePy. You can check here to know which fonts are supported. But also, you can add a custom file using a .ttf file.

Preview Clips

  1. Run python main.py -p ./[projectName].json
  2. It is going to create a dir with the name of your project. Inside this file you can have small clips with just text and styles. (No video).

Note: It's useful when you need to know how your clips are going to look. Process to generate clips takes time so this option helps you to check if all is fine before generate clips.

Generate Clips

  1. Run python main.py -g ./[projectName].json
  2. It is going to create a dir with the name of your project. Inside this file you can all your clips.

Screenshots

  • Preview Mode

Screenshot 1

  • Generate Mode

Screenshot 1

Roadmap

  • Support the extraction of audio and creation of banners for Spotify
  • Download videos for youtube or twitch directly
  • Add more customizations

License

This project is licensed under the MIT License.

Contact

For any questions or inquiries, feel free to reach out to me at [email protected].

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.