harmony 鸿蒙OH_VideoCaptureInfo

  • 2025-06-12
  • 浏览 (4)

OH_VideoCaptureInfo

Overview

The OH_VideoCaptureInfo struct describes the video capture information.

When videoFrameWidth and videoFrameHeight are both 0, video-related parameters are ignored and screen data is not recorded.

Since: 10

Related module: AVScreenCapture

Header file: native_avscreen_capture_base.h

Summary

Member Variables

|Name|Description| |–|–| |uint64_t displayId|ID of the physical screen to capture. This member variable is valid when capturemode is set to CAPTURE_SPECIFIED_SCREEN.| |int32_t* missionIDs|Mission ID list. This member variable is valid when capturemode is set to CAPTURE_SPECIFIED_WINDOW.| |int32_t missionIDsLen|Length of the mission ID list. This member variable is valid when capturemode is set to CAPTURE_SPECIFIED_WINDOW.| |int32_t videoFrameWidth|Width of the video to capture, in px.| |int32_t videoFrameHeight|Height of the video to capture, in px.| |OH_VideoSourceType videoSource|Video source type. Currently, only RGBA is supported.|

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Media Kit

harmony 鸿蒙AVImageGenerator

harmony 鸿蒙AVMetadataExtractor

harmony 鸿蒙AVPlayer

harmony 鸿蒙AVPlayerCallback

harmony 鸿蒙AVRecorder

harmony 鸿蒙AVScreenCapture

harmony 鸿蒙OH_AVRecorder_Config

harmony 鸿蒙OH_AVRecorder_EncoderInfo

harmony 鸿蒙OH_AVRecorder_Location

0  赞