VideoTrackSourceInfo.md 5.4 KB
Newer Older
W
wenjun 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143
# VideoTrackSourceInfo<a name="ZH-CN_TOPIC_0000001055518130"></a>

## **Overview**<a name="section655139360093537"></a>

**Related Modules:**

[Format](Format.md)

**Description:**

Defines information about the muxer video source. 

**Since:**

1.0

**Version:**

1.0

## **Summary**<a name="section1677668574093537"></a>

## Data Fields<a name="pub-attribs"></a>

<a name="table997332110093537"></a>
<table><thead align="left"><tr id="row115978624093537"><th class="cellrowborder" valign="top" width="50%" id="mcps1.1.3.1.1"><p id="p1108549647093537"><a name="p1108549647093537"></a><a name="p1108549647093537"></a>Variable Name</p>
</th>
<th class="cellrowborder" valign="top" width="50%" id="mcps1.1.3.1.2"><p id="p1739890424093537"><a name="p1739890424093537"></a><a name="p1739890424093537"></a>Description</p>
</th>
</tr>
</thead>
<tbody><tr id="row27159422093537"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1 "><p id="p410175968093537"><a name="p410175968093537"></a><a name="p410175968093537"></a><a href="VideoTrackSourceInfo.md#af5da9e75ec58525d973015237eda6dfc">codecType</a></p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p1171586800093537"><a name="p1171586800093537"></a><a name="p1171586800093537"></a><a href="Format.md#gaf7ed135f15d4b218d41705bac0122ba7">CodecFormat</a>&nbsp;</p>
</td>
</tr>
<tr id="row471597590093537"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1 "><p id="p1019037259093537"><a name="p1019037259093537"></a><a name="p1019037259093537"></a><a href="VideoTrackSourceInfo.md#ac05a648fdbc7902c8845b9784398ec70">width</a></p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p183343325093537"><a name="p183343325093537"></a><a name="p183343325093537"></a>uint32_t&nbsp;</p>
</td>
</tr>
<tr id="row1933167959093537"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1 "><p id="p1772936989093537"><a name="p1772936989093537"></a><a name="p1772936989093537"></a><a href="VideoTrackSourceInfo.md#a97aff725ec37d360cd3dee5a0050d597">height</a></p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p1364612259093537"><a name="p1364612259093537"></a><a name="p1364612259093537"></a>uint32_t&nbsp;</p>
</td>
</tr>
<tr id="row488996519093537"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1 "><p id="p1240290311093537"><a name="p1240290311093537"></a><a name="p1240290311093537"></a><a href="VideoTrackSourceInfo.md#a61809ef1608eedcd1cb62b53a835acb2">bitRate</a></p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p741017820093537"><a name="p741017820093537"></a><a name="p741017820093537"></a>uint32_t&nbsp;</p>
</td>
</tr>
<tr id="row772070835093537"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1 "><p id="p2092698588093537"><a name="p2092698588093537"></a><a name="p2092698588093537"></a><a href="VideoTrackSourceInfo.md#ad73d656b0f478e287b305609bc831f52">frameRate</a></p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p1052281700093537"><a name="p1052281700093537"></a><a name="p1052281700093537"></a>uint32_t&nbsp;</p>
</td>
</tr>
<tr id="row1001741889093537"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1 "><p id="p1473002503093537"><a name="p1473002503093537"></a><a name="p1473002503093537"></a><a href="VideoTrackSourceInfo.md#a2485907934d8d174860dcb915c8cbef7">speed</a></p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p733431677093537"><a name="p733431677093537"></a><a name="p733431677093537"></a>float&nbsp;</p>
</td>
</tr>
<tr id="row172136864093537"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.1 "><p id="p1835191114093537"><a name="p1835191114093537"></a><a name="p1835191114093537"></a><a href="VideoTrackSourceInfo.md#a645143b2ac9d6de335300c62aec4c73e">keyFrameInterval</a></p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.1.3.1.2 "><p id="p211816260093537"><a name="p211816260093537"></a><a name="p211816260093537"></a>uint32_t&nbsp;</p>
</td>
</tr>
</tbody>
</table>

## **Details**<a name="section452771114093537"></a>

## **Field Documentation**<a name="section1835561952093537"></a>

## bitRate<a name="a61809ef1608eedcd1cb62b53a835acb2"></a>

```
uint32_t VideoTrackSourceInfo::bitRate
```

 **Description:**

Encoding bit rate, in bit/s 

## codecType<a name="af5da9e75ec58525d973015237eda6dfc"></a>

```
[CodecFormat](Format.md#gaf7ed135f15d4b218d41705bac0122ba7) VideoTrackSourceInfo::codecType
```

 **Description:**

Video encoding type, for details, see  [CodecFormat](Format.md#gaf7ed135f15d4b218d41705bac0122ba7). 

## frameRate<a name="ad73d656b0f478e287b305609bc831f52"></a>

```
uint32_t VideoTrackSourceInfo::frameRate
```

 **Description:**

Encoding frame rate 

## height<a name="a97aff725ec37d360cd3dee5a0050d597"></a>

```
uint32_t VideoTrackSourceInfo::height
```

 **Description:**

Video height 

## keyFrameInterval<a name="a645143b2ac9d6de335300c62aec4c73e"></a>

```
uint32_t VideoTrackSourceInfo::keyFrameInterval
```

 **Description:**

Keyframe interval 

## speed<a name="a2485907934d8d174860dcb915c8cbef7"></a>

```
float VideoTrackSourceInfo::speed
```

 **Description:**

Video speed 

## width<a name="ac05a648fdbc7902c8845b9784398ec70"></a>

```
uint32_t VideoTrackSourceInfo::width
```

 **Description:**

Video width