HMKnapp / slim-bazarr-subgen

Create subtitles with Whisper AI for your media files in Bazarr
4 stars 1 forks source link
bazarr subtitles whisper-ai

= slim bazarr subgen

==== 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 https://github.com/McCloudS/subgen[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 https://www.bazarr.media/[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.

[#design] == Design decisions

[#assumptions] == Assumptions

[#alternatives] == Alternatives

You might like those better:

[#run] == Run

[source,sh]

docker-compose up --build; docker-compose down --remove-orphans

[#configuration] == Configuration

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

[#configure_bazarr] === Bazarr

How to configure Bazarr to use Whisper AI subtitle creation: https://wiki.bazarr.media/Additional-Configuration/Whisper-Provider/

IMPORTANT: Default port is 8090