Example Introduction

CmdTools Sample

All samples in this section are command-line based.

  • AudioCapture: This sample demonstrates the general process of audio data capture using private interfaces, with detailed explanations of the call logic for various interfaces in audio capture. It serves as a reference for developers working on audio capture. Note that this sample is only compatible with Pro Capture cards.

  • CaptureByInput: This sample demonstrates a workflow for capturing video data via the private interfaces, triggered by message notifications. Compared to the "CaptureByTimer" sample, the resolution and frame rate captured depend on the signal source. The interval of notifications from the capture card matches the frame interval of the input signal, resulting in a fixed capture frame rate and a more stable operation workflow.

  • CaptureByTimer: This sample demonstrates another workflow for capturing video data via the private interfaces, using a timer to set capture times (video capture is performed at specified times). Thus, the capture frame rate is adjustable. Compared to the "CaptureByInput" sample, it is more suitable for scenarios where the capture frame rate differs from the input frame rate.

  • GetANCPacket: This sample demonstrates the general process of obtaining ANC (Ancillary) data for a specified channel using private interfaces, which developers with such requirements can reference.

  • HDMIInfoFrame: This sample demonstrates the general process of retrieving HDMI information frames using private interfaces, which developers with such requirements can reference.

  • InputSignal: This sample demonstrates the general process of obtaining detailed format information about input signals using private interfaces, including status information for the specified channel, key video signal parameters such as resolution and color space, and critical audio signal information such as sampling rate and format. Developers are strongly advised to carefully review this sample.

  • InputSource: This sample demonstrates the general process of obtaining the type and quantity of audio and video input sources using private interfaces, which developers with such requirements can reference.

  • InputSignalNotify: This sample demonstrates the process of monitoring input signal changes using private interfaces.

  • ReadWriteEDID: This sample implements two processes through private interfaces: 1. Exporting the EDID of a specified channel as a binary file; 2. Writing a specified EDID file to a target channel. This sample provides a reference for developers implementing EDID read/write functionality for devices.

  • USBDeviceDetect: This sample demonstrates the detection of USB capture device hot-swapping events using private interfaces, which developers with such requirements can reference.

  • SetUSBCaptureFourcc: This sample demonstrates the general process of reading and configuring USB video color space attributes using private interfaces.

  • Mp4Repair: This sample demonstrates how to repair corrupted video files—specifically, those recorded with LibMWMp4 that became damaged due to improper termination of recording processes (e.g., caused by abnormal power outages).

GUI Sample

All samples in this section are GUI-based.

  • AVCapture: The main features of this sample include: (1) Using private interfaces to capture and render video; (2) Using private interfaces to capture and monitor audio; (3) Configuring video capture resolution, frame rate, and color space; (4) Multi-channel capture; (5) Recording captured audio and video data as FLV files. Compared to the "AVCapture2" sample, this sample uses private interfaces for both audio and video capture, resulting in higher capture efficiency and more abundant configurable capture parameters. However, this limits compatibility to only Pro family capture cards.
  • AVCapture2: The main features of this sample include: (1) Using general interfaces to capture and render video; (2) Using general interfaces to capture and monitor audio; (3) Configuring video capture resolution, frame rate, and color space; (4) Multi-channel capture. Unlike "AVCapture", this sample internally leverages AVFoundation for capture implementation, enabling support for all Magewell capture devices with enhanced versatility. Additionally, you can capture audio and video from different devices.

results matching ""

    No results matching ""

    results matching ""

      No results matching ""