Closed tanuj1221 closed 9 months ago
Hello, thank you for testing the project! May I know the steps you took to get this error inside the application? May I know what video you're dubbing and can you confirm that it has embedded subtitles? If you go into the subtitles tab it should show them. If your video only has subs burned in, I'm working on adding support for that soon!
same for me, just selecting a file would bring errors : Output file #0 does not contain any stream
{'status': 'subless'}
Traceback (most recent call last):
File "D:\env\dub\lib\site-packages\wx\core.py", line 3427, in
Hi, I would ask you the same question I asked earlier in the thread. How'd you get this error, what steps did you take, and does the video you're using contain a subtitle stream? If not, you're able to experiment with video OCR.
hi, for example, trying to load that video, I get the error I pasted https://www.youtube.com/watch?v=Lwt7zI9XQoo
Aha, thank you so much for your reply. That video doesn't have built-in subtitles, but the program can still technically handle this!
If you uncomment line #47 in video.py, and change "all" in line 49 to the language code of your desired language, e.g. r"en" for english. it will try to download the auto-translated version of those subtitles from youtube. This doesn't always work though There'sw also some other issue I just discovered with this that I will try to fix tonight. thanks for your feedback and I'll respond soon!
Okay, if you get the latest version, the auto-generated subtitles should be downloaded from YT. You can then go to the List Streams tab and choose which language to use!
Exception in thread Thread-17 (run_dubbing): Traceback (most recent call last): File "C:\Users\Tanuj\AppData\Local\Programs\Python\Python310\lib\threading.py", line 1009, in _bootstrap_inner self.run() File "C:\Users\Tanuj\AppData\Local\Programs\Python\Python310\lib\threading.py", line 946, in run self._target(*self._args, **self._kwargs) File "C:\freelancer\dub\weeablind\video.py", line 177, in run_dubbing progress_hook(i+1, "Mixing New Audio") UnboundLocalError: local variable 'i' referenced before assignment