From f77a9477b75e255b791d62adc9c9dad23fa2a593 Mon Sep 17 00:00:00 2001 From: Michael Murtaugh Date: Wed, 9 Oct 2024 18:45:18 +0200 Subject: [PATCH] updated sh --- mixcloud/fun_with_subtitles_02.sh.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mixcloud/fun_with_subtitles_02.sh.txt b/mixcloud/fun_with_subtitles_02.sh.txt index e4e53a0..0fa9c40 100644 --- a/mixcloud/fun_with_subtitles_02.sh.txt +++ b/mixcloud/fun_with_subtitles_02.sh.txt @@ -4,6 +4,10 @@ # detected WORD! # NOTE: I had an error when I did this and needed to PATCH some PYTHON code in VOSK # see VOSKPATCH.TXT - vosk-transcriber -l en-us -i w25mia60.wav -t json -o w25mia60.json +# use a python script to translate the VOSK json output +# into a VTT with JSON objects for each caption +python3 scripts/voskjson2vtt.py w25mia60.json w25mia60_words.vtt + +# Now check out vtt_words.html