[FFmpeg-devel] [RFC/PATCH] New metadata conversion API

Anton Khirnov anton
Sun Oct 3 21:14:21 CEST 2010


Hi,
our current metadata conversion API has a number of flaws, e.g.:
 -exactly one metadata format is hardcoded into AVInputFormat. This is not
  enough, since as Reimar pointed out recently, we can find at least ID3
  in everything.
 -the user must keep track of AVMetadata's format manually.
 -av_metadata_conv() can only convert whole AVFormatContext at once.
 etc.

Attached patches attempt to introduce a new conversion API which doesn't
have these problems. It might be slighly bulkier to use though, since
metadata now has to be explicitly initialized to desired format.

Please comment.

--
Anton Khirnov




More information about the ffmpeg-devel mailing list