An open API service indexing awesome lists of open source software.

https://github.com/tracywong117/ai-video-segment-cutter

A Python program to cut segments of a video based on specified keywords using OpenAI Whisper.
https://github.com/tracywong117/ai-video-segment-cutter

ai-applications openai-whisper video-cutter

Last synced: 5 months ago
JSON representation

A Python program to cut segments of a video based on specified keywords using OpenAI Whisper.

Awesome Lists containing this project

README

          

# AI Video Segment Cutter
[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/18GD-tQ9hIRG6f_9hLGMqSjx8PNTXPmy3?usp=sharing)

Video Segment Cutter is a program that allows you to cut segments of a video based on specified keywords. With this tool, you can extract specific sections of a video that contain the desired keywords, making it easier to analyze or highlight relevant content.

In this project, we use the Whisper base model to quickly generate subtitles for videos and cut them based on specific words. OpenAI's Whisper model is a state-of-the-art model that can automatically turn speech into text with really high accuracy.

## How to run
1. Prepare the video
2. Install the dependencies
```plaintext
pip3 install -r requirements.txt
```
3. Run
```plaintext
python3 ai-video-segment-cutter.py -i -t
```