Python script for converting whisper.cpp JSON transcripts to Podlove Web Player transcripts.
Create a whisper.cpp JSON transcript file, e.g.:
$ ./main -m models/ggml-large-v1.bin -l de --output-json my_file.wavConvert it to Podlove Web Player JSON:
$ ./cpp_podlove_convert.py -d my_file.wav.json my_file.podlove.jsonCopy this file to your website and configure Podlove Web Player to use this transcript:
"transcripts": "my_file.podlove.json"See -h / --help for additional arguments:
$ ./cpp_podlove_convert.py --help