[FFmpeg-devel] [PATCH 2/4] lavd: make lavfi device export the metadata up to the AVFrame.
Clément Bœsch
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
more solid:
- 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
helps)
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.
[...]
--
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121011/c5fe3183/attachment.asc>
More information about the ffmpeg-devel
mailing list