Evo Video Silence Remover logo

Evo Video Silence Remover

Community
Zhang-Henry
evo-video-silence-remover

Remove silence and non-teaching content from teaching videos. Detects openings and pauses using data-driven audio energy and visual frame-difference analysis. Produces a compressed video and JSON compression report.

Overview

PublisherZhang-Henry
RepositoryCoEvoSkills
Skill nameevo-video-silence-remover
Stars
83
Forks
9
Bundled files
4
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 4 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by Zhang-Henry on GitHub. Read the source before you install it.

Installation

Install the Evo Video Silence Remover AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Zhang-Henry/CoEvoSkills/tree/main/artifacts/skills/video-silence-remover/evo-video-silence-remover
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Zhang-Henry/CoEvoSkills.git /tmp/CoEvoSkills
mkdir -p .claude/skills
cp -r /tmp/CoEvoSkills/artifacts/skills/video-silence-remover/evo-video-silence-remover .claude/skills/evo-video-silence-remover
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Evo Video Silence Remover in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Evo Video Silence Remover on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Evo Video Silence Remover is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Video Silence Remover Skill

Overview

Removes non-teaching content (openings, pauses) from teaching videos by combining audio energy analysis with visual frame differencing. All decision thresholds are derived from the input data distribution at runtime.

Scripts

  • scripts/utils.py – audio/frame extraction, RMS energy, frame diffs, duration queries
  • scripts/detect_segments.py – opening and pause detection with data-driven thresholds
  • scripts/edit_video.py – ffmpeg segment extraction, concatenation, report generation
  • scripts/run_pipeline.py – end-to-end orchestration and output validation

Usage

python
import sys
sys.path.insert(0, '/app/environment/skills/evo-video-silence-remover/scripts')
from run_pipeline import run_pipeline, validate_output

report = run_pipeline(
    input_video='data/input_video.mp4',
    output_video='compressed_video.mp4',
    report_path='compression_report.json',
    window_sec=0.25,
    min_pause_sec=2.0,
)

ok, issues = validate_output('compressed_video.mp4', 'compression_report.json')
if ok:
    print("All checks passed!")
else:
    for issue in issues:
        print(f"Issue: {issue}")

How It Works

Opening Detection

  1. Extracts grayscale frames and computes mean absolute differences per block.
  2. Derives a static-vs-active threshold from the frame-diff distribution using a gap-analysis method on the sorted lower half of block means.
  3. Identifies the contiguous truly-static prefix from the video start.
  4. Searches for the largest relative audio energy drop near the static boundary to locate the transition into teaching content.
  5. Refines the boundary to the nearest local energy minimum.

Pause Detection

Three complementary strategies scan the teaching portion of the audio:

  • Adaptive local windows – compares energy to a threshold derived from local and global statistics so that quiet teaching regions do not mask pauses.
  • Global percentile – uses the midpoint of the 10th and 25th percentiles of the teaching-content energy distribution.
  • Running-median ratio – flags sustained dips below a data-derived fraction of the smoothed energy baseline.

Detections from all strategies are merged.

Video Editing

  • Computes keep intervals as the complement of remove intervals.
  • Extracts each keep segment to an intermediate transport-stream file.
  • Concatenates via the ffmpeg concat demuxer with re-encoding.
  • Measures the actual output duration for accurate report values.

Report

The JSON report contains original, compressed, and removed durations, a compression percentage, and a list of removed segments with start, end, and duration fields. Removed duration and percentage are derived from the measured original and compressed durations.

Parameters

All parameters have defaults justified by signal-processing conventions and are exposed as function arguments:

ParameterDefaultPurpose
window_sec0.25RMS energy analysis window
min_pause_sec2.0Minimum pause duration to remove
local_window_sec30.0Local context for adaptive thresholds
block_sec5.0Frame-diff averaging block size
context_sec5.0Context for energy-drop detection
min_drop_ratio0.6Max after/before ratio for transitions
refine_sec3.0Boundary refinement search radius

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Evo Video Silence Remover AI skill do?

Remove silence and non-teaching content from teaching videos. Detects openings and pauses using data-driven audio energy and visual frame-difference analysis. Produces a compressed video and JSON compression report.

Why use Evo Video Silence Remover on TypingMind?

Because you install it once and use it with any model. Evo Video Silence Remover is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Evo Video Silence Remover in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Zhang-Henry/CoEvoSkills/tree/main/artifacts/skills/video-silence-remover/evo-video-silence-remover. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Evo Video Silence Remover?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Evo Video Silence Remover?

As many as you like. As long as a model supports skills, you can use Evo Video Silence Remover with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Evo Video Silence Remover AI skill free?

Yes. It is published on GitHub by Zhang-Henry under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇