[FFmpeg-devel] [PATCH v2 1/4] lavu/frame: Add Dolby Vision metadata side data type
Niklas Haas
ffmpeg at haasn.xyz
Sat Dec 11 13:37:49 EET 2021
On Fri, 10 Dec 2021 19:06:15 +0100 Marton Balint <cus at passwd.hu> wrote:
> Don't we already have av_format_inject_global_side_data() for something
> like this? It is not enabled by default however, only for ffplay, but I am
> not sure why.
Indeed, that seems to do exactly what we need - while testing though I
noticed that it only adds the side data on the first AVPacket. So my
current solution was *almost* right, I just need to persist it across
frames inside the decoder. That solves the problem elegantly, IMO.
More information about the ffmpeg-devel
mailing list