1# OH_VideoCaptureInfo
2
3
4## Overview
5
6The **OH_VideoCaptureInfo** struct describes the video capture information.
7
8When both **videoFrameWidth** and **videoFrameHeight** are **0**, video-related parameters are ignored and screen data is not recorded.
9
10**System capability**: SystemCapability.Multimedia.Media.AVScreenCapture
11
12**Since**: 10
13
14**Related module**: [AVScreenCapture](_a_v_screen_capture.md)
15
16
17## Summary
18
19
20### Member Variables
21
22| Name| Description|
23| -------- | -------- |
24| uint64_t [displayId](#displayid) | ID of the physical screen to capture. This member variable is valid when **capturemode** is set to **CAPTURE_SPECIFIED_SCREEN**.|
25| int32_t \* [missionIDs](#missionids) | Mission ID list. This member variable is valid when **capturemode** is set to **CAPTURE_SPECIFIED_WINDOW**.|
26| int32_t [missionIDsLen](#missionidslen) | Length of the mission ID list. This member variable is valid when **capturemode** is set to **CAPTURE_SPECIFIED_WINDOW**.|
27| int32_t [videoFrameWidth](#videoframewidth) | Width of the video to capture, in px.|
28| int32_t [videoFrameHeight](#videoframeheight) | Height of the video to capture, in px.|
29| [OH_VideoSourceType](_a_v_screen_capture.md#oh_videosourcetype) [videoSource](#videosource) | Video source type. Currently, only RGBA is supported.|
30
31
32## Member Variable Description
33
34
35### displayId
36
37```
38uint64_t OH_VideoCaptureInfo::displayId
39```
40
41**Description**
42
43ID of the physical screen to capture. This member variable is valid when **capturemode** is set to **CAPTURE_SPECIFIED_SCREEN**.
44
45
46### missionIDs
47
48```
49int32_t* OH_VideoCaptureInfo::missionIDs
50```
51
52**Description**
53
54Mission ID list. This member variable is valid when **capturemode** is set to **CAPTURE_SPECIFIED_WINDOW**.
55
56
57### missionIDsLen
58
59```
60int32_t OH_VideoCaptureInfo::missionIDsLen
61```
62
63**Description**
64
65Length of the mission ID list. This member variable is valid when **capturemode** is set to **CAPTURE_SPECIFIED_WINDOW**.
66
67
68### videoFrameHeight
69
70```
71int32_t OH_VideoCaptureInfo::videoFrameHeight
72```
73
74**Description**
75
76Height of the video to capture, in px.
77
78
79### videoFrameWidth
80
81```
82int32_t OH_VideoCaptureInfo::videoFrameWidth
83```
84
85**Description**
86
87Width of the video to capture, in px.
88
89
90### videoSource
91
92```
93OH_VideoSourceType OH_VideoCaptureInfo::videoSource
94```
95
96**Description**
97
98Video source type. Currently, only RGBA is supported.
99