Skip to content

About

A professional, modern GUI application for splitting videos into smaller segments with precision and ease.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

Β 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

SYN Video Cutter

image

A professional, modern GUI application for splitting videos into smaller segments with precision and ease.

Python PyQt5 FFmpeg License

Overview

SYN Video Cutter is a powerful, user-friendly video splitting tool that allows you to cut large videos into smaller, manageable segments. Whether you're preparing content for social media, creating video tutorials, or organizing your video library, this tool provides professional-grade video processing with an intuitive interface. image

Key Features

  • 🎯 Precision Cutting: Split videos to exact minute:second durations (e.g., 2:20 segments)
  • πŸ–±οΈ Drag & Drop Interface: Simply drag video files into the application
  • ⚑ Background Processing: Non-blocking UI with real-time progress tracking
  • 🎨 Modern Design: Beautiful gradient interface with smooth animations
  • πŸ“Š Live Preview: See created segments with file sizes and play buttons
  • πŸ”§ Quality Control: Choose from High/Medium/Low quality presets
  • πŸ”Š Audio Options: Keep or remove audio from segments
  • πŸ“ Custom Output: Choose your preferred output directory
  • πŸš€ Batch Processing: Process multiple segments automatically
  • πŸ“‹ Detailed Logging: Real-time processing logs with emoji indicators

Supported Formats

  • Input: MP4, AVI, MOV, MKV, WMV, FLV, WEBM, M4V
  • Output: MP4 (H.264 with AAC audio)

πŸ›  Installation & Setup

Prerequisites

  1. Python 3.7+ - Download Python
  2. FFmpeg - Required for video processing

Installing FFmpeg

Windows:

  1. Download FFmpeg from https://ffmpeg.org/download.html
  2. Extract to C:\ffmpeg\
  3. Add C:\ffmpeg\bin to your system PATH
  4. Verify installation: Open CMD and run ffmpeg -version

macOS:

# Using Homebrew
brew install ffmpeg

Linux (Ubuntu/Debian):

sudo apt update
sudo apt install ffmpeg

Python Dependencies

Install required packages:

pip install PyQt5

Quick Start

  1. Clone or download the repository
  2. Install dependencies
  3. Run the application:
python cut_video.py

How to Use

Basic Workflow

  1. Launch Application

    python cut_video.py
  2. Load Video File

    • Drag & drop a video file into the drop area, OR
    • Click the drop area to browse and select a file
  3. Configure Settings

    • Segment Duration: Set minutes and seconds (e.g., 2 min 20 sec)
    • Video Quality: Choose High/Medium/Low
    • Audio: Toggle to keep or remove audio
    • Output Directory: Choose where segments will be saved
  4. Start Processing

    • Click "βœ‚ Start Cutting Video"
    • Monitor progress in real-time
    • View created segments in the preview panel
  5. Access Results

    • Use "πŸ“‚ Open Output Folder" to view all segments
    • Click "▢️ Play" on any segment to preview
    • Segments are named: videoname_part_001.mp4, videoname_part_002.mp4, etc.

Advanced Features

Quality Settings Explained

  • High (Best): CRF 18 - Excellent quality, larger files
  • Medium (Balanced): CRF 23 - Good quality, moderate size
  • Low (Smaller files): CRF 28 - Compressed, smaller files

Processing Options

  • Keep Original Audio: Maintains audio track with 128k AAC encoding
  • Remove Audio: Creates video-only segments (smaller file sizes)
  • Custom Output Directory: Organize segments in specific folders

Building Executable

Using PyInstaller

  1. Install PyInstaller

    pip install pyinstaller
  2. Create Executable

    pyinstaller --onefile --windowed --name "SYN_Video_Cutter" cut_video.py
  3. Advanced Build (Recommended)

    pyinstaller --onefile --windowed --name "SYN_Video_Cutter" --icon=icon.ico --add-data "README.md;." cut_video.py

Build Options Explained

  • --onefile: Creates a single executable file
  • --windowed: Removes console window (GUI only)
  • --name: Sets the executable name
  • --icon: Adds custom icon (optional)
  • --add-data: Includes additional files

Distribution Notes

  • FFmpeg Requirement: Users must install FFmpeg separately
  • Executable Size: ~15-20MB (includes PyQt5)
  • Compatibility: Windows 10+, macOS 10.14+, Linux (major distros)

πŸ“ Project Structure

SYN_Video_Cutter/
β”œβ”€β”€ cut_video.py           # Main application file
β”œβ”€β”€ README.md              # This documentation
β”œβ”€β”€ requirements.txt       # Python dependencies
β”œβ”€β”€ build/                 # PyInstaller build files
β”œβ”€β”€ dist/                  # Generated executables
└── examples/              # Example videos (optional)

πŸ”§ Configuration

Default Settings

  • Segment Duration: 2 minutes 20 seconds
  • Quality: High (CRF 18)
  • Audio: Enabled
  • Output: video_segments/ folder next to input video

Environment Variables

  • FFMPEG_PATH: Custom FFmpeg installation path
  • SYN_VC_OUTPUT: Default output directory

πŸ› Troubleshooting

Common Issues

"FFmpeg not found" Error

  • Ensure FFmpeg is installed and in system PATH
  • Test with ffmpeg -version in terminal/command prompt

Application won't start

  • Check Python version (3.7+ required)
  • Verify PyQt5 installation: pip show PyQt5

Video processing fails

  • Check video file isn't corrupted
  • Ensure sufficient disk space for output segments
  • Try a different video format

Slow processing

  • Lower quality setting for faster processing
  • Close other applications to free system resources
  • Use SSD storage for better performance

Performance Tips

  • Use High Quality only for final outputs
  • Medium Quality for most use cases
  • Remove Audio if not needed (faster processing)
  • Larger segments process faster than many small ones

🀝 Contributing

We welcome contributions! Here's how you can help:

  1. Report Bugs: Use GitHub Issues to report problems
  2. Feature Requests: Suggest new functionality
  3. Code Contributions: Fork, improve, and submit pull requests
  4. Documentation: Help improve this README

Development Setup

# Clone repository
git clone https://github.com/im-syn/VideoCutterGUI.git
cd VideoCutterGUI

# Install development dependencies
pip install -r requirements.txt
pip install pytest black flake8

# Run tests
pytest tests/

# Format code
black cut_video.py

πŸ“‹ Requirements

System Requirements

  • OS: Windows 10+, macOS 10.14+, Ubuntu 18.04+
  • RAM: 4GB minimum, 8GB recommended
  • Storage: 100MB for application, additional space for video processing
  • CPU: Multi-core processor recommended for faster processing

Python Dependencies

PyQt5>=5.15.0

External Dependencies

  • FFmpeg: Latest version recommended
  • System codecs: H.264 and AAC support

Use Cases

Content Creation

  • YouTube Videos: Split long recordings into episodes
  • Social Media: Create clips for Instagram, TikTok
  • Tutorials: Break down long tutorials into chapters

Professional Use

  • Video Editing: Prepare segments for editing software
  • Archival: Organize large video files
  • Distribution: Create smaller files for easier sharing

Personal Use

  • Home Videos: Split family recordings by event
  • Backup: Create manageable backup segments
  • Storage: Reduce single file sizes for cloud storage

πŸ”„ Version History

v1.0.0 (Current)

  • βœ… Initial release
  • βœ… Modern PyQt5 interface
  • βœ… FFmpeg integration
  • βœ… Drag & drop support
  • βœ… Real-time progress tracking
  • βœ… Quality presets
  • βœ… Audio options
  • βœ… GitHub integration

Planned Features (v1.1.0)

  • πŸ”„ Batch file processing
  • πŸ”„ Video preview thumbnails
  • πŸ”„ Custom naming patterns
  • πŸ”„ Resume interrupted processing
  • πŸ”„ Command-line interface

Support

Getting Help

  • GitHub Issues: Report bugs and request features
  • Documentation: Check this README for detailed info
  • Community: Join discussions in GitHub Discussions

Developer

  • GitHub: @im-syn
  • Support: ⭐ Star the repository if you find it useful!

πŸ“œ License

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

MIT License

Copyright (c) 2025 SYN

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.

Acknowledgments

  • FFmpeg Team: For the powerful video processing engine
  • Qt/PyQt5: For the excellent GUI framework
  • Community: For feedback and contributions

Made with ❀️ by SYN

⭐ Star this repository if you find it useful! ⭐

πŸ› Report Bug β€’ ✨ Request Feature β€’ πŸ’¬ Discussions

About

A professional, modern GUI application for splitting videos into smaller segments with precision and ease.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages