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 7617353
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T03:07:44+00:00 2026-05-31T03:07:44+00:00

i need to build a simple application who allow to record 2 or more

  • 0

i need to build a simple application who allow to record 2 or more video stream (max. 4) from ipcam / webcam, like a very simple surveillance system.
What component (dll or similar) can you indicate to me ?

  • 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-05-31T03:07:46+00:00Added an answer on May 31, 2026 at 3:07 am

    it will be a multithreaded application.
    in which each thread (worker) records from a source (usb video) to a destination (file stream).

    you could do something like this (pseudo c#)
    i hope it gives you a basic idea…

    class Worker
    {
        bool _record;
        ISource _source;
        IDestination _dest;
    
        public Worker(ISource source, IDestination dest)
        {
            _source = source;
            _dest = dest;
        }
    
        public void Record() 
        {
            lock(this)
                _record = true;
            pos = 0;
            while(_record)
            {
                var buffer = new byte[4096];
                len = _source.Read(pos, buffer);
                pos += len;
                dest.Write(buffer, len);
            }
        }
    
        public void Stop() 
        {
            lock (this)
                _record = false;
        }
    }
    
    class Program
    {
       public static Main()
       {
          var w1 = new Worker(new UsbVideo(), new FileDestination());
          Thread.Start(w1.Record);
    
          ...
    
          Console.Readline();
          w1.Stop();
       }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to build a simple, single user database application for Windows. Main requirements
I need to build simple site one big page like 37signals product's pages, and
I need to build a simple app that takes (click only) input from 4
I'd like to build a relatively simple online stock trading application (in RoR). It
I want to build simple camel application, which will get xml from URL and
I need to build a simple calendar to embed in my PHP application. Basically
I need to build a simple HTTP server in C. Any guidance? Links? Samples?
Im using regular asp.net c# (webforms) i need to build a simple form that
I need to build something that starts serving a H.264 encoded video to a
We need to build an administration portal website to support our client/server application. Since

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.