/WhatHuh

Automaticly Create Subtitles For Video Files

Primary LanguageC#MIT LicenseMIT

WhatHuh

Automaticly Create Subtitles For Video Files

So if you have older movies or tv shows that are impossible to get subtitles for or you want to easily sub movies you create this is about as easy as it can be.

WhatHuh comes from the frustration of there not being an easy way to get or create subs so that I can still enjoy watching things despite my hearing loss.

image

This project uses OpenAI's Whisper model to create the subtitles. There are several model options, Base, Base with special English training, small, medium and 3 versions of large. The bigger the model, the more demanding it is on your system, both in RAM, VRAM and or CPU. Many of you will go right for LargeV3 thinking, I need the best and bigger is better. Try the base model first. It is astonishingly accurate and fast. If you inist on using the more advanced models you have only to select them in the dropdown and WhatHuh will download them for you and keep them on your HD so you don't need to download them again.

image

There are 2 releases, 1 for CPU which as you may have guessed only uses your CPU to create the subtitles and is pretty fast as is. It is a portable install and only requires you to download a big ZIP file and run an exe. The other release is CUDA enabled and can make the process much faster, though it is already quite fast on CPU only. If you want to go the CUDA route and use the power of your graphics card you'll need to install the CUDA tookkit and reboot your pc. I know it sucks but needs must. We're looking at ways to get around that requirement. https://developer.nvidia.com/cuda-downloads

image

When it is done it drops the srt subtitle file next to the video file source.

image