Skip to main content

A command-line video editing tool built in Python for cutting, speeding up, and applying a boomerang effect to MP4 videos.

Project description

VideoSpeed

A command-line video editing tool built in Python for cutting, speeding up, and applying a boomerang effect to MP4 videos. This project leverages FFmpeg for video processing and OpenCV to handle video file properties.

Features

  • Cut segments from MP4 videos.
  • Change the speed of video clips.
  • Apply a boomerang effect by reversing video segments.
  • Simple command-line interface for user interaction.

Installation

To install the VideoSpeed package, use the provided distributions:

  1. Download the wheel or tar.gz file from the dist directory:

    • VideoSpeed-1.0.4-py3-none-any.whl
    • VideoSpeed-1.0.4.tar.gz
  2. Install via pip:

    pip install dist/VideoSpeed-1.0.4-py3-none-any.whl
    

    Or

    pip install dist/VideoSpeed-1.0.4.tar.gz
    

Usage

You can run the tool directly from the command line:

python -m VideoSpeed

Steps:

  1. Select the folder containing your MP4 files (default is the current directory).
  2. Choose the video file from the listed options.
  3. Specify the start and end time for the cut.
  4. Enter the desired speed percentage for the clip.
  5. Optionally, choose to add a boomerang effect.
  6. The processed video will be saved in the same directory as the source file.

Folder Structure

VideoSpeed
├── build/                # Contains build artifacts
├── dist/                 # Distributions for installation
├── docs/                 # Documentation files
│   ├── CHANGELOG.md      # Changes in each version
│   ├── folder-structure.md# Describes folder structure
│   └── LoggedExample-spec.md # Specifications for examples
├── src/                  # Source code directory
│   ├── VideoSpeed/        # Main package
│   ├── setup.py          # Installation script
└── README.md             # Project documentation

Requirements

  • Python 3.6 or higher
  • FFmpeg installed on your system
  • OpenCV library (opencv-python)

You can install OpenCV using pip:

pip install opencv-python

Contributing

Contributions are welcome! Please fork the repository and submit a pull request.

License

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

Acknowledgements

  • FFmpeg: A powerful multimedia framework for handling video files.
  • OpenCV: A library for computer vision tasks.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

videospeed-1.0.4.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

videospeed-1.0.4-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file videospeed-1.0.4.tar.gz.

File metadata

  • Download URL: videospeed-1.0.4.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for videospeed-1.0.4.tar.gz
Algorithm Hash digest
SHA256 c43032c93102154d4814cf3285e6f9a3efa4c5202ed4c4cb2741d2c0c0fb4ab3
MD5 89ee6dd7a6979b716076a515af51090c
BLAKE2b-256 1e7bfa06c27153b79672f3dcdfcfda20eb83994d215197203be5603c2f7afe30

See more details on using hashes here.

File details

Details for the file videospeed-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: videospeed-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for videospeed-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d343720a945859032d8f9a456999cf3aee4b2a7dbf3fbb6d54939281b1321be1
MD5 528af45dbbd4d9f3cd05d082d4d545c3
BLAKE2b-256 000ba1aab6f7fbcb0616dac2708f8f565e471078a203d79a3e79e0ae5be4db2e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page