Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Graphics
  4. Process USB camera output

Process USB camera output

Scheduled Pinned Locked Moved Graphics
question
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    WolfG1
    wrote on last edited by
    #1

    Greetings! I have a camera attached on my windows-pc (win7) and view the camera output in a window from the camera software (RsCap_1.11.exe). Now I try to capture this window with BitBlt and GetDIBits, however I get a black screen only. This method works with the full desktop or other windows. Any hints how I have to access the video window?

    L J 2 Replies Last reply
    0
    • W WolfG1

      Greetings! I have a camera attached on my windows-pc (win7) and view the camera output in a window from the camera software (RsCap_1.11.exe). Now I try to capture this window with BitBlt and GetDIBits, however I get a black screen only. This method works with the full desktop or other windows. Any hints how I have to access the video window?

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Google for "video capture"[^].

      1 Reply Last reply
      0
      • W WolfG1

        Greetings! I have a camera attached on my windows-pc (win7) and view the camera output in a window from the camera software (RsCap_1.11.exe). Now I try to capture this window with BitBlt and GetDIBits, however I get a black screen only. This method works with the full desktop or other windows. Any hints how I have to access the video window?

        J Offline
        J Offline
        jinzai
        wrote on last edited by
        #3

        iirc -- you want SetDIBitsToDevice and not BitBlt. You are using a Device Independent Bitmap and those do not automatically translate to Device Dependent Bitmaps.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups