harmony 鸿蒙OH_AVRecorder_EncoderInfo
OH_AVRecorder_EncoderInfo
Overview
The OH_AVRecorder_EncoderInfo struct describes the encoder information.
Since: 18
Related module: AVRecorder
Header file: avrecorder_base.h
Summary
Member Variables
|Name|Description| |–|–| |OH_AVRecorder_CodecMimeType mimeType|MIME type of the encoder.| |char* type|Pointer to the encoder type. The value audio means an audio encoder, and video means a video encoder.| |OH_AVRecorder_Range bitRate|Bit rate range of the encoder, with the minimum and maximum bit rates specified.| |OH_AVRecorder_Range frameRate|Video frame rate range, with the minimum and maximum frame rates specified. This parameter is available only for video encoders.| |OH_AVRecorder_Range width|Video frame width range, with the minimum and maximum widths specified. This parameter is available only for video encoders.| |OH_AVRecorder_Range height|Video frame height range, with the minimum and maximum heights specified. This parameter is available only for video encoders.| |OH_AVRecorder_Range channels|Number of audio channels for the audio capturer, with the minimum and maximum numbers of audio channels specified. This parameter is available only for audio encoders.| |int32_t* sampleRate|Pointer to the list of audio sampling rates, including all available audio sampling rates. This parameter is available only for audio encoders.| |int32_t sampleRateLen|Length of the audio sampling rate list.|
你可能感兴趣的鸿蒙文章
harmony 鸿蒙OH_AVRecorder_Config
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦