Subtitles not added after detection
This may be only my implementation, but subtitles are not added after detection.
The process appears to complete normally, but no subtitles appear, and I get an error sound.
When I click on the log file, I get this error.
/usr/lib/python3.11/site-packages/whisper/timing.py:42: UserWarning: Failed to launch Triton kernels, likely due to missing CUDA toolkit; falling back to a slower median kernel implementation...
warnings.warn(
/usr/lib/python3.11/site-packages/whisper/timing.py:146: UserWarning: Failed to launch Triton kernels, likely due to missing CUDA toolkit; falling back to a slower DTW implementation...
warnings.warn(
/usr/lib/python3.11/site-packages/whisper/timing.py:42: UserWarning: Failed to launch Triton kernels, likely due to missing CUDA toolkit; falling back to a slower median kernel implementation...
warnings.warn(
/usr/lib/python3.11/site-packages/whisper/timing.py:146: UserWarning: Failed to launch Triton kernels, likely due to missing CUDA toolkit; falling back to a slower DTW implementation...
warnings.warn(
Traceback (most recent call last):
File "/usr/share/kdenlive/scripts/whispertosrt.py", line 112, in <module>
sys.exit(main(sys.argv[1], # source AV file
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/kdenlive/scripts/whispertosrt.py", line 101, in main
equalized.extend(srt_equalizer.split_subtitle(sub, max_line_width, method=shorten_method))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: split_subtitle() got an unexpected keyword argument 'method'
When processing the cpu, the same thing happens, and then the triton errors are not there.
I think the error is related to the error that whispertosrt.py is throwing, as that is common to both CPU and GPU.
If you have any idea of what is going wrong here, any pointers would be greatly appreciated.
-Evert-