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

Error Codes and Messages on Transcriptions with Vosk #132

Open
cmprmsd opened this issue Dec 22, 2023 · 0 comments
Open

Error Codes and Messages on Transcriptions with Vosk #132

cmprmsd opened this issue Dec 22, 2023 · 0 comments

Comments

@cmprmsd
Copy link

cmprmsd commented Dec 22, 2023

Hey there!

It seems the error messages and error codes are off when using the transcribe function.

videogrep -i file  --transcribe --model vosk-model-small-de-0.15
  • First time running the script will return error code 1 after the "transcribing" message and after writing the transcription file to disk.
  • A second run with the json already placed in the folder will also return error code 1 but no error message.
  • Running the script with a wrong model folder and existing json will yield no error message but error code 1 and without an existing json it will correctly display "could not find model folder".

PS: The transcribe function is not exposed when using videogrep as a Python module, which is why I have to use subprocess in the first place. :D

Working on some fun project at the moment 😄
The tool allows to search for multiple words or phrases, for each select any of the matches in the video, trim the snippet with sliders and chain them together creating a super cut, first temporarily by chaining the video snippets in the video player and then creating the merged video with click on "merge". Kind of a phrase builder 🤣
image

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