harmony 鸿蒙OH_AVRecorder_EncoderInfo

2025-06-16 浏览 (1)

OH_AVRecorder_EncoderInfo

概述

提供编码器信息。

起始版本: 18

相关模块: AVRecorder

所在头文件: avrecorder_base.h

汇总

成员变量

名称描述
OH_AVRecorder_CodecMimeType mimeType编码器MIME类型名称。
char* type编码器类型,audio表示音频编码器,video表示视频编码器。
OH_AVRecorder_Range bitRate比特率,包含该编码器的最大和最小值。
OH_AVRecorder_Range frameRate视频帧率,包含帧率的最大和最小值,仅视频编码器拥有。
OH_AVRecorder_Range width视频帧的宽度,包含宽度的最大和最小值,仅视频编码器拥有。
OH_AVRecorder_Range height视频帧的高度,包含高度的最大和最小值,仅视频编码器拥有。
OH_AVRecorder_Range channels音频采集声道数,包含声道数的最大和最小值,仅音频编码器拥有。
int32_t* sampleRate音频采样率列表,包含所有可以使用的音频采样率值,仅音频编码器拥有。
int32_t sampleRateLen音频采样率列表长度

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Media Kit(媒体服务)

harmony 鸿蒙Interface (AVImageGenerator)

harmony 鸿蒙Interface (AVMetadataExtractor)

harmony 鸿蒙Interface (AVPlayer)

harmony 鸿蒙Interface (AVRecorder)

harmony 鸿蒙Interface (AVScreenCaptureRecorder)

harmony 鸿蒙Interface (AVTranscoder)

harmony 鸿蒙废弃的Interface (AudioPlayer, deprecated)

harmony 鸿蒙废弃的Interface (AudioRecorder, deprecated)

harmony 鸿蒙Interface (MediaSource)

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