> - Outside the normal bitstream (icy)
> - In the container format
>   - Global
>   - Per stream
>   - Per packet
>   - Per chapter
> - In the codec (as frame side data)

User-presentable metadata comes in from the codec? Whereabouts is
that, because I completely missed it.

> Ideally the simplest approach is check all the places every time you get
> a packet and react accordingly.

If you were to poll every place every time you get a packet, there's
another issue with that: some formats allow multiple metadata updates
in between data, so it's possible for those updates to get lost.

> We could do that for you and poll and export the metadata for you using
> a new function for demuxing (I assume you wouldn't care much about
> decoding), the problem would be then represent the update so you know
> which part got updated).

By a new function for demuxing, do you mean adding to the demuxer
another callback to fetch metadata changes and having it called after
each packet is read? And doing the same for protocols (icy)?

-Andrew
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to