🚩 Report: Not working

#4
by ednsinf - opened

Traceback (most recent call last):
File "/home/user/app/app.py", line 310, in transcribe_webui
sources = self.__get_source(None, multipleFiles, None)
File "/home/user/app/app.py", line 817, in __get_source
return get_audio_source_collection(urlData, multipleFiles, microphoneData, self.inputAudioMaxDuration)
File "/home/user/app/src/source.py", line 73, in get_audio_source_collection
audioDuration = ffmpeg.probe(source.source_path)["format"]["duration"]
File "/usr/local/lib/python3.10/site-packages/ffmpeg/_probe.py", line 23, in probe
raise Error('ffprobe', out, err)
ffmpeg._run.Error: ffprobe error (see stderr output for detail)

Hi ednsinf,

Thank you for reporting the issue. If this error message occurs when running Whisper on the same video for the second time, it might be expected behavior. After the first execution, the program removes the video from the temporary directory. Therefore, when running it a second time, you will need to re-upload the video; otherwise, ffmpeg will encounter an error due to the missing file.

If the error message appears during the first execution, it might indicate an unexpected issue with the online Spaces environment. In such cases, running it locally is recommended for faster and more stable performance. Thank you!

Sign up or log in to comment