m1guelpf / yt-whisper

Using OpenAI's Whisper to automatically generate YouTube subtitles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can I use this to transcribe a local video?

aichr opened this issue · comments

I don't find a command for doing this? Can we have this as an option?

You can use the whisper model directly to transcribe a local video: https://github.com/openai/whisper

GitHub
Robust Speech Recognition via Large-Scale Weak Supervision - GitHub - openai/whisper: Robust Speech Recognition via Large-Scale Weak Supervision

@ztjhz Thanks, but the .vtt and .srt support is not there. I think it's not hard to fork this repo and add this functionality myself. just curious whether it makes sense to have a native local video support by this repo.

My fork which support local video files for anyone who is interested

https://github.com/aichr/yt-whisper

GitHub
Using OpenAI's Whisper to automatically generate YouTube subtitles - GitHub - aichr/yt-whisper: Using OpenAI's Whisper to automatically generate YouTube subtitles

You can also use the following project for local videos (with support for vtt and srt), and optionally embed the subtitles in the video.

https://github.com/m1guelpf/auto-subtitle

GitHub
Automatically generate and overlay subtitles for any video. - GitHub - m1guelpf/auto-subtitle: Automatically generate and overlay subtitles for any video.