Giter VIP home page Giter VIP logo

ce-gen's People

Contributors

r3w0p avatar

Watchers

 avatar  avatar

ce-gen's Issues

The handle is invalid & Could not find a format to read the specified file in single-image mode

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

RuntimeError: Video overlay must be 1 or greater

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.

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.