# modelscope/funclip

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/modelscope-funclip).**

5,850 stars · 704 forks · Python · MIT

## Links

- GitHub: https://github.com/modelscope/FunClip
- Homepage: https://www.funasr.com
- awesome-repositories: https://awesome-repositories.com/repository/modelscope-funclip.md

## Topics

`ai-tools` `ai-video-editing` `asr` `auto-subtitles` `chinese` `content-creation` `funasr` `gradio` `llm` `paraformer` `speech-recognition` `speech-to-text` `srt` `subtitles-generator` `transcription` `video-clip` `video-editing` `video-processing` `video-subtitles` `whisper-alternative`

## Description

FunClip is an open-source tool that transcribes speech from video files and clips segments based on text, speaker, or AI analysis. It combines speech recognition with speaker diarization, audio event detection, and visual content understanding to identify and extract relevant portions of a video.

The tool distinguishes itself through several integrated capabilities. It supports hotword-weighted speech recognition, which improves transcription accuracy for specific terms like names or jargon by boosting their probability during decoding. A large language model can interpret the transcribed text to automatically select video segments based on natural language prompts. Speaker diarization separates and labels audio segments by speaker identity, enabling clipping by a chosen speaker. Additionally, a visual-content understanding model analyzes video frames to select clips when the transcript alone is insufficient.

Beyond these core differentiators, FunClip generates SRT subtitle files for both the full video and each clipped segment. It provides a command-line interface for headless, scriptable execution of the entire recognition and clipping pipeline, as well as a web service interface accessible locally or over a network for browser-based use.

## Tags

### Graphics & Multimedia

- [Video Clip Extraction](https://awesome-repositories.com/f/graphics-multimedia/video-content-repurposing/video-clip-extraction.md) — An open-source tool that transcribes video speech and clips segments by text, speaker, or AI analysis.
- [Command-Line Video Clippers](https://awesome-repositories.com/f/graphics-multimedia/command-line-video-clippers.md) — Run the recognition and clipping workflow directly from a terminal for automated or scripted use. ([source](https://cdn.jsdelivr.net/gh/modelscope/funclip@main/README.md))
- [AI-Assisted Clip Selectors](https://awesome-repositories.com/f/graphics-multimedia/video-content-repurposing/video-clip-extraction/ai-assisted-clip-selectors.md) — Using large language models to analyze transcripts and automatically select relevant video segments based on user prompts.
- [AI-Assisted Clips](https://awesome-repositories.com/f/graphics-multimedia/video-content-repurposing/video-clip-extraction/ai-assisted-clips.md) — Use a large language model to analyze a transcript and automatically select clip segments based on your prompt. ([source](https://cdn.jsdelivr.net/gh/modelscope/funclip@main/README.md))
- [Text-Based Video Clippers](https://awesome-repositories.com/f/graphics-multimedia/video-content-repurposing/video-clip-extraction/text-based-video-clippers.md) — Extract video segments whose transcribed text matches words or phrases you specify. ([source](https://github.com/modelscope/funclip))
- [Transcript-Based Video Clippers](https://awesome-repositories.com/f/graphics-multimedia/video-content-repurposing/video-clip-extraction/transcript-based-video-clippers.md) — Extract video segments that match text phrases you select from the transcription results. ([source](https://github.com/modelscope/funclip))
- [Visual-Content Clips](https://awesome-repositories.com/f/graphics-multimedia/video-content-repurposing/video-clip-extraction/visual-content-clips.md) — Selecting video segments by analyzing both visual content and audio when transcript alone is insufficient. ([source](https://cdn.jsdelivr.net/gh/modelscope/funclip@main/README.md))
- [LLM-Based Transcript Selectors](https://awesome-repositories.com/f/graphics-multimedia/video-transcript-analysis/llm-based-transcript-selectors.md) — Uses a large language model to interpret transcribed text and select relevant video segments based on natural language prompts.
- [LLM-Based Video Clippers](https://awesome-repositories.com/f/graphics-multimedia/video-transcript-analysis/llm-based-video-clippers.md) — Use a large language model to interpret the transcript and automatically pick relevant video segments. ([source](https://github.com/modelscope/funclip))

### Artificial Intelligence & ML

- [Hotword Boosts](https://awesome-repositories.com/f/artificial-intelligence-ml/audio-transcription/transcription-apis/contextual-accuracy-improvements/hotword-boosts.md) — Improves speech recognition accuracy for specific terms by marking them as hotwords.
- [Speaker Diarizers](https://awesome-repositories.com/f/artificial-intelligence-ml/detection-error-handling/voice-activity-detection/speaker-diarizers.md) — Separates and labels audio segments by speaker identity using clustering of voice embeddings.
- [Speaker-Based Video Clippers](https://awesome-repositories.com/f/artificial-intelligence-ml/speaker-diarization/speaker-based-video-clippers.md) — Identify speakers in a video using speaker recognition and clip segments belonging to a chosen speaker. ([source](https://cdn.jsdelivr.net/gh/modelscope/funclip@main/README.md))
- [Automated Video Transcribers](https://awesome-repositories.com/f/artificial-intelligence-ml/speech-transcription/automated-video-transcribers.md) — Transcribing speech from video files into text with accurate word-level timestamps for downstream processing. ([source](https://github.com/modelscope/funclip))
- [Transcription-Based Video Clippers](https://awesome-repositories.com/f/artificial-intelligence-ml/speech-transcription/automated-video-transcribers/transcription-based-video-clippers.md) — Transcribe a video's speech into text and clip segments matching text phrases you specify. ([source](https://cdn.jsdelivr.net/gh/modelscope/funclip@main/README.md))
- [Visual-Content Video Clippers](https://awesome-repositories.com/f/artificial-intelligence-ml/image-content-analyzers/video-content-analyzers/visual-content-video-clippers.md) — Select video segments by analyzing both visuals and audio using a video understanding model. ([source](https://github.com/modelscope/funclip))
- [Hotword-Weighted Recognizers](https://awesome-repositories.com/f/artificial-intelligence-ml/machine-learning/speech-processing/automatic-speech-recognition/speech-recognition-engines/hotword-weighted-recognizers.md) — Improving speech recognition accuracy for specific terms like names or jargon by providing a custom hotword list.

### Data & Databases

- [Transcription Term Boosts](https://awesome-repositories.com/f/data-databases/search-indexing-technologies/search-indexing/search-information-retrieval/query-interfaces-dsls/multi-term-search-processors/term-weighting-algorithms/transcription-term-boosts.md) — Improve transcription accuracy for specific terms like names or entities by marking them as hotwords. ([source](https://github.com/modelscope/funclip))

### Part of an Awesome List

- [Frame-Level Video Analyzers](https://awesome-repositories.com/f/awesome-lists/ai/video-understanding-models/frame-level-video-analyzers.md) — Analyzes video frames with a vision model to select clips when transcript alone is insufficient.
- [Subtitle Generators](https://awesome-repositories.com/f/awesome-lists/media/video-and-subtitle-handling/subtitle-generators.md) — Produce SRT subtitle files for the full video and for the clipped segments during the clipping process. ([source](https://cdn.jsdelivr.net/gh/modelscope/funclip@main/README.md))

### Content Management & Publishing

- [Video Subtitle Generators](https://awesome-repositories.com/f/content-management-publishing/media-management/subtitle-management-systems/timestamped-subtitle-generators/automated-subtitle-generators/video-subtitle-generators.md) — Produces SRT subtitle files for both the full video and each clipped segment during the processing workflow.

### Networking & Communication

- [Local Web Interfaces](https://awesome-repositories.com/f/networking-communication/local-web-interfaces.md) — Exposes the clipping functionality through a browser-based UI that can be accessed locally or over a network.
