> You somehow need this for AVStreams too. Ogg metadata is (for some > reason) always per-stream. Note that ffmpeg has its own API for > updating per-stream metadata (as packet side data), so it would be nice > if we somehow could get an API that handles all cases well, instead of > adding a new API every 3 months to make up for the failing of the > previous API.
So ogg was actually one of my first test cases: it appears that ogg will update the stream's metadata info whenever it changes, and av_metadata_updated will actually check out the stream's metadata dictionary and see that it has changed and report to the app that there is new metadata. If you're referring to the av_opt_get_dict_val part, that's for pulling in metadata set in non-standard places (created specifically for icecast/http). I don't think that there was any real need to pull stream metadata up to the format context as it's possible, I would assume, for a video and audio stream to have separate metadata that vary from each other. _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
