Skip to content

I can run the text portion with no problems but then I'm not able to generate the video.Help #3

Open
@iteachpc

Description

@iteachpc

C:\ai video generator>python video_generator.py
Generate New AI Image From Paragraph...
The Generated Image Saved in Images Folder!
The Paragraph Converted into VoiceOver & Saved in Audio Folder!
Extract voiceover and get duration...
Extract Image Clip and Set Duration...
Customize The Text Clip...
Traceback (most recent call last):
File "C:\Users\iteac\AppData\Local\Programs\Python\Python311\Lib\site-packages\moviepy\video\VideoClip.py", line 1137, in init
subprocess_call(cmd, logger=None)
File "C:\Users\iteac\AppData\Local\Programs\Python\Python311\Lib\site-packages\moviepy\tools.py", line 46, in subprocess_call
proc = sp.Popen(cmd, **popen_params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\iteac\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 1024, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\iteac\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 1493, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] The system cannot find the file specified

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\ai video generator\video_generator.py", line 52, in
text_clip = TextClip(para, fontsize=50, color="white")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\iteac\AppData\Local\Programs\Python\Python311\Lib\site-packages\moviepy\video\VideoClip.py", line 1146, in init
raise IOError(error)
OSError: MoviePy Error: creation of None failed because of the following error:

[WinError 2] The system cannot find the file specified.

.This error can be due to the fact that ImageMagick is not installed on your computer, or (for Windows users) that you didn't specify the path to the ImageMagick binary in file conf.py, or that the path you specified is incorrect

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions