r3w0p / ce-gen Goto Github PK
View Code? Open in Web Editor NEWA program for generating surreal videos in a popular meme format.
License: MIT License
A program for generating surreal videos in a popular meme format.
License: MIT License
Once in a while - while you're compiling or after compiliation (even when output.mp4 is ready) I get these errors:
Moviepy - video ready C:\...\ce-gen\output.mp4
Exception ignored in: <bound method FFMPEG_AudioReader.__del__ of <moviepy.audio.io.readers.FFMPEG_AudioReader object at 0x000001727A022F28>>
Traceback (most recent call last):
File "C:\...\Python\Python36\lib\site-packages\moviepy\audio\io\readers.py", line 254, in __del__
self.close_proc()
File "C:\...\Python\Python36\lib\site-packages\moviepy\audio\io\readers.py", line 149, in close_proc
self.proc.terminate()
File "C:\...\Python\Python36\lib\subprocess.py", line 1159, in terminate
_winapi.TerminateProcess(self._handle, 1)
OSError: [WinError 6] The handle is invalid
and
Max duration: 5.0s
Traceback (most recent call last):
File ".\main.py", line 389, in <module>
main()
File ".\main.py", line 380, in main
image_max_duration=image_max_duration
File ".\main.py", line 283, in clip_overlay_images
clip = ImageClip(image_path)
File "C:\...\Python\Python36\lib\site-packages\moviepy\video\VideoClip.py", line 889, in __init__
img = imread(img)
File "C:\...\Python\Python36\lib\site-packages\imageio\core\functions.py", line 265, in imread
reader = read(uri, format, "i", **kwargs)
File "C:\...\Programs\Python\Python36\lib\site-packages\imageio\core\functions.py", line 182, in get_reader
"Could not find a format to read the specified file in %s mode" % modename
ValueError: Could not find a format to read the specified file in single-image mode
Heyo @r3w0p ๐
Soo.. I tried it and it seems, that there is issues with either path or default video min/max duration if I don't provide one.
Here's the error promt:
PS C:\...\ce-gen> python36 .\main.py
Generating video
Max duration: 18.5s
Traceback (most recent call last):
File ".\main.py", line 385, in <module>
main()
File ".\main.py", line 363, in main
subclip_max_duration=subclip_max_duration
File ".\main.py", line 161, in clip_overlay_videos
raise RuntimeError("Video overlay must be 1 or greater")
RuntimeError: Video overlay must be 1 or greater
I run it on Windows 10 (latest) with Python 3.6 without elevated permissions.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.