ReadWriteEDID

Supported Hardware Devices: Pro/USB Capture devices supporting HDMI signals

Contents Demonstrated in the Sample:

  1. Export EDID from a specified channel to a binary file
  2. Import a binary file (EDID) from a specified path and write it to a specified channel

Call Logic:

  1. Obtain version information, initialize, and enumerate devices: MWGetVersion, MWCaptureInitInstance, MWRefreshDevice, MWGetChannelCount
  2. 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
  3. Retrieve channel information and filter devices: MWGetChannelInfo, MWGetVideoInputSource, MWGetAudioInputSource
  4. Determine based on command parameters whether to export the current channel information to a binary file or import binary file information and write it to the current channel:
    1. Save EDID information from the specified channel to a binary file:
      1. Retrieve EDID information: MWGetEDID
      2. Write to binary file
    2. Read binary file information and write to the specified channel:
      1. Read binary file: fread
      2. Write EDID to current channel: MWSetEDID
  5. Release resources: MWCloseChannel, MWCaptureExitInstance

Result:

Result

Flowchart:

ReadWriteEDID Flowchart

results matching ""

    No results matching ""

    results matching ""

      No results matching ""