-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Could not find a format to read the specified file in mode 'i' #219
Comments
I am having the same problem. Have you managed to find the solution? |
Same problem here. Running from within a django virtual env. |
I solved the problem by installing ffmpeg and making sure all my dependencies were satisfied. This is a problem with the environment. I was trying to execute this on aws lambda, so I had to package it correctly for deployment, subsequently I discovered ffmpeg was the problem. |
Thanks. What ffmpeg version are you using? Were there other dependencies you think made a difference? I tried installing the latest version and followed the instructions at |
Take a look at this thread - imageio/imageio#126 |
I am also having the same problem. Had a moviepy script which was working well on my macbook running El Capitan, but now running into this error while trying to get the script running on ubuntu 14 on EC2. Here is the exact error I get Below are the relevant lines from my ansible script, which completely determined the configuration of the machine:
Below is my aws_requirements.txt file I will also read through the imageio thread you linked and will post my answer back here if I figure something out. Any intuitions on what might be missing from the installation? |
So, I don't know about anybody else but I had a similar problem on my Mac. I was using a virtualenv and I was also passing the folder path to the function. Adding a few debug statements to the imageio installed in my virtualenv showed me that the file it kept hanging on was a hidden .DS_Store file. Once I deleted that file in the specified directory, everything ran as expected. Hope that helps! |
To clarifiy: the other issue is not about the same error message, my comment was meant more in regard to running into problems when using moviepy with Django/in different environments. |
I'm closing this. Please reopen (or create a new issue) if this is something that should get added to the docs. |
I didn't have a |
ValueError: Could not find a format to read the specified file in single-image mode |
I have created a script to add few images and text in a video. It works fine when I run it from command line.
But when I try to run it from a web-application, through apache (django 1.8 with mod_wsgi), It fails with following error at img = imread(img) (VideoClip.py)
Error : Could not find a format to read the specified file in mode 'i'
Please help
The text was updated successfully, but these errors were encountered: