openharmony 鸿蒙 capi-avscreencapture-oh-videocaptureinfo

2026-08-25 浏览 (1)

OH_VideoCaptureInfo

typedef struct OH_VideoCaptureInfo {...} OH_VideoCaptureInfo

Overview

The 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

NameDescription
uint64_t displayIdID of the physical screen to capture. This member variable is valid when capturemode is set to CAPTURE_SPECIFIED_SCREEN.
int32_t* missionIDsMission ID list. This member variable is valid when capturemode is set to CAPTURE_SPECIFIED_WINDOW.
int32_t missionIDsLenLength of the mission ID list. This member variable is valid when capturemode is set to CAPTURE_SPECIFIED_WINDOW.
int32_t videoFrameWidthWidth of the video to capture, in px.
int32_t videoFrameHeightHeight of the video to capture, in px.
OH_VideoSourceType videoSourceVideo source type. Currently, only RGBA is supported.

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 capi-avrecorder-oh-avrecorder-range

openharmony 鸿蒙 errorcode-media

openharmony 鸿蒙 capi-avplayer

openharmony 鸿蒙 capi-avplayer-base-h

openharmony 鸿蒙 capi-avimage-generator-h

openharmony 鸿蒙 capi-avscreencapture-oh-rect

openharmony 鸿蒙 capi-videoprocessing-videoprocessing-callback

openharmony 鸿蒙 capi-avsinkbase

openharmony 鸿蒙 capi-avmetadataextractor

openharmony 鸿蒙 capi-avscreencapture-oh-multidisplaycapability

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/DrIPklRy