[FFmpeg-devel] [PATCH v2 1/4] lavu/frame: Add Dolby Vision metadata side data type
Derek Buitenhuis
derek.buitenhuis at gmail.com
Fri Dec 10 18:49:54 EET 2021
On 12/9/2021 9:46 PM, Niklas Haas wrote:
> So, I changed the API to accept the DOVI configuration record, but
> actually getting that record into hevcdec isimpossible given the current
> design of FFmpeg where stream-level properties are not mode available to
> the decoder. Possibilities:
Ugh, yes, now I remember - I an into this same issue when adding RPU buffer export.
> 1. Add patch to propagate stream-level properties to
> AVCodecContext.coded_side_data automatically
I don't know enough about what coded_side_data is to comment, I think.
> 2. Add patch to automatically propagate stream-level properties to each
> AVPacket somehow?
This seems excessive if it means attaching stream side data to every single packet...
> 3. Have the code read the profile from the AVPacket even though the side
> data doesn't exist for them, and let this just be an open bug.
If you mean just leaving the level guessing in, I guess it is somehow the least
bad idea... somehow.
> 4. Something else?
I hope someone else does have an idea ;)
- Derek
More information about the ffmpeg-devel
mailing list