Skip to content

This Python script allows you to split a video into multiple parts and then join them back together.

License

Notifications You must be signed in to change notification settings

TorranceTech/Video-Splitter-and-Joiner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Video-Splitter-and-Joiner

This Python script allows you to split a video into multiple parts and then join them back together. It was created with the intention of handling long videos, splitting them without loss of quality. In addition, it offers several options to customize the process, including changing the video format, time interval, output directory, and video ratio. You can choose standard ratios for TikTok, YouTube, and Instagram.

Features

Split Videos: You can drag and drop a video file into the CLI and the script will split the video into 10-second segments (this can be changed through the menu). The video segments will be saved in a folder on the desktop. Join Videos: The script can also join multiple video segments into a single video. Customization: You can customize the video format, the time interval for splitting, the output directory, and the video ratio. Standard ratios for TikTok, YouTube, and Instagram are available.

Examples of videos ratios:

  • TikTok: 9:16
  • YouTube: 16:9
  • Instagram (square): 1.1

Installation

To use this script, you will need to install some dependencies. Here are the steps to do this: pip install argparse os numpy moviepy pillow colorama

First, make sure you have Python installed on your system. If not, you can download it here. https://www.python.org/downloads/

Next, you will need to install some Python libraries. You can do this using the following command in your terminal: to run the program, you just need to click on the script and it will automatically open the Command Prompt (CLI). Alternatively, you can use python3 script.py if you prefer.

Screenshot 2024-05-27 041244

About

This Python script allows you to split a video into multiple parts and then join them back together.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages