[FFmpeg-devel] [PATCH] metadata conversion API

Baptiste Coudurier baptiste.coudurier
Sat Feb 28 00:29:49 CET 2009


On 2/25/2009 5:13 PM, Aurelien Jacobs wrote:
> Hi,
> 
> There is one last and important issue I want to address with the new
> metadata API.
> Old API allowed client apps and muxers to get a few select well known
> tags (title, author...). With the new API, there is no simple way to
> do that, right now. For example, if you demux an ASF file, and want to
> get the name of the album, av_metadata_get(..., "album", ...) won't
> give you any results, because ASF stores this information in a tag
> named "AlbumTitle". There are lots of examples with various demuxers,
> even for simple common tags. This also prevent correct remuxing between
> different containers.

First, thanks for your work Aurel, this is greatly appreciated.

I have a few ideas:
Would it be possible to also export container information as "metadata" ?
Like aspect ratio, width, height. This would avoid duplicating fields
from AVCodecContext, and make this information available as a simple way
to user wanting for example to use libavformat to retrieve media
information.

Then I might think it could be great to also enable AVMetadata for
libavcodec and let codecs export some metadata in a generic way, instead
of adding a field to AVCodecContext for each item.

What do you guys think about this ?

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
checking for life_signs in -lkenny... no
FFmpeg maintainer                                  http://www.ffmpeg.org




More information about the ffmpeg-devel mailing list