Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to detect speech. Perhaps try specifying a different stream #1231

Closed
andonevris opened this issue Jan 18, 2021 · 5 comments
Closed

Unable to detect speech. Perhaps try specifying a different stream #1231

andonevris opened this issue Jan 18, 2021 · 5 comments

Comments

@andonevris
Copy link

andonevris commented Jan 18, 2021

Describe the bug
When trying to sync any file I get error message: Unable to detect speech. Perhaps try specifying a different stream

File "c:\program files\bazarr\bazarr\subsyncer.py", line 56, in sync
result = run(self.args)
File "c:\program files\bazarr\bazarr\../libs\ffsubsync\ffsubsync.py", line 283, in run
reference_pipe.fit(args.reference)
File "c:\program files\bazarr\bazarr\../libs\ffsubsync\sklearn_shim.py", line 214, in fit
self._final_estimator.fit(Xt, y, **fit_params)
File "c:\program files\bazarr\bazarr\../libs\ffsubsync\speech_transformers.py", line 250, in fit
raise ValueError(

ValueError: Unable to detect speech. Perhaps try specifying a different stream / track, or a different vad.

To Reproduce
Steps to reproduce the behavior:
Sync on any file causes above error. Have tried with AC3 DTS AAC

Expected behavior
Sync file without error

Software (please complete the following information):

  • Bazarr: 0.9.0.7

  • Sonarr Version: 3.0.4.1077

  • Radarr Version: 3.0.2.4369

  • OS: Windows 10 20H2 x86

  • python version 3.8.7 (also tested with python 2.7)

  • Media files hosted on NAS via SMB

Have opened a ticket with ffsubsync they believe the issue may be on the bazarr side
smacke/ffsubsync#113

@morpheus65535
Copy link
Owner

Please provide the complete debug log.

@andonevris
Copy link
Author

When I set filter in bazarr-> system->logs to debug I get 0 entries.

In settings I have enabled

Subtitles synchronization debugging
Do not actually sync the subtitles but generate a .tar.gz file to be able to open an issue for ffsubsync. This file will reside alongside the media file.

There is no .tar.gz residing next to the media file.

the ffsubsync.log is empty

Anywhere else I should be looking for debug log files?

@morpheus65535
Copy link
Owner

@andonevris
Copy link
Author

Checking the debug logs it seems bazarr was using an old ffmpeg.exe path with a higher priority than the latest version. Deleting the old path reference returned normal functionality.

Thanks for your help.

@morpheus65535
Copy link
Owner

Pleasure mate, enjoy!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants