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
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to