[FFmpeg-devel] [PATCH 2/4] lavd: make lavfi device export the metadata up to the AVFrame.
ubitux at gmail.com
Thu Oct 11 23:22:53 CEST 2012
On Wed, Oct 10, 2012 at 12:55:11AM +0200, Clément Bœsch wrote:
> TODO: lavc minor bump?
> libavcodec/avcodec.h | 1 +
> libavcodec/utils.c | 7 +++++++
> libavdevice/lavfi.c | 9 +++++++++
> 3 files changed, 17 insertions(+)
After a discussion on IRC, we are considering something more complex but
- in lavd/lavfi: convert each buffer ref metadata key/value into side
data type "meta" like let's say "key\0value\0"
- put some metadata dict in the raw a/v contexts (just like the tiff
decoder), and construct it based on the "meta" side data of each
packets. (AVCodecInternal was also mentioned, I need to look how it
One other question still stands: should we keep the prefix thing, or use a
new dict like AVFrame->filter_metadata? The only benefits are avoiding
naming conflicts with other metadata, and avoid the an arbitrary "hacky"
prefix to workaround that first problem. But Michael was wondering if it
would make sense to treat them differently.
Anyway, it's still up to discussion.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 490 bytes
Desc: not available
More information about the ffmpeg-devel