ai subtitles
requirements
method
- install the required programs and add them to your
PATH
- identify the appropriate
mpv
config location for your operating system
- create a directory called
scripts
in the config location and save whisper.lua
to it
- open
whisper.lua
in a text editor and locate the WHISPER_CMD
variable
- edit the variable so that the executable name matches the one you downloaded
- edit the variable so that the
-m
option points to the whisper model file you downloaded
- open a video with
mpv
, pause it and wait for the cache to fill up to 20-30 seconds (use i to view the cache status)
- unpause and use shift+w to run
whisper.lua