
Hello, I have a problem so I hope some programmers can help me solve it.
Basically I run this:
And honestly, I've been at it for two days now and I'm not getting anywhere, I've opened the files in question, located lines 42 and 325 but I don't know what to do next.
Thank you in advance for your help and your explanations.
Basically I run this:
import whisper model = whisper.load_model("base") result = model.transcribe('test.mp3', fp16=False)And I get this:
Error:Output exceeds the size limit. Open the full output data in a text editor.
Error Traceback (most recent call last)
File
38 try:
39 # This launches a subprocess to decode audio while down-mixing and resampling as necessary.
40 # Requires the ffmpeg CLI and `ffmpeg-python` package to be installed.
41 out, _ = (
---> 42 ffmpeg.input(file, threads=0)
43 .output("-", format="s16le", acodec="pcm_s16le", ac=1, ar=sr)
44 .run(cmd=["ffmpeg", "-nostdin"], capture_stdout=True, capture_stderr=True)
45 )
46 except ffmpeg.Error as e:
File
324 if retcode:
--> 325 raise Error('ffmpeg', out, err)
326 return out, err
Error:Error: ffmpeg error (see stderr output for detail)
The above exception was the direct cause of the following exception:
Error:RuntimeError Traceback (most recent call last)
Cell In[25], line 4
1 import whisper
...
libswscale 6. 7.100 / 6. 7.100
libswresample 4. 7.100 / 4. 7.100
libpostproc 56. 6.100 / 56. 6.100
test.mp3: No such file or directory
For those who are wondering, my goal is just to transcribe an mp3 audio file "test.mp3" into text, via the AI Whisper of OpenAI.And honestly, I've been at it for two days now and I'm not getting anywhere, I've opened the files in question, located lines 42 and 325 but I don't know what to do next.
Thank you in advance for your help and your explanations.