AVDictionary
AVDictionary is a lightweight, string-based key-value store used in FFmpeg’s libavutil to hold metadata and option pairs. It is designed for simple transfer of attributes between components such as demuxers, muxers, and codecs.
Internally it is implemented as a hash table of AVDictionaryEntry entries, each with a char* key and
Common operations include av_dict_set() to insert or replace a pair, av_dict_get() to fetch a value by key,
Flags control behavior, including case sensitivity and whether to duplicate strings or append to existing values
In practice, a dictionary is initialized as NULL, populated as needed, and passed through FFmpeg components