openharmony 鸿蒙 capi-avmetakeys-h

2026-08-25 浏览 (1)

avmetakeys.h

Overview

Defines audio and video metadata keys.

File to include: <multimedia/player_framework/avmetakeys.h>

Library: libavmedia_base.so

System capability: SystemCapability.Multimedia.Media.Core

Since: 23

Related module: AVMediaBase

Total

Variables

NameDescription
const char * OH_AVMETA_KEY_TRACK_INDEXTrack index. The value type is int32_t.
Since: 23
const char * OH_AVMETA_KEY_TRACK_TYPETrack type. The value type is int32_t.
Since: 23
const char * OH_AVMETA_KEY_MIME_TYPEMIME type of the codec. The value type is string.
Since: 23
const char * OH_AVMETA_KEY_DURATIONMedia duration, in microseconds. The value type is int64_t.
Since: 23
const char * OH_AVMETA_KEY_BITRATEBit rate, in bit/s. The value type is int64_t.
Since: 23
const char * OH_AVMETA_KEY_FRAME_RATEVideo frame rate (number of frames per 100 seconds). The value type is double.
Since: 23
const char * OH_AVMETA_KEY_WIDTHVideo width. The value type is int32_t.
Since: 23
const char * OH_AVMETA_KEY_HEIGHTVideo height. The value type is int32_t.
Since: 23
const char * OH_AVMETA_KEY_CHANNEL_COUNTNumber of audio channels. The value type is int32_t.
Since: 23
const char * OH_AVMETA_KEY_SAMPLE_RATEAudio sampling rate (Hz). The value type is int32_t.
Since: 23
const char * OH_AVMETA_KEY_SAMPLE_DEPTHAudio sampling bit depth. The value type is int32_t.
Since: 23
const char * OH_AVMETA_KEY_LANGUAGELanguage ID. The value type is string.
Since: 23
const char * OH_AVMETA_KEY_TRACK_NAMETrack name. The value type is string.
Since: 23
const char * OH_AVMETA_KEY_HDR_TYPEHDR type. The value type is int32_t.
Since: 23
const char * OH_AVMETA_KEY_ORIGINAL_WIDTHOriginal video width. The value type is int32_t.
Since: 23
const char * OH_AVMETA_KEY_ORIGINAL_HEIGHTOriginal video height. The value type is int32_t.
Since: 23
const char * OH_AVMETA_KEY_REF_TRACK_IDSList of referenced track IDs, which is used only for the metadata extractor.
Since: 23
const char * OH_AVMETA_KEY_TRACK_REF_TYPETrack reference type, which is used only for the metadata extractor.
Since: 23

你可能感兴趣的鸿蒙文章

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