[FFmpeg-devel] [PATCH] new generic metadata API

Aurelien Jacobs aurel
Mon Sep 22 00:24:36 CEST 2008


Hi,

A generic metadata API was queried several times... Now, here it is !
 - The first patch add the new API itself. It contains a compatibility
   layer so that software using the old API will still work.
   It also contains the appropriate #if, so that the old API and the
   compatibility layer will disappear after next lavf major bump.
 - The second patch changes all the muxers/demuxers to use the new API.
 - The third patch changes ffmpeg.c, ffplay.c and ffserver.c to use
   the new API.

Basically, this API allows to associate random string value to random
string name, for AVFormatContext, AVStream, AVChapter and AVProgram.
It also supports more advanced features, such as recursive metadata,
and multiple tags with the same name.
For an example usage of such features, here is what matroska can
contain:

BAND
- LEADPERFORMER
-- ADDRESS
--- DATE
--- DATEEND
-- ADDRESS
--- DATE

I hope this new API will fit everyone needs.

Aurel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: metadata_api.diff
Type: text/x-diff
Size: 18300 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080922/02bc87d9/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: metadata_mux.diff
Type: text/x-diff
Size: 69968 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080922/02bc87d9/attachment-0001.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: metadata_apps.diff
Type: text/x-diff
Size: 6285 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080922/02bc87d9/attachment-0002.diff>



More information about the ffmpeg-devel mailing list