I've tried to get it running several times in my systems each time ended in the singular instance of whisper wherever that might be installed being unable to communicate with bazarr but being able to manually create 'okay' subtitles if I used whispers GUI and uploaded a file by hand. I run a large homelab with about 100 working docker apps and other installs of various types across several nodes so the usual comments of 'probably your firewall' and 'It works for me' could apply here but probably shouldn't as this isnt a standalone instant of the issue. The only apps that have issues are these two. No matter where I put them. Both installed on a windows PC on nasty docker desktop, both in an ubuntu vm. One on a windows and one on a bare metal ubuntu. Both on bare metal. The list of attempts go on. However, The bazarr team are aware that more and more people are having issues such as this and they tried to contact me over the Christmas break to use me as a test subject for working out the issue for me and the others facing similar problems that they've not been able to fix just not had the time to get on a call with them yet - so, hats off to them for trying. Side note on the limitations, whisper cannot use IGPU. Only cpu and nvidia gpu. Which can be quite a limitation for some in environments where throwing a tonne of compute power isnt viable or for those running power efficient systems without dedicated GPUs. Answer from tom_okane on reddit.com
🌐
Bazarr Wiki
wiki.bazarr.media › Additional-Configuration › Whisper-Provider
Whisper Provider Setup - Bazarr Wiki
Change the endpoint to the server you are hosting the Whisper container on (127.0.0.1 if on the same machine), and adjust the timeout if you find it keeps timing out on long movies or TV shows. The endpoint must start with http:// When Bazarr doesn't know the language of the media you're trying to get subtitles for, Whisper must guess.
🌐
GitHub
github.com › morpheus65535 › bazarr › issues › 2425
Whisper connection problem · Issue #2425 · morpheus65535/bazarr
March 9, 2024 - And from bazarr I configure the endpoint to this http://10.0.0.100:9090 but when I make a connection test I got Connected but no version found (possibly whisper-asr?) So, I've activated the debug log for bazarr and seems that the connection was not so good, error 404
Published   Mar 09, 2024
🌐
Reddit
reddit.com › r/bazarr › whisper ai
r/bazarr on Reddit: Whisper AI
October 25, 2023 -

I've got whisper working in unraid using the whisper-asr-webservice container, but I've noticed there is another whisper model 'faster-whisper', that's supposedly 4x faster than the original.. but, I can't seem to get bazarr to talk to it.

Anyone had any luck using bazarr with linuxserver/faster-whisper?

🌐
Reddit
reddit.com › r/bazarr › bazarr + whisper-asr-webservice
bazarr + whisper-asr-webservice : r/bazarr
December 17, 2024 - Bazarr only works with the whisper-asr-webservice container. You just need to change the engine on the whisper-asr-webservice container to faster-whisper with the environment variable ASR_ENGINE ... Thanks man and I will try it. Continue this thread Continue this thread ...
🌐
GitHub
github.com › morpheus65535 › bazarr › issues › 2140
Whisper provider throwing error · Issue #2140 · morpheus65535/bazarr
March 24, 2023 - I receive the following error when trying to use Whisper provider: Throttling whisperai for 10 minutes, until 23/05/08 11:53, because of: KeyError. Exception info: 'detected_language' To Reproduce Steps to reproduce the behavior: Deploy ...
Published   May 08, 2023
🌐
GitHub
github.com › morpheus65535 › bazarr › issues › 2300
Whisper provider marking generated subtitles as "ENGLISH FORCED" · Issue #2300 · morpheus65535/bazarr
November 17, 2023 - Set up Whisper to run in Docker as describe in https://wiki.bazarr.media/Additional-Configuration/Whisper-Provider/ See subtitles generated as ENGLISH FORCED. Expected behavior Any subtitles generated by the Whisper provider should be marked as ENGLISH, as it's generating subtitles for all dialogue, not foreign languages.
Published   Nov 17, 2023
Find elsewhere
🌐
GitHub
github.com › morpheus65535 › bazarr › issues › 2144
Using Faster Whisper instead of "normal" model · Issue #2144 · morpheus65535/bazarr
February 7, 2023 - So yeah in short: ahmetoner/whisper-asr-webservice seems to be able to use faster-whisper now https://github.com/ahmetoner/whisper-asr-webservice/releases/tag/v1.1.0 https://github.com/guillaumekln/faster-whisper faster-whisper seems to quadruple performance and also lower ram requirements while having the same accuracy. So far the new whisper provider seems to work well for my purposes and 4-times the performance would be great!
Published   May 15, 2023
🌐
GitHub
github.com › morpheus65535 › bazarr › issues › 2474
Whisper fails on some files, but works fine on others · Issue #2474 · morpheus65535/bazarr
February 5, 2024 - Describe the bug When searching for subtitles in Bazarr and having the Whisper provider set up, Whisper will repeatedly fail to provide the subtitles for specific files and Bazarr will then throttle Whisper as a subtitle provider To Repr...
Published   Apr 26, 2024
🌐
Reddit
reddit.com › r/bazarr › configuration de bazarr whisper ai sur synology
r/bazarr on Reddit: Configuration de Bazarr Whisper AI sur Synology
August 21, 2024 - Pour plus d'informations, consultez https://github.com/openai/whisper · Pour surveiller la sous-génération, exécutez les journaux Docker dans le terminal ... Retournez sur Bazarr, ajoutez le fournisseur Whisper AI, utilisez le point de terminaison de la sous-genre, pour moi, c'est http://192.168.2.56:9000 délai de connexion 3600, délai de transctiption 3600, niveau de journalisation DEBUG, cliquez sur Test de connexion, vous devriez voir le numéro de version de la sous-genre, cliquez sur Enregistrer.
🌐
Reddit
reddit.com › r/bazarr › whisper : failed to establish a new connection
Whisper : Failed to establish a new connection : r/bazarr
July 7, 2021 - Port1 must not be used by any other application on your computer, the port must be free. And port2 is what your application has in its configuration. Based on this information, pick the correct port numbers for PORT1:PORT2. PORT1 is then the port number where you can connect to on your machine in your browser: ... If both, your bazarr and whisper are docker containers inside the same bridge network, then if you’re configuring provider in bazarr, just use the name of your whisper container and PORT2.
🌐
Ultra.CC
feedback.ultra.cc › p › new-app-whisper-ai
New app: Whisper AI - Ultra.CC
https://wiki.bazarr.media/Additional-Configuration/Whisper-Provider/
🌐
Hacker News
news.ycombinator.com › item
I predicted this moment when they switched to opensubtitles.com domain. Realisti... | Hacker News
November 16, 2023 - https://wiki.bazarr.media/Additional-Configuration/Whisper-P · Really quite amazing
🌐
Reddit
reddit.com › r/synology › bazarr whisper ai setup on synology
r/synology on Reddit: Bazarr Whisper AI Setup on Synology
August 21, 2024 -

I would like to share my Bazarr Whisper AI setup on Synology. Hope it helps you.

Make sure Bazarr setup is correct

Before we begin, one of the reason you want AI subtitles is because you are not getting subtitles from your providers such as opensubtitles.com. Bazarr works in funny ways and may be buggy at times, but what we can do is make sure we are configuring correctly.

From Bazarr logs, I am only getting subtitles from opensubtitlescom and Gestdown, so I would recommend these two. I only use English ones so if you use other languages you would need to check your logs.

Opensubtitles.com

To use opensubtitles.com in Bazarr you would need VIP. It's mentioned in numerous forums. If you say it works without VIP or login, that's fine. I am not going to argue. It's $20/year I am ok to pay to support them. Just remember to check your Bazarr logs.

For opensubtitle provider configuration, make sure you use your username not email, your password not your token, do not use hash and enable ai subtitles.

For your language settings keep it simple, I only have English, you can have other languages. Deep analyze media, enable default settings for series and movies.

For Subtitle settings use Embedded subtitles, ffprobe, important: enable Upgrading subtitles and set 30 days to go back in history to upgrade and enable upgrade manually downloaded or translated subtitles. Most common mistake is setting days too low and Bazarr gives up before good subtitles are available. Do not enable Adaptive Searching.

For Sonarr and Radarr keep the minimum Score to 0. sometimes opensubtitles may return 0 even when the true score is 90+.

For Scheduler, Upgrade Previously Downloaded Subtitles to every 6 hours. Same for missing series and movies. Sometimes opensubtitles timeout. keeping it 6 hours will retry and also picking up latest subtitles faster.

Lastly, go to Wanted and search all, to download any missing subtitles from OpenSubtitles.

Now we have all the possible subtitles from opensubtitles. the rest we need Whisper AI.

subgen

subgen is Whisper AI but many generations ahead. First of all, it's using faster-whisper, not just whisper, and on top it uses stable-ts, third it support GPU acceleration, and fourth, but not least, it just works with Bazarr. So far this is the best Whisper AI I found.

I recommend to use Nvidia card on Synology to make use of Nvidia AI. with my T400 4GB I get 24-27sec/s transcribe performance. If you are interested check out my post https://www.reddit.com/r/synology/comments/16vl38e/guide_how_to_add_a_gpu_to_synology_ds1820/

If you want to use your NVidia GPU then you need to run the container from command line, here is my run.sh.

#!/bin/bash
docker run --runtime=nvidia --gpus all -e NVIDIA_DRIVER_CAPABILITIES=all -e TRANSCRIBE_DEVICE=gpu -e WHISPER_MODEL="base" -e UPDATE=True -e DEBUG=False -d --name=subgen -p 9000:9000 -v /volume1/nas/Media:/media --restart unless-stopped mccloud/subgen

After running, open your plex address and port 9000 to see the GUI, don't change anything, because Bazarr will send queries to it, the settings in GUI is only for if you want to run something standalone. If you want to know all the options, check out https://github.com/McCloudS/subgen

Whisper AI can only translate to English, it has many models: tiny, base, small, medium and large. From my experience, base is good enough. Also you can choose transcribe only (base.en) or translate and transcribe (base). I choose base because I also watch Anime and Korean shows. For more information check out https://github.com/openai/whisper

To monitor subgen, run the docker logs in terminal

docker logs -f subgen

Go back to Bazarr, add the Whisper AI provider, use subgen endpoint, for me it's http://192.168.2.56:9000 connection timout 3600, transctiption timeout 3600, logging level DEBUG, click Test Connection, you should see subgen version number, click save.

Now go to Wanted and click on any, it should trigger subgen. You can check from the docker log if it's running. Once confirmed, you may just search all and go to bed, with T400 you are looking at 2-3 mins per episode. Eventually all wanted will be cleared. If good you can press ctrl-c in terminal to stop seeing the docker logs. (or you can keep staring and admiring the speed :) ).

🌐
Bazarr
bazarr.featureupvote.com › suggestions › 54293 › autosub-support-automatically-generate-subtitles-by-analyzing-audio-file
Autosub support (automatically generate subtitles by analyzing audio file) - Bazarr
I would also now go with the 'whisper.cpp' route. It is astonishgly powerful and it can even run on a raspberry pi 4 (although I would not go over 'base' library). There is already a wrapper for Tautulli/Plex being developed. It has been suggested to the developer to make it as a provider for bazarr but developer is not interested and just shared its code so that someone else could fork it from his idea.