Question

How to stop sigsegv with ffmpeg?

Hello, I’m running a droplet with 1vcpu and 2GB of ram and I have a script that takes the video and audio URLs from the Reddit API and attempts to merge them into one video using FFmpeg. It works on my Windows 10 PC with an i5-9600k and 32GB of ram but when I run it on my server I get a sigsegv error. The error can be seen below:

Error: ffmpeg was killed with signal SIGSEGV
    at ChildProcess.<anonymous> (/root/discord-bots/fiverr/notsockpuppet/node_modules/fluent-ffmpeg/lib/processor.js:180:22)
    at ChildProcess.emit (node:events:390:28)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)

Any help on what I can do to stop this error is appreciated I’ve looked for alternatives but I can find any other ways to combine these two files. The Reddit API separates audio and video so I have to merge them in order to have the complete video.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer