Skip to content

bug: ffmpeg-static Crashes When Accessing Remote HTTPS Video URLs (Likely Networking Bug) #142

Description

@mena234

ffmpeg-static version

ffmpeg-static@5.2.0

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions