autosrt
autosrt copied to clipboard
Offline srt producer gui with whisper.cpp
Autosrt
Powered by PySimpleGUI, whisper.cpp. Mostly written by chatGPT.
- install ffmpeg on your computer.
- download whisper.cpp
- windows user: https://github.com/ggerganov/whisper.cpp/releases, download whisper-bin-x64.zip (or win32), select
main.exe
as whisper cpp path. - macos/linux user: build from source code.
- windows user: https://github.com/ggerganov/whisper.cpp/releases, download whisper-bin-x64.zip (or win32), select
- download model from https://huggingface.co/ggerganov/whisper.cpp/tree/main
- run main.py, and wait. If you want, you can use
tmux
to run it in the bg.
main code prompt
use pysimplegui write a gui for me, it has a file browser to choose video file or audio file, and some text input box to input name, a number box to input thread count, a button to run the task, a drop down to choose language.
ScreenShot
Video
then text will be print out to shell, and finally return a srt in the directory.