[FFmpeg-user] Frame-level metadata

Moritz Barsnick barsnick at gmx.net
Thu Mar 28 17:30:27 EET 2019


On Thu, Mar 28, 2019 at 15:19:40 +0000, Dzhoshkun Ismail Shakir wrote:
> I'm trying to programmatically  add metadata to each frame of a video
> stream.

This mailing list covers the usage of ffmpeg's command line tools. For
questions regarding programming with the libav* APIs and ABIs, please
visit libav-user:
https://ffmpeg.org/mailman/listinfo/libav-user

> The target encoding is HEVC (via NVENC) stored in an MP4 container.
[...]
> av_dict_set(&frame->metadata, "my-custom-key", data, 0); // data: 23-char string

IIUC, the MP4 container doesn't support arbitrary metadata keys.

See here for an indication of the supported ones:
https://wiki.multimedia.cx/index.php/FFmpeg_Metadata#QuickTime.2FMOV.2FMP4.2FM4A.2Fet_al.

Cheers,
Moritz


More information about the ffmpeg-user mailing list