@ltlovezh
        
        2020-08-27T03:51:58.000000Z
        字数 319
        阅读 1350
    ffmpeg
AVFormatContext.metadata保存了AVDictionary结构体数组的首地址,表示封装容器的元数据。
libavutil/dict.h和libavutil/dict.c提供了对AVDictionary结构体的定义和操作。
struct AVDictionary {int count; // 数组长度AVDictionaryEntry *elems; // key-value键值对};typedef struct AVDictionaryEntry {char *key;char *value;} AVDictionaryEntry;
Mp4、FLV和TS容器中,metadata中的数据最终是存储在哪里的?
