Skip to content

Whisper fails on some files, but works fine on others #2474

Description

@Cube-Oakley

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 Reproduce
Steps to reproduce the behavior:

  1. Configure Whisper as a provider
  2. Click on search on an affected TV Show or Movie (This only affects specific files, other files work fine)
  3. After 30 seconds to a minute the Whisper provider will be throttled, and the subtitle is not generated

Expected behavior
When clicking on search for subtitles for a specific movie or show, it should communicate with Whisper properly and generate subtitles

Software (please complete the following information):

  • Bazarr: v1.4.2
  • Radarr version: 4.5.2.7388
  • Sonarr version: 3.0.10.1567
  • OS: Docker hosted on Ubuntu Server w/Portainer

Additional context
This is my first ever bug report so I apologize if there's anything I've done incorrectly. I read through all related issues and I found one semi-similar, but it was closed without a fix as the original submitter never responded. Also searched Reddit/Internet and did a fair amount of troubleshooting with no fix.

  • Have tried updating Bazarr (was using an older version)
  • Deleted the database db file and allowed Bazarr to recreate to rule out database corruption
  • Specific Whisper provider in use is "Subgen" also running in Docker
  • The majority of files transcribe fine. If I go to a random file and try and transcribe it, there's a high chance it'll work. But when I hit "Search All" I've had times where it will pick a specific file to transcribe first that fails. It then will continually fail unless I search for subtitles episode by episode, or if I remove the language profile from that specific bad episode allowing the "search all" to bypass the one it fails on
  • I've verified that the files themselves are fine. They play fine, and aren't in any different format than the files that work
  • Very repeatable. If a file fails, it will always fail no matter how many times I re-try the operation
  • I've verified that there is English audio within the first 30 seconds of the video
    BazarrLogs.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions