| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Create captions for videos using AI.
This small project uses OpenAI's whisper AI to generate captions for videos.
python setup.pypython main.py -v <video path> -m <whisper model name> -p (-p is optional)python main.py -v video.mp4 -m tiny.en -pArguments
Models
| Size | Parameters | English-only model | Multilingual model | Required VRAM | Relative speed |
|---|---|---|---|---|---|
| tiny | 39 M | tiny.en | tiny | ~1 GB | ~32x |
| base | 74 M | base.en | base | ~1 GB | ~16x |
| small | 244 M | small.en | small | ~2 GB | ~6x |
| medium | 769 M | medium.en | medium | ~5 GB | ~2x |
| large | 1550 M | N/A | large | ~10 GB | 1x |
For English-only applications, the .en models tend to perform better, especially for the tiny.en and base.en models. These models are provided by OpenAI. More Info
It may take some time to run for the first time since the AI model needs to be downloaded.
The output of the program will be in the output folder. There will be a video called output.mp4 inside of the folder. There will also be a transcript file called captions.vtt and an audio file called audio.mp3.
Make an Issue to report a bug or request a feature.
This project is licensed under the GNU General Public License v3.0 License.
| Back | FazBrowse Home | New Git URL |