-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
AWS Lambda - Moviepy Error - #638
Comments
Did you install imagemagick ? |
I did not. Doesn't AWS lambda come pre-installed with imagemagick? If not, then which ImageMagick deps do I have to add to the lambda? I am building the lambda from an Amazon Linux Ec2 |
Can't help with that sorry. |
No worries. I got it to work. thanks |
@ghoshtapo Just curious, how did you get it to work? I'm running into the same error. Thanks for your help! |
I ended up firing up a Linux AMI ec2 and adding magick and ffmpeg and the libs(lib64) in the deployable: [root@ip- giftest]# ll My redepoy.sh looks like this
|
@ghoshtapo Thanks for your help. Did you also add the convert binary for ImageMagick, or was magick enough? I got ffmpeg to work but I'm still running into problems getting ImageMagick to work on my lambda. Getting this error specifically:
|
Where did you download the magick library ? Do we need have to just download, exact and add to zip ? No need for installing ? |
I think that this is what you are looking for: #401 (comment) Otherwise, feel free to reopen. |
I am trying to add text to a GIF in an AWS Lambda Function. I am stuck with this for the last couple of days. if you could help me that would be great. FYI - have ffmpeg executable bundled with the lambda.
Here is my relevant code
IOError: MoviePy Error: creation of None failed because of the following error:
convert: not authorized `@/tmp/tmpRGnjui.txt' @ error/property.c/InterpretImageProperties/2981.
.
.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
The text was updated successfully, but these errors were encountered: