CLI Feature requests: 1) Output .srt files, 2) Sequentially process all audio files in directory
ch826 opened this issue · comments
@Vaibhavs10 Great tool! The speed is fantastic, roughly 50x realtime speed for me. Unfortunately, the resulting .json file is unusable for me.
My feature requests for Insanely Fast Whisper CLI:
-
Output transcript as .srt file. It would be great if Insanely Fast Whisper produced an .srt with standard timestamp format like is produced by generic Whisper AI.
-
Batch process an entire directory of audio files. Ideally, the script would be able to sequentially process an entire directory of audio files, one at a time, producing an .srt file for each, saving each .srt file to the same directory as the source audio file.
Thank you for your work and for releasing this tool!
I also have the need to get .rst file so I wrote a simple script to implement feature 1. It works for me.😃You can try it by python convert_srt.py output.json -o my_caption.srt
The PR is here:
#176