home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Game Programming for Teens / VBGPFT.cdr / DirectX8 / dx8a_sdk.exe / samples / multimedia / directshow / editing / stillcap / readme.txt next >
Encoding:
Text File  |  2000-10-19  |  1.9 KB  |  35 lines

  1. DirectShow Editing Sample - Still Frame Capture
  2. ------------------------------------------------
  3.  
  4. This C++ app uses the ISampleGrabber interface to capture still images
  5. to a .bmp file on disk from a live capture stream. It demonstrates
  6. how to put the sample grabber into the graph, and how to get the
  7. bits back from it in real time via the callback.  
  8.  
  9. StillCap starts in preview mode, displaying input from the system's
  10. default video capture device.  Normally, this will be an attached video
  11. camera, like a USB WebCam.  When you click the "Snap Still" button,
  12. a bitmap will be captured and written to disk at the location specified
  13. in the Capture Directory field.  If you enable the "Increment filename"
  14. option, then a new file will be written each time with a new name.
  15. Otherwise, the same filename will be used for each captured bitmap.
  16.  
  17. You may also capture video files to disk if you select Video Capture
  18. on the Capture Type group box.  Note that video capture will start
  19. automatically when you select this option.  Click "Start Playback"
  20. to end the capture session.  The recorded file will automatically
  21. be played back to the screen.
  22.  
  23. NOTE: For simplicity, this sample uses RGB24 format for capturing data 
  24. and writing bitmaps.  If your video driver is at 16-bit depth, you may 
  25. notice flicker when running this application.  To resolve this problem, 
  26. set your display's bit depth to 24-bit or 32-bit with the Display Properties
  27. control panel application.
  28.  
  29. The size of the buffer allocated for storing captured bitmap data is
  30. defined with the BITMAP_DATA_SIZE constant.  It is currently set to 400Kb, 
  31. which is an appropriate size for a bitmap generated from a USB Web camera.
  32. If your camera generates larger images, you will need to increase the
  33. size of the bitmap buffer.  A future version of this sample will 
  34. dynamically determine the appropriate bitmap size to allocate.
  35.