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

Detecting silence #95

Open
maczikasz opened this issue Mar 26, 2020 · 0 comments
Open

Detecting silence #95

maczikasz opened this issue Mar 26, 2020 · 0 comments

Comments

@maczikasz
Copy link

Hi,

I was wondering what's the correct way of detecting that a pipeline has not emitted any events via callbacks because there is no speech in a given audio file, or because there is something wrong with the pipeline.

At the moment i just rely on a timeout mechanism to track transcriptions emitted from the gst plugin and if there is nothing fot X second I assume it's an empty file, but also I shutdown the gst pipeline, because I do not know if it's still usable.

Do you have any suggestion?

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

No branches or pull requests

1 participant