Open arman-sydikov opened 10 months ago
I have run into the same problem. At the moment, the class has been renamed to _StitcherService
, presumably because it is being worked on (?). In particular, I have noticed a bug, see #88. If you want to use _StitcherService
anyway, you will have to go into the source code and modify the class as described in #88. This is only a workaround and should probably not be done long term... But at the moment, it works fine for me.
As you can see from the screenshot, a demonstration video VoiceoverDemo.mp4 explains at 2:20 that with
StitcherService
it is possible to directly play an mp3 file as a voiceover.However when I try to use it a
NameError
occurs: name 'StitcherService' is not definedWhen I tried to fix it by importing StitcherService an
ImportError
occurred: cannot import name 'StitcherService' from 'manim_voiceover.services.stitcher' (/usr/local/lib/python3.11/site-packages/manim_voiceover/services/stitcher.py)So how to directly play an mp3 file as a voiceover?