Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

text.srt-video.mp4-dubing #69

Open
jacooooooooool opened this issue Dec 8, 2024 · 0 comments
Open

text.srt-video.mp4-dubing #69

jacooooooooool opened this issue Dec 8, 2024 · 0 comments

Comments

@jacooooooooool
Copy link

jacooooooooool commented Dec 8, 2024

I create a project, add a srt file (The Matrix - Blue Pill or Red Pill.srt)
I add a movie (The Matrix - Blue Pill or Red Pill.mp4), I choose XTTS, I choose generate audio dubbing, the process hangs, the .srt file is processed because in the project directory there is a created file with the correct content ((TheMatrix-BluePillorRedPill_speech_blocks.json)), that's it, the terminal is silent, nothing happens.

I will add that the sound-speech using any language and model generates correctly for each language setting even for your own models
-updated, windows 10

terminal:

2024-12-09 20:19:49 | INFO | root | Starting main event loop
2024-12-09 20:19:49,793 [INFO] Starting main event loop
2024-12-09 20:20:22 | DEBUG | urllib3.connectionpool | Starting new HTTP connection (1): localhost:8020
2024-12-09 20:20:22,941 [DEBUG] Starting new HTTP connection (1): localhost:8020
2024-12-09 20:20:44 | DEBUG | urllib3.connectionpool | http://localhost:8020 "POST /switch_model HTTP/11" 200 38
2024-12-09 20:20:44,684 [DEBUG] http://localhost:8020 "POST /switch_model HTTP/11" 200 38
Switched to XTTS model: v2.0.2
2024-12-09 20:20:56 | DEBUG | PIL.PngImagePlugin | STREAM b'IHDR' 16 13
2024-12-09 20:20:56,334 [DEBUG] STREAM b'IHDR' 16 13
2024-12-09 20:20:56 | DEBUG | PIL.PngImagePlugin | STREAM b'sRGB' 41 1
2024-12-09 20:20:56,334 [DEBUG] STREAM b'sRGB' 41 1
2024-12-09 20:20:56 | DEBUG | PIL.PngImagePlugin | STREAM b'gAMA' 54 4
2024-12-09 20:20:56,334 [DEBUG] STREAM b'gAMA' 54 4
2024-12-09 20:20:56 | DEBUG | PIL.PngImagePlugin | STREAM b'pHYs' 70 9
2024-12-09 20:20:56,334 [DEBUG] STREAM b'pHYs' 70 9
2024-12-09 20:20:56 | DEBUG | PIL.PngImagePlugin | STREAM b'IDAT' 91 14814
2024-12-09 20:20:56,334 [DEBUG] STREAM b'IDAT' 91 14814
2024-12-09 20:20:56 | DEBUG | PIL.PngImagePlugin | STREAM b'IHDR' 16 13
2024-12-09 20:20:56,334 [DEBUG] STREAM b'IHDR' 16 13
2024-12-09 20:20:56 | DEBUG | PIL.PngImagePlugin | STREAM b'sRGB' 41 1
2024-12-09 20:20:56,334 [DEBUG] STREAM b'sRGB' 41 1
2024-12-09 20:20:56 | DEBUG | PIL.PngImagePlugin | STREAM b'gAMA' 54 4
2024-12-09 20:20:56,334 [DEBUG] STREAM b'gAMA' 54 4
2024-12-09 20:20:56 | DEBUG | PIL.PngImagePlugin | STREAM b'pHYs' 70 9
2024-12-09 20:20:56,334 [DEBUG] STREAM b'pHYs' 70 9
2024-12-09 20:20:56 | DEBUG | PIL.PngImagePlugin | STREAM b'IDAT' 91 14814
2024-12-09 20:20:56,334 [DEBUG] STREAM b'IDAT' 91 14814
on_language_selected method called
on_language_selected method called
2024-12-09 20:22:24 | INFO | root | Skipping transcription as SRT file(s) already exist: {'The Matrix - Blue Pill or Red Pill-PL.srt'}
2024-12-09 20:22:24,202 [INFO] Skipping transcription as SRT file(s) already exist: {'The Matrix - Blue Pill or Red Pill-PL.srt'}
2024-12-09 20:22:24 | INFO | root | Executing speech blocks generation command: python C:\Users\Jacek\Downloads\Pandrator\Subdub\subdub.py -session C:\Users\Jacek\Downloads\Pandrator\Pandrator\Outputs\matri12 -i C:\Users\Jacek\Downloads\Pandrator\Pandrator\Outputs\matri12\The Matrix - Blue Pill or Red Pill-PL.srt -task speech_blocks
2024-12-09 20:22:24,202 [INFO] Executing speech blocks generation command: python C:\Users\Jacek\Downloads\Pandrator\Subdub\subdub.py -session C:\Users\Jacek\Downloads\Pandrator\Pandrator\Outputs\matri12 -i C:\Users\Jacek\Downloads\Pandrator\Pandrator\Outputs\matri12\The Matrix - Blue Pill or Red Pill-PL.srt -task speech_blocks
INFO:root:Using session folder: C:\Users\Jacek\Downloads\Pandrator\Pandrator\Outputs\matri12
2024-12-09 20:22:27 | INFO | root | INFO:root:Using session folder: C:\Users\Jacek\Downloads\Pandrator\Pandrator\Outputs\matri12
2024-12-09 20:22:27,720 [INFO] INFO:root:Using session folder: C:\Users\Jacek\Downloads\Pandrator\Pandrator\Outputs\matri12
INFO:root:Starting subtitle translation and dubbing process
2024-12-09 20:22:27 | INFO | root | INFO:root:Starting subtitle translation and dubbing process
2024-12-09 20:22:27,720 [INFO] INFO:root:Starting subtitle translation and dubbing process
INFO:root:Input file: C:\Users\Jacek\Downloads\Pandrator\Pandrator\Outputs\matri12\The Matrix - Blue Pill or Red Pill-PL.srt
2024-12-09 20:22:27 | INFO | root | INFO:root:Input file: C:\Users\Jacek\Downloads\Pandrator\Pandrator\Outputs\matri12\The Matrix - Blue Pill or Red Pill-PL.srt
2024-12-09 20:22:27,720 [INFO] INFO:root:Input file: C:\Users\Jacek\Downloads\Pandrator\Pandrator\Outputs\matri12\The Matrix - Blue Pill or Red Pill-PL.srt
INFO:root:Session folder: C:\Users\Jacek\Downloads\Pandrator\Pandrator\Outputs\matri12
2024-12-09 20:22:27 | INFO | root | INFO:root:Session folder: C:\Users\Jacek\Downloads\Pandrator\Pandrator\Outputs\matri12
2024-12-09 20:22:27,736 [INFO] INFO:root:Session folder: C:\Users\Jacek\Downloads\Pandrator\Pandrator\Outputs\matri12
INFO:root:Using LLM API: anthropic
2024-12-09 20:22:27 | INFO | root | INFO:root:Using LLM API: anthropic
2024-12-09 20:22:27,736 [INFO] INFO:root:Using LLM API: anthropic
INFO:root:Using LLM model: claude-3-5-sonnet-latest
2024-12-09 20:22:27 | INFO | root | INFO:root:Using LLM model: claude-3-5-sonnet-latest
2024-12-09 20:22:27,736 [INFO] INFO:root:Using LLM model: claude-3-5-sonnet-latest
INFO:root:Using input subtitles: C:\Users\Jacek\Downloads\Pandrator\Pandrator\Outputs\matri12\The Matrix - Blue Pill or Red Pill-PL.srt
2024-12-09 20:22:27 | INFO | root | INFO:root:Using input subtitles: C:\Users\Jacek\Downloads\Pandrator\Pandrator\Outputs\matri12\The Matrix - Blue Pill or Red Pill-PL.srt
2024-12-09 20:22:27,736 [INFO] INFO:root:Using input subtitles: C:\Users\Jacek\Downloads\Pandrator\Pandrator\Outputs\matri12\The Matrix - Blue Pill or Red Pill-PL.srt
INFO:root:Created 56 speech blocks
2024-12-09 20:22:27 | INFO | root | INFO:root:Created 56 speech blocks
2024-12-09 20:22:27,736 [INFO] INFO:root:Created 56 speech blocks
INFO:root:Speech blocks creation completed. Ending process.
2024-12-09 20:22:27 | INFO | root | INFO:root:Speech blocks creation completed. Ending process.
2024-12-09 20:22:27,736 [INFO] INFO:root:Speech blocks creation completed. Ending process.
2024-12-09 20:22:27 | INFO | root | Speech blocks generation completed successfully.
2024-12-09 20:22:27,861 [INFO] Speech blocks generation completed successfully.


STOP proces CTRL+C

Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\Jacek\Downloads\Pandrator\conda\envs\pandrator_installer\lib\tkinter_init_.py", line 1921, in call
return self.func(*args)
File "C:\Users\Jacek\Downloads\Pandrator\conda\envs\pandrator_installer\lib\site-packages\customtkinter\windows\widgets\ctk_button.py", line 554, in _clicked
self._command()
File "C:\Users\Jacek\Downloads\Pandrator\Pandrator\pandrator.py", line 2281, in generate_dubbing_audio
if not self.wait_for_new_file(session_dir, pre_speech_blocks_files, "_sentences.json", "Speech block generation"):
File "C:\Users\Jacek\Downloads\Pandrator\Pandrator\pandrator.py", line 2295, in wait_for_new_file
time.sleep(1)
KeyboardInterrupt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant