Skip to content

A web-based tool for splitting videos into multiple parts based on custom timestamps. Built with Python, Flask, and FFmpeg.

Notifications You must be signed in to change notification settings

ah-med/video-splitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Video Splitter

A web-based tool that allows you to split videos into multiple parts based on custom timestamps.

Features

  • Upload video files (supports MP4, AVI, MOV, and MKV formats)
  • Preview uploaded videos
  • Add split points at specific timestamps
  • Download split video parts as a ZIP file
  • Modern and intuitive user interface

Requirements

  • Python 3.7 or higher
  • FFmpeg (required for video processing)

Installation

  1. Clone this repository:
git clone <repository-url>
cd video-splitter
  1. Create a virtual environment and activate it:
python -m venv venv
source venv/bin/activate  # On Windows, use: venv\Scripts\activate
  1. Install the required dependencies:
pip install -r requirements.txt
  1. Install FFmpeg:
  • On macOS: brew install ffmpeg
  • On Ubuntu/Debian: sudo apt-get install ffmpeg
  • On Windows: Download from FFmpeg website

Usage

  1. Start the application:
python app.py
  1. Open your web browser and navigate to http://localhost:5000

  2. Upload a video file using the file input

  3. Use the video player to navigate to desired split points and click "Add Split Point"

  4. Click "Split Video" to process the video

  5. Download the resulting ZIP file containing all split video parts

Notes

  • Maximum file size: 500MB
  • Supported video formats: MP4, AVI, MOV, MKV
  • The application creates temporary files during processing, which are automatically cleaned up

About

A web-based tool for splitting videos into multiple parts based on custom timestamps. Built with Python, Flask, and FFmpeg.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published