Axlfc / edit-movie

Home Page:https://axlfc.github.io/#EditMovie

Repository from Github https://github.comAxlfc/edit-movieRepository from Github https://github.comAxlfc/edit-movie

edit-movie

Edit-movie is a Python script that allows you to perform various video editing tasks, including converting between horizontal and vertical videos, maintaining aspect ratios, stretching, and more. It utilizes the MoviePy library for video editing.

Table of Contents

  1. Overview
  2. Installation
  3. Usage
  4. TODO

Overview

Edit-movie simplifies the video editing process, providing a set of functions to manipulate video and audio clips. Whether you need to convert video orientations, maintain aspect ratios, or automate uploads to various platforms, edit-movie has you covered.

Installation

  1. Clone the repository:

    git clone https://github.com/Axlfc/edit-movie
    cd edit-movie
  2. Install required dependencies:

    pip install moviepy

Usage

  1. Import the script in your Python code:

    from edit_movie import *
  2. Utilize the provided functions based on your editing needs. Example:

    # Convert vertical videos to horizontal
    video_clips = import_videos("video1.mp4", "video2.mp4")
    convert_vertical_to_horizontal(video_clips)
  3. Run your Python script.

TODO

  1. Prove consistent horizontal-to-vertical video and vertical-to-horizontal logic

    • Description: Validate and ensure consistent functionality for converting between horizontal and vertical videos.
  2. Prove music video short based on images or video input can be edited and exported correctly

  3. Functions to automate upload videos to YouTube (or YT shorts) to TikTok and IG reels automatically after being exported

    • Description: Implement functions to automate video uploads to various platforms.
  4. Keep aspect ratio

    • Description: Ensure that the aspect ratio is maintained during video editing.
  5. Stretch if needed

    • Description: Implement stretching functionality if required.
  6. Do not upscale

    • Description: Restrict upscaling of videos during editing.
  7. Add black bars if needed

    • Description: Implement the addition of black bars to maintain the aspect ratio.
  8. Add white bars if needed

    • Description: Implement the addition of white bars to maintain the aspect ratio.
  9. Add blurred image if needed

    • Description: Implement the addition of a blurred image if required.
  10. Crop image if needed

    • Description: Implement image cropping functionality if required.
  11. change_image_proportions function

    • Description: Implement the change_image_proportions function.

About

https://axlfc.github.io/#EditMovie


Languages

Language:Python 89.8%Language:Shell 10.2%