GetANCPacket

Supported Hardware Devices: Pro Capture cards supporting SDI signals

Contents Demonstrated in the Sample:

  1. Retrieving ANC data packets from SDI signals
  2. Channel selection via command parameters when multiple devices are available

Call Logic:

  1. Obtain version information, initialize, and enumerate devices: MWGetVersion, MWCaptureInitInstance, MWRefreshDevice, MWGetChannelCount
  2. Filter supported devices based on device and interface information: MWGetChannelInfoByIndex
  3. Open the device:
    1. Open the device specified by command parameters: MWOpenChannel
    2. When no device is specified in command parameters, open the first available channel by default: MWGetDevicePath,MWOpenChannelByPath
  4. Clear and reconfigure ANC: MWCaptureSetSDIANCType
  5. Create event: MWCreateEvent
  6. Register for message notifications: MWRegisterNotify
  7. Wait for event: MWTryWaitEvent, MWWaitEvent
  8. Retrieve ANC data packet: MWCaptureGetSDIANCPacket
  9. Write data to binary file
  10. Repeat steps 7, 8, and 9 until polling ends or user actively stops
  11. Deregister message notifications: MWUnregisterNotify
  12. Close event: MWCloseEvent
  13. Release resources: MWCloseChannel, MWCaptureExitInstance

Result:

Result

Flowchart:

GetANCPacket Flowchart

results matching ""

    No results matching ""

    results matching ""

      No results matching ""