SetUSBCaptureFourcc

Supported Hardware Devices: USB Capture devices

Contents Demonstrated in the Sample:

  1. Reading and configuring the color space of USB capture devices

Call Logic:

  1. Obtain version information, initialize, and enumerate devices: MWGetVersion, MWCaptureInitInstance, MWRefreshDevice, MWGetChannelCount
  2. Retrieve device information and filter devices: MWGetChannelInfoByIndex
  3. Open the device: MWOpenChannelByPath
  4. Read the current value: MWUSBGetVideoOutputFOURCC
  5. Set to new content: MWUSBSetVideoOutputFOURCC
  6. Save the settings: MWUSBSaveOptions
  7. Restore to the previous value: MWUSBSetVideoOutputFOURCC
  8. Save the settings: MWUSBSaveOptions
  9. Release resources: MWCloseChannel, MWCaptureExitInstance

Result:

Result

Flowchart:

SetUSBCaptureFourcc Flowchart

results matching ""

    No results matching ""

    results matching ""

      No results matching ""