Closed 4or5trees closed 2 years ago
Interesting! Will definitely look into this. I'm basing the transcription off of one of vosk's example scripts, but not the transcriber. I'll take a look at it and maybe I can figure out what's going wrong...
Also do you happen to have a smallish file that fails to transcribe that I could use to test with?
@4or5trees I've just made some small changes to the transcribing code based on vosk-transcriber. I haven't published to pypi yet, but if you'd like you can test it out by installing directly from the repo:
pip3 install git+https://github.com/antiboredom/videogrep
@4or5trees I've just made some small changes to the transcribing code based on vosk-transcriber. I haven't published to pypi yet, but if you'd like you can test it out by installing directly from the repo:
pip3 install git+https://github.com/antiboredom/videogrep
Wow that fixes the issue for me! Transcribing works (also when specifying a custom model path).
Thank you so much for fixing it, and so quickly too!
Amazing tool! Works very well.
I do have an issue with the
--transcribe
option, though:2.0.1
0.3.41
(I've run it with both
'.\My-MKV-file.mkv'
(PowerShell autocompletes like this) as argument and'My-MKV-file.mkv'
with the same result)It looks like an issue coming from one of the DLLs accompanying videogrep. It happens maybe 10-20 seconds after running the command.
I am able to create a
txt
orsrt
with vosk using thevosk-transcriber
directly.Alternatively, when specifying a vosk model of my own then the command fails after 10-15 minutes with a somewhat more helpful stacktrace:
(I've run it with both
C:\Users\MyUser\.cache\vosk\vosk-model-en-us-0.22\
and without trailing\
at the endC:\Users\MyUser\.cache\vosk\vosk-model-en-us-0.22
and the error is the same in both cases)The
AcceptWaveform
function looks like this:Overall this is not a very blocking issue since videogrep supports existing
srt
files and with a bit of editing I can still very easily create a supercut.But do you have any idea what could be causing this?