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

Fix panic that occurs during setting min-voice-activity-ms property #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sungbin-lee
Copy link

@sungbin-lee sungbin-lee commented Aug 31, 2024

There is a problem while setting min-voice-activity-ms property.
I confirmed it happens during execution: g_object_set(obj, "min-voice-activity-ms", value, NULL);

below is the error log.

thread '<unnamed>' panicked at src/filter/imp.rs:255:54:
called `Result::unwrap()` on an `Err` value: ValueTypeMismatchError { actual: gint, requested: guint64 }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
fatal runtime error: failed to initiate panic, error 5
./whisper.sh: line 9: 1025283 Aborted                 (core dumped) gst-launch-1.0 filesrc location=${FILE_NAME} ! decodebin3 name=demux demux.audio_0 ! queue ! audioconvert ! audioresample ! queue ! whisper language="auto" min-voice-activity-ms=120 ! fdsink

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

Successfully merging this pull request may close these issues.

1 participant