-
Notifications
You must be signed in to change notification settings - Fork 106
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
Silently failing with fluent-ffmpeg #7
Comments
I think I have the same problem. I have noticed a lot of timeouts. |
I don't think I understood the problem. I'm currently using this layer alongside with fluent-ffmpeg with (almost) no problems. I just added this in my serverless.yml, on the function that I need
in my env file, I declared this layer:
|
I have also noticed this. When I run it as a child process it just stalls and does nothing - no logging (even with debug set) until the lambda times out. I tried upping the memory to the max but that made no difference. I am doing a simple copy of the audio to the file system and it should be extremely fast and low RAM, its just not working. I also have tested my command locally and they work. This layer did previously work but it seems to have stopped for some reason. |
@galipmedia did you manage to get this working? I also tried re-deploying this but it didn't work for me either. |
My last comment on this (Sorry for triple posting). @galipmedia try changing to using Here's my stack overflow Q&A on this. |
@dk03 Thankyou for this. I was experiencing the same issue and had been using For any future readers, there is no need to apply event listeners when using
Whereas, with
Hopefully this is of use to future readers. |
I am using this layer on one lambda function absolutely fine. But no matter what I try if I setup another lambda function with the exact same layers attached (my node_modules and this layer) it fails silently on any call. It just completely ignores the fluent-ffmpeg functions as if they are not there. I am completely baffled. I can see ffmpeg and ffprobe are there using fs readDirSync. I have tried deploying it as a second application so it gets a new arn and it still fails with 0 errors. Can anyone help me?
The text was updated successfully, but these errors were encountered: