Skip to main content

MCP server for removing silent segments from audio/video files

Project description

Video Silence Remover MCP

A Model Context Protocol (MCP) server for automatically removing silent segments from audio and video files.

Features

  • Silence Detection: Automatically detect silent segments based on configurable threshold
  • Smart Removal: Remove silent parts while preserving audio-video sync
  • Configurable Parameters: Adjust silence threshold, minimum duration, and padding
  • Multi-format Support: Works with both audio and video files

Installation

Install via uvx (recommended):

uvx video-silence-remover-mcp

Or install via pip:

pip install video-silence-remover-mcp

Usage

Run the MCP server:

video-silence-remover-mcp

Requirements

  • Python >=3.12
  • FFmpeg installed on your system

Tools Available

remove_silence

Remove silent segments from audio/video files.

Parameters:

  • media_path: Input media file path (audio or video)
  • output_media_path: Output media file path
  • silence_threshold_db: Silence detection threshold in dBFS (default: -30)
  • min_silence_duration_ms: Minimum silence duration to trigger removal in milliseconds (default: 500)
  • padding_seconds: Buffer time to preserve before/after segments in seconds (default: 0.2)

Example:

remove_silence(
    media_path="/path/to/input.mp4",
    output_media_path="/path/to/output.mp4",
    silence_threshold_db=-35,
    min_silence_duration_ms=1000,
    padding_seconds=0.3
)

License

MIT License

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

mcpcn_video_silence_remover_mcp-0.1.2.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file mcpcn_video_silence_remover_mcp-0.1.2.tar.gz.

File metadata

File hashes

Hashes for mcpcn_video_silence_remover_mcp-0.1.2.tar.gz
Algorithm Hash digest
SHA256 92715aca320e9f9d1f5bc419fc3eef5d2a3a14a7b634157491785b9513945c3d
MD5 34a3eefb4bc9e06f2c87209238a83044
BLAKE2b-256 c4a36ff0b24c7a71ad574ba6d4419a85007c51c675a1d10bb56f4622452f31c4

See more details on using hashes here.

File details

Details for the file mcpcn_video_silence_remover_mcp-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for mcpcn_video_silence_remover_mcp-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3e0a015524891c63736014a7b6256a3f5252d49f281080b8544db7251f1e7fe2
MD5 4d5a5a56adde4d409ca604509dda286b
BLAKE2b-256 2ea43a2bd13d10a49d463f04e6940ab1613eadaa6a6c7bb7fc6e5813b9bec5d0

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