Code Monkey home page Code Monkey logo

das-splitorjoin's Introduction

das-splitOrJoin

This Python script allows you to split a video into several smaller parts and then join those parts back together. It uses the moviepy library to handle the video operations and tkinter for the user interface.

The main motivation for creating this script was to facilitate the use of Topaz Video AI. Topaz Video AI is a powerful tool for enhancing video quality, but it doesn't allow pausing and resuming a task. By splitting the video into smaller parts, each part can be enhanced separately. After all parts are enhanced, they can be joined back together.

Dependencies

The script uses the following Python libraries:

  • os
  • tkinter
  • moviepy

You only need to install moviepy:

  • pip install moviepy

Note: os and tkinter are part of the Python Standard Library and should be available by default.

How to Use

  1. Run the script using Python 3.
  • python split_join.py
  1. The script will ask you whether you want to split or join videos. Enter '1' to split a video, or '2' to join videos.

  2. If you choose to split a video:

    • The script will ask you how many parts you want to split the video into.
    • A file dialog will open for you to select the video to split.
    • A directory dialog will open for you to select where to save the split videos.
    • The script will then split the video into the specified number of parts.
  3. If you choose to join videos:

    • The script will ask you to select at least two videos to join together.
    • After selecting the first two videos, the script will ask you whether you want to add another video. You can keep adding videos as long as you answer 'y'.
    • Once you answer 'n', a file dialog will open for you to select where to save the final joined video.
    • The script will then join all selected videos into a single video.

Enjoy your video processing!

das-splitorjoin's People

Contributors

devarqsangoi avatar

Watchers

Kostas Georgiou avatar  avatar

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.