# Lecture Replay Slicer

> Automatically slice long videos by speaker, generate aligned subtitles, and produce transcripts, summaries, and PPTs.

Lecture Replay Slicer is a free AI agent skill on Agensi by Yuan-Dong ZHUANG, in Education & Learning. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Yuan-Dong ZHUANG](https://www.agensi.io/creators/yuan-dong-zhuang)
- Category: [Education & Learning](https://www.agensi.io/skills/education-learning)
- Version: 1.0
- Last updated: 2026-12-01
- Security: scan passed (2026-12-01); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/lecture-replay-slicer
- Tags: education, automation, whisper-asr, subtitle-generation, transcription-tool, lecture, video-slicing, transcript

## About this skill

Processing long-form lecture replays or meeting recordings manually is a massive time sink. This skill automates the entire pipeline from video acquisition to speaker-based slicing and document generation, ensuring your transcriptions actually align with the audio.

### What it does
- **Automated Slicing** splits long videos into individual segments based on speakers or agenda items using lossless stream copying.
- **Environment-Aware Transcription** detects your hardware to select the optimal ASR engine and model for high-speed, accurate Chinese subtitling.
- **Alignment Validation** performs automated checks every 300 seconds to detect timeline drift or hallucinations before final export.
- **Multi-Format Deliverables** generates full transcripts, summaries, Mermaid mind maps, and reconstructed PPT slides for every segment.
- **Smart Schedule Parsing** maps wall-clock schedules from PDFs or images to video timestamps using anchor point alignment.

### How it works
1. Run the environment detection script to select the best ASR model for your specific RAM and GPU setup.
2. Provide a video URL or local file along with an optional schedule image to generate a CSV boundary table.
3. Execute the transcription and alignment check to fix any drifting segments or transcription errors.
4. Run the slicing and document generation commands to produce organized folders containing subtitled clips and supporting docs.

### Frameworks & tools
This skill utilizes `ffmpeg` for video processing, `faster-whisper` or `mlx-whisper` for ASR, `pandoc` for document conversion, and `Mermaid` for mind map generation.

### Why this beats prompting it yourself
Prompting alone cannot handle multi-gigabyte video files or ensure frame-perfect subtitle alignment. This skill provides a structured CLI-driven workflow that prevents common ASR "hallucinations" and handles the heavy lifting of lossless video editing that LLMs cannot perform directly.

### Use cases
- Split a 4-hour multi-speaker conference recording into individual sessions for YouTube or Bilibili.
- Subtitle and summarize university lecture series for easier student review and searchability.
- Convert internal company training webinars into indexed knowledge base segments with full text transcripts.
- Recover slide content from a live stream by generating reconstructed PPT documents and mind maps.

### Known limitations
The skill requires local installation of ffmpeg and ASR engines. Web-based video downloading is limited to platforms where the user has authorized access or unencrypted H5 streams.

## Requires

- Python 3.10+
- Git
- FFmpeg
- yt-dlp
- mlx-whisper (Apple Silicon) or faster-whisper (other platforms)

Only process content you are authorized to watch (your own course replays, public streams, your own recordings). Set HF_ENDPOINT=https://hf-mirror.com in China for faster model downloads.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Lecture Replay Slicer skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What are the primary problems this skill solves for video recordings?

The skill automates the extraction of individual speaker segments from long lecture or meeting recordings, providing synchronized subtitles and a full suite of documents including summaries, mind maps, and PPT reconstructions. It solves the problem of manual video editing and ensures that transcripts remain perfectly aligned with the audio timeline.

### What materials do I need to provide to start the slicing process?

You need to provide a video file or a URL from supported platforms like Bilibili, YouTube, or H5 streams. If you have a conference schedule in image or PDF format, the skill can use it to automatically map the exact start and end times for each speaker segment.

### What specific file formats and deliverables will I receive after processing?

For every video segment, you receive a subtitle-embedded MP4 file, an external SRT subtitle file, a text transcript, a concise summary, a Mermaid-based mind map, and a reconstructed PPT document or screenshot collection.

### How does the skill ensure the subtitles are actually accurate and in sync?

The skill uses an automated alignment check every 300 seconds to detect timeline drift or transcription errors. If a segment fails this check, it allows for targeted repairs of specific time ranges without needing to re-process the entire hours-long video.

### Are there any types of videos or technical limitations I should know about?

The skill cannot process encrypted video streams or platforms where the user does not have authorized access. Additionally, it requires the local presence of specific tools like ffmpeg and ASR engines to perform the heavy video processing and transcription tasks.

### How do I tell my AI agent to begin using this skill?

You can trigger it by asking your agent to slice a lecture replay, split a meeting by speaker, or generate a transcript and mind map from a video link. You can also use brand-specific phrases like asking the agent to carve or slice the video in the style of Pao Ding or Dongsheng.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
