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

Error: ffmpeg was killed with signal SIGSEGV #66

Open
sergejkurbanov opened this issue Nov 17, 2022 · 4 comments
Open

Error: ffmpeg was killed with signal SIGSEGV #66

sergejkurbanov opened this issue Nov 17, 2022 · 4 comments

Comments

@sergejkurbanov
Copy link

First of all, thank you for the great buildpack repo!

Heroku kills the ffmpeg process for some larger files and I'm not sure what the issue is.
~5mb .mp4s work well but 60mb .mov files are giving me errors.

We use 2GB ram on Heroku. A local ffmpeg process on my machine for the larger file goes up to ~900MB ram and runs successfully, so that should not be an issue.

I've reached out to Heroku support, but since it's not an official buildpack, they redirected me to ask in the buildpack repo directly.

Full error stack trace:

Error: ffmpeg was killed with signal SIGSEGV
at ChildProcess.<anonymous> (/app/node_modules/fluent-ffmpeg/lib/processor.js:180:22)
at ChildProcess.emit (node:events:369:20)
at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)

The ffmpeg command I'm running:

ffmpeg(file.url)
  .inputOption('-headers', `Authorization:\ Bearer\ ${authKey}`)
  .complexFilter([
    '[0:v] scale=320:-1:flags=lanczos,split [a][b]',
    '[a] palettegen [p]',
    '[b][p] paletteuse',
  ])
  .fps(10)
  .on('end', () => resolve())
@bilalaslam777
Copy link

I am trying to take a screenshot out of a video and facing the same issue. Did you find the solution?

@sergejkurbanov
Copy link
Author

Unfortunately not yet.

@nicky132
Copy link

nicky132 commented Mar 9, 2023

Unfortunately not yet.

i have same issue,ffmpeg was killed with signal SIGSEGV,have you fixed it?

@sergejkurbanov
Copy link
Author

Unfortunately not yet.

i have same issue,ffmpeg was killed with signal SIGSEGV,have you fixed it?

I haven't looked at the issue since that time, unfortunately I don't have any new insights on it.

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