ai subtitles

requirements

method

  1. install the required programs and add them to your PATH
  2. identify the appropriate mpv config location for your operating system
  3. create a directory called scripts in the config location and save whisper.lua to it
  4. open whisper.lua in a text editor and locate the WHISPER_CMD variable
  5. edit the variable so that the executable name matches the one you downloaded
  6. edit the variable so that the -m option points to the whisper model file you downloaded
  7. 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)
  8. unpause and use shift+w to run whisper.lua