slim bazarr subgen uses Whisper AI models to automatically create subtitles for your media files in Bazarr.
It is simply a slimmed down version of McCloudS’ subgen (thank you for making your code available!) which never worked for me without ugly hacks.
I did this because I wanted subtitles for a TV show this evening and McCloudS/subgen (again) would suddenly not start for whatever reason, and I didn’t care anymore to find out why.
Note
|
slim bazarr subgen only includes functionality required for Bazarr subtitle generation |
The idea is to have a reliable subtitle service on a much smaller code base which makes it easier to maintain, extend and use.
-
caches and models go to
/tmp
(RAM) -
remove everything not needed for Bazarr
-
less is more
-
you use Docker
-
you have an Nvidia GPU and
nvidia-container-toolkit
(but works with CPU as well) -
you have a proper amount of RAM reserved for
tmpfs
in/tmp
You might like those better:
Look at docker-compose.yml
for limited configuration options.
Look here for available models: https://github.com/openai/whisper/blob/main/README.md#available-models-and-languages
How to configure Bazarr to use Whisper AI subtitle creation: https://wiki.bazarr.media/Additional-Configuration/Whisper-Provider/
Important
|
Default port is 8090
|