Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImageClip is broken #39

Closed
Netherdrake opened this issue May 18, 2014 · 4 comments
Closed

ImageClip is broken #39

Netherdrake opened this issue May 18, 2014 · 4 comments

Comments

@Netherdrake
Copy link

dogeImage = ImageClip("../common/doge_small.png")
Traceback (most recent call last):
  File "viddler.py", line 81, in <module>
    dogeImage = ImageClip("../common/doge_small.png")
  File "/usr/lib/python2.7/site-packages/moviepy/video/VideoClip.py", line 853, in __init__
    img = ffmpeg_read_image(img,with_mask=transparent)
  File "/usr/lib/python2.7/site-packages/moviepy/video/io/ffmpeg_reader.py", line 172, in ffmpeg_read_image
    reader = FFMPEG_VideoReader(filename, pix_fmt=pix_fmt)
  File "/usr/lib/python2.7/site-packages/moviepy/video/io/ffmpeg_reader.py", line 17, in __init__
    infos = ffmpeg_parse_infos(filename, print_infos)
  File "/usr/lib/python2.7/site-packages/moviepy/video/io/ffmpeg_reader.py", line 213, in ffmpeg_parse_infos
    line = [l for l in lines if 'Duration: ' in l][0]
IndexError: list index out of range
Exception AttributeError: "FFMPEG_VideoReader instance has no attribute 'proc'" in <bound method FFMPEG_VideoReader.__del__ of <moviepy.video.io.ffmpeg_reader.FFMPEG_VideoReader instance at 0x2ad6a28>> ignored

shell returned 1
@Netherdrake
Copy link
Author

nvm I figured it out, my bad.

@pashakun
Copy link

Im getting the same error

could you tell me how you fixed it please?

@rjagielski
Copy link

It happens when the file does not exist. If would be good to provide better exception for that.

@pashakun
Copy link

solved it by switching to a Mac :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants