Skip to main content

A tool to remove silent parts from video files

Project description

SilenceCutter

SilenceCutter is a Python application that automatically detects and removes silent parts from video files, allowing you to create smoother and more seamless videos.

Features

  • Silence Detection: Detects silent sections in videos.
  • Silence Removal: Removes silent parts to make videos smoother.
  • Merges Close Segments: Combines non-silent segments that are close to each other.
  • Smooth Transitions: Adds padding durations to the beginning and end of segments for smoother cuts.
  • User-Friendly: Simple and easy to use.

Requirements

  • Python 3.x
  • moviepy
  • pydub

Installation

pip install silencecutpy

Usage

silencecutpy --input project/silencecut-py/example_input.mp4 --output output.mp4

Parameters

  • --input: Input video file
  • --output: Output video file
  • --silence_threshold: Silence threshold value (default: -30)
  • --min_silence_length: Minimum silence duration (default: 350)
  • --padding_duration: Transition duration (default: 100)
  • --max_gap: Maximum segment gap to be merged (default: 100)
  • --temp_dir: Directory where temporary files will be saved
  • --verbose: Show detailed outputs

Project details


Release history Release notifications | RSS feed

This version

1.2

Download files

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

Source Distribution

silencecutpy-1.2.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

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

silencecutpy-1.2-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file silencecutpy-1.2.tar.gz.

File metadata

  • Download URL: silencecutpy-1.2.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.4

File hashes

Hashes for silencecutpy-1.2.tar.gz
Algorithm Hash digest
SHA256 9e24031a9a7e699d75328a6e09fa3e8d6efd0ea498046cd62c200ba488a3c143
MD5 40a189505ff8fdc3414c39495a0b7949
BLAKE2b-256 5cdf5f4a95e06f755c8c88ae2c4b05da79b9bc0d7ef17dfe241287b44b3f97db

See more details on using hashes here.

File details

Details for the file silencecutpy-1.2-py3-none-any.whl.

File metadata

  • Download URL: silencecutpy-1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.4

File hashes

Hashes for silencecutpy-1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e57922908ec8498faa2951dae0f8bb4ca087686da05cfff2f2cb4f843d1c2cab
MD5 fee70677308449f5e1e753e4244705e5
BLAKE2b-256 978618019402b353ec4642879fe3e0c46209382a49116cc43494dd4150cc8188

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