how to grab the video from the camera?

This is a discussion on how to grab the video from the camera? within the C++ Programming forums, part of the General Programming Boards category; how to grab the video from the camera and stream to screen? this is my first post but I guess ...

  1. #1
    Registered User
    Join Date
    Mar 2012
    Posts
    1

    Smile how to grab the video from the camera?

    how to grab the video from the camera and stream to screen?


    this is my first post but I guess I'll be a good member of this community!!!

  2. #2
    Registered User
    Join Date
    Dec 2011
    Posts
    795
    This is a very complicated task, but in general, you'll do something like this:

    Step 1: Write a (probably kernel-mode) driver to interface with your camera
    Step 2: Write/find a library to parse the video data you receive
    Step 3: Write a transfer mechanism to grab data from the driver to your program
    Step 4: Install a graphics/GUI library and link it to your program
    Step 5: Interface with the library to make it display the parsed pixel data

    Or, you could just launch Quicktime

  3. #3
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,587
    I'd say you use need DirectShow or some other media network. When connecting the camera, it will probably attach in mass storage mode, allowing you access to the videos through the filesystem.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Streaming video from ip camera
    By fogald in forum C++ Programming
    Replies: 2
    Last Post: 10-18-2007, 02:52 PM
  2. ODI? Hows 7 for 12 grab you?
    By Fountain in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 03-14-2004, 01:44 PM
  3. Digital Camera -> Slo-Mo Camera??
    By Masa in forum Tech Board
    Replies: 6
    Last Post: 12-24-2003, 10:11 AM
  4. grab rgb
    By dP munky in forum Tech Board
    Replies: 4
    Last Post: 04-04-2003, 11:39 AM
  5. Someone grab me those dollars
    By Mario in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 06-18-2002, 07:06 PM

Tags for this Thread


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21