Giter Site home page Giter Site logo

not able to dub about weeablind HOT 6 CLOSED

tanuj1221 avatar tanuj1221 commented on June 5, 2024
not able to dub

from weeablind.

Comments (6)

kosinus123 avatar kosinus123 commented on June 5, 2024 1

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
lambda event: event.callable(*event.args, **event.kw) )
File "D:\dub\tabs\ListStreams.py", line 49, in populate_streams
self.rb_subs = wx.RadioBox(self,
wx._core.wxAssertionError: C++ assertion ""majorDim != 0"" failed at ....\src\common\radiocmn.cpp(110) in wxRadioBoxBase::SetMajorDim(): major radiobox dimension can't be 0
Exception in thread Thread-9 (run_dubbing):
Traceback (most recent call last):
File "C:\Users\xxx\AppData\Local\Programs\Python\Python310\lib\threading.py", line 1016, in _bootstrap_inner
self.run()
File "C:\Users\xxx\AppData\Local\Programs\Python\Python310\lib\threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "D:\dub\video.py", line 172, in run_dubbing
progress_hook(i+1, "Mixing New Audio")
UnboundLocalError: local variable 'i' referenced before assignment

from weeablind.

FlorianEagox avatar FlorianEagox commented on June 5, 2024

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!

from weeablind.

FlorianEagox avatar FlorianEagox commented on June 5, 2024

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.

from weeablind.

kosinus123 avatar kosinus123 commented on June 5, 2024

hi, for example, trying to load that video, I get the error I pasted https://www.youtube.com/watch?v=Lwt7zI9XQoo

from weeablind.

FlorianEagox avatar FlorianEagox commented on June 5, 2024

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!

from weeablind.

FlorianEagox avatar FlorianEagox commented on June 5, 2024

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!

from weeablind.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.