This Python script utilizes the Whisper AI API to generate transcript text for all video files within a specified folder. It automates the process of extracting spoken content from videos, making it convenient for various applications such as video indexing, content analysis, and accessibility enhancements.
- Python 3.6+
-
Clone this repository:
git clone https://github.com/steq28/whisper_video_to_text.git
-
Navigate to the project directory:
cd whisper_video_to_text
-
Install dependencies:
pip install -r requirements.txt
-
Place your video files in a folder.
-
Run the script:
python video_to_text_script.py <input_folder> <output_folder>
-
The transcript text for each video will be saved in separate text files in the output folder.
Contributions are welcome! Please feel free to open issues or submit pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.