Skip to content

asukaminato0721/autosrt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Autosrt

Powered by PySimpleGUI, whisper.cpp. Mostly written by chatGPT.

  1. install ffmpeg on your computer.
  2. download whisper.cpp
    1. windows user: https://github.com/ggerganov/whisper.cpp/releases, download whisper-bin-x64.zip (or win32), select main.exe as whisper cpp path.
    2. macos/linux user: build from source code.
  3. download model from https://huggingface.co/ggerganov/whisper.cpp/tree/main
  4. 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

img

Video

video.webm

then text will be print out to shell, and finally return a srt in the directory.

About

Offline srt producer gui with whisper.cpp

Topics

Resources

Stars

Watchers

Forks

Languages