-
-
Notifications
You must be signed in to change notification settings - Fork 201
Description
ffmpeg-static version
Node.js version
v18.19.1
operating system and/or environment
- using operating system Windows 11
What happened?
The ffmpeg-static binary crashes with a segmentation fault (SIGSEGV) when attempting to access remote video files via HTTPS. This happens even with the simplest command:
ffmpeg -i "https://cdn.pixabay.com/video/2025/04/27/275052_large.mp4"
No encoding, filtering, or processing is involved — the crash occurs at the initial input access phase.
Reproduction Steps
Install ffmpeg-static in a Node.js environment.
Attempt to run:
./node_modules/ffmpeg-static/ffmpeg -i "https://cdn.pixabay.com/video/2025/04/27/275052_large.mp4"
Observe segmentation fault.
Diagnostic Findings
To isolate the issue, the video was downloaded manually using curl:
curl -L -o remote_video.mp4 "https://cdn.pixabay.com/video/2025/04/27/275052_large.mp4"
Then processed locally:
./node_modules/ffmpeg-static/ffmpeg -i remote_video.mp4
Result: This succeeded, confirming that the crash is specific to FFMPEG’s internal networking stack.