Open gersooonn opened 6 months ago
Even if you install the version from master?
I'll try it here and see if it works. One question, sometimes in the generated audio section the voice speeds up very quickly making it impossible to understand, how can I improve this? Could it be due to the .srt subtitle format, having many lines in a short period of time?
I can't, I sent you the link to the colab I'm using https://colab.research.google.com/drive/13qbG1X-IyJtb6rAOGXAII7O1jo2rLkiI?usp=sharing
This only happened after the upgrade to edge-tts 6.1.12?
It seems so, after edge-tts 6.1.12 was uploaded, I couldn't get it to run. Did you take a look at this Colab I sent you?
Can you share your legenda.srt
? I can't reproduce.
legenda.srt.txt I sent it to you, you have to remove the .txt section because here on Github it doesn't accept .srt
I can't reproduce it still... maybe Colab is the one having its IP blocked?
I don't know, when I open the link it works. Do you have discord so we can talk, see if we find this error?
My discord is simply @rany2
It stopped working for me, now I'm displaying this error in all the .srt files I use [mp3 @ 0x57ff4b431c80] Failed to read frame size: Could not seek to 1026. /tmp/tmplxc7l66i/15.mp3: Invalid argument Traceback (most recent call last): File "/content/drive/MyDrive/edge-srt-to-speech/src/edge_srt_to_speech/main.py", line 346, in
main()
File "/content/drive/MyDrive/edge-srt-to-speech/src/edge_srt_to_speech/main.py", line 332, in main
asyncio.get_event_loop().run_until_complete(
File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/content/drive/MyDrive/edge-srt-to-speech/src/edge_srt_to_speech/main.py", line 251, in _main
last_end += get_duration(j)
File "/content/drive/MyDrive/edge-srt-to-speech/src/edge_srt_to_speech/main.py", line 39, in get_duration
duration = subprocess.check_output(
File "/usr/lib/python3.10/subprocess.py", line 421, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ffprobe', '-v', 'error', '-show_entries', 'format=duration', '-of', 'default=noprint_wrappers=1:nokey=1', '/tmp/tmplxc7l66i/15.mp3']' returned non-zero exit status 1.