[FFmpeg-devel] [PATCH][RFC] add a list of generic tag names

Michael Niedermayer michaelni
Tue Dec 15 15:39:02 CET 2009


On Mon, Dec 14, 2009 at 10:12:57PM +0100, Anton Khirnov wrote:
> On Mon, Dec 14, 2009 at 09:18:48PM +0100, Michael Niedermayer wrote:
> > 
> > does it work otherwise? if not it was necessary (thats pretty much the
> > definition of necessary)
> > 
> i meant why did you change author to artist yesterday? it breaks apps
> that expect to find 'author' and i don't see any real advantage.

Well, you probably are correct, it just felt more correct when i read
the change from ffmbc.
If you send a patch that reverts it ill approve it.


[...]
> diff --git a/libavformat/avformat.h b/libavformat/avformat.h
> index 4cc2fa6..582e4c8 100644
> --- a/libavformat/avformat.h
> +++ b/libavformat/avformat.h
> @@ -77,6 +77,34 @@ struct AVFormatContext;
>   *    For example: Author-ger=Michael, Author-eng=Mike
>   *    The original/default language is in the unqualified "Author" tag.
>   *    A demuxer should set a default if it sets any translated tag.
> + *
> + * Tag names are normally exported exactly as stored in the container to
> + * allow lossless remuxing to the same format. For container-independent
> + * handling of metadata, av_metadata_conv() can convert it to ffmpeg generic
> + * format. Follows a list of generic tag names:
> + * album        -- name of the set this work belongs to
> + * albumartist  -- main author of the set/album, if different from artist.
> + *                 e.g. 'Various Artists' for compilation albums.
> + * artist       -- main author of the work
> + * comment      -- any additional description of the file
> + * composer     -- who composed the work, if different from artist
> + * copyright    -- name of copyright holder
> + * date         -- date when the work was created, preferably in ISO 8601
> + * disc         -- number of a subset, e.g. disc in a multi-disc collection
> + * encoder      -- name/settings of the software/hardware that produced the file
> + * encodedby    -- person/group who created the file
> + * filename     -- original name of the file

> + * genre        -- <self-evident>

Well, iam not sure if this is a reasonable description


> + * language     -- main language in which the work is performed, preferably
> + *                 in ISO 639-2 format
> + * performer    -- artist who performed the work, if different from artist.
> + *                 e.g for 'Also sprach Zarathustra', artist would be 'Richard
> + *                 Strauss' and performer 'London Philharmonic Orchestra'.
> + * publisher    -- name of the label/publisher
> + * title        -- name of the work
> + * track        -- number of this work in the set, can be in form current/total
> + * Each tag type can also have a -sort variant, which contains a version of the
> + * tag that should be used for sorting.

amigous, X-sort-eng or X-eng-sort ?


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

When you are offended at any man's fault, turn to yourself and study your
own failings. Then you will forget your anger. -- Epictetus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20091215/9db95bb6/attachment.pgp>



More information about the ffmpeg-devel mailing list