Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8825647
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T06:55:48+00:00 2026-06-14T06:55:48+00:00

my node.js server is going to spawn a child proccess which launches VLC for

  • 0

my node.js server is going to spawn a child proccess which launches VLC for taking a photo of a video and then send back the photo.

With nginx as a load balancer I’m going to have 4 node.js instances (the number of my server’s cores). Is it better to have 4 different video files (one per instance)?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T06:55:49+00:00Added an answer on June 14, 2026 at 6:55 am

    Since you are spawning a child process, node isn’t technically interactive with the video at all, it is interacting with VLC, which is interacting with the video. So it will spawn four different VLC process. So really it would be more of a questions if the child process would have any benefit from having it’s own video, and you will have as many child processes as you do requests.

    From what I understand from the question, this video is probably streaming, and you want to take a still-shot from it, in which case I would take the time as a paramater, and launch the VLC child process like so:

    C:\VideoLAN\VLC>vlc "path/to/video" --video-filter=scene 
    --vout=dummy --start-time=1 --stop-time=5 --scene-ratio=1 
    --scene-prefix=img- --scene-path=path/to/image vlc://quit
    

    VLC should be able to handle accessing this file multiple times (one per request).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am going to make a client-server application using Node.js, and I want to
I'm going to be running a node.js server in a Windows environment (via Cygwin)
I'm building a node server that needs to execute code that might be unsafe.
When someone connects to the node server, I keep an array with all the
On my node.js server I have the following code: //Generate a token var token
I want a Node JS server to communicate with a UDP or TCP client.
I have the following node.js server-side code: var app = require('http').createServer(handler) , io =
How do I debug a Node.js server application? Right now I'm mostly using alert
I am trying to set up a basic node.js server and am getting an
I have a strange problem. I do this query in a node.js server using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.