openharmony 鸿蒙 capi-avrecorder-oh-avrecorder-encoderinfo

2026-08-25 浏览 (1)

OH_AVRecorder_EncoderInfo

typedef struct OH_AVRecorder_EncoderInfo {...} OH_AVRecorder_EncoderInfo

Overview

The struct describes the encoder information.

Since: 18

Related module: AVRecorder

Header file: avrecorder_base.h

Summary

Member Variables

NameDescription
OH_AVRecorder_CodecMimeType mimeTypeMIME type of the encoder.
char* typePointer to the encoder type. The value audio means an audio encoder, and video means a video encoder.
OH_AVRecorder_Range bitRateBit rate range of the encoder, with the minimum and maximum bit rates specified.
OH_AVRecorder_Range frameRateVideo frame rate range, with the minimum and maximum frame rates specified. This parameter is available only for video encoders.
OH_AVRecorder_Range widthVideo frame width range, with the minimum and maximum widths specified. This parameter is available only for video encoders.
OH_AVRecorder_Range heightVideo frame height range, with the minimum and maximum heights specified. This parameter is available only for video encoders.
OH_AVRecorder_Range channelsAudio channel count for the audio capturer, with the minimum and maximum numbers of audio channels specified. This parameter is available only for audio encoders.
int32_t* sampleRatePointer to the list of audio sample rates, including all available audio sample rates. This parameter is available only for audio encoders.
int32_t sampleRateLenLength of the audio sampling rate list.

你可能感兴趣的鸿蒙文章

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/mQKkkAaQ