[关闭]
@ltlovezh 2020-08-27T03:51:58.000000Z 字数 319 阅读 1049

FFmpeg metadata

ffmpeg


AVFormatContext.metadata保存了AVDictionary结构体数组的首地址,表示封装容器的元数据。

libavutil/dict.hlibavutil/dict.c提供了对AVDictionary结构体的定义和操作。

  1. struct AVDictionary {
  2. int count; // 数组长度
  3. AVDictionaryEntry *elems; // key-value键值对
  4. };
  5. typedef struct AVDictionaryEntry {
  6. char *key;
  7. char *value;
  8. } AVDictionaryEntry;

Mp4、FLV和TS容器中,metadata中的数据最终是存储在哪里的?

添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注