[FFmpeg-devel] [PATCH] Add four metadata tags to 3gp files

Benoit Fouet benoit.fouet
Tue Sep 9 09:01:59 CEST 2008

Hi Baptiste,

Baptiste Coudurier wrote:
> Horacio Sanson wrote:
>> On Tue, Sep 9, 2008 at 4:16 AM, Baptiste Coudurier
>> <baptiste.coudurier at smartjog.com> wrote:
>>> Hi,
>>> Horacio Sanson wrote:
>>>>              mov_write_3gp_udta_tag(pb, s, "titl", s->title);
>>>>              mov_write_3gp_udta_tag(pb, s, "auth", s->author);
>>>>              mov_write_3gp_udta_tag(pb, s, "gnre", s->genre);
>>>>              mov_write_3gp_udta_tag(pb, s, "dscp", s->comment);
>>>>              mov_write_3gp_udta_tag(pb, s, "albm", s->album);
>>>>              mov_write_3gp_udta_tag(pb, s, "yrrc", "nil");
>>>> +            mov_write_string_tag(pb, "\251nam", s->title, 0);
>>>> +            mov_write_string_tag(pb, "\251aut", s->author, 0);
>>>> +            mov_write_string_tag(pb, "\251des", s->comment, 0);
>>>> +            mov_write_string_tag(pb, "\251cpy", s->copyright, 0);
>>> Are these standardized in 3gp ? I don't think so, 3gp uses differents
>>> tags IIRC like coded. Doesn't your content providers support 3gp tags ?
>>> I might be inclined to allow this if not...
>> Believe me I wish I could quote the standard and tell you these tags
>> are there but I can't. Blame Quicktime pro that is the defacto
>> authoring tool used by all content creators here in Japan. Quicktime's
>>  property editor allows to add these four tags to MOV, 3gpp and 3g2
>> files that are displayed on all mobile phones in Japan (i.e. a lot of
>> devices) so pretty much is a standard here.
> Well, 3GPP is the only _standard_.
> Humm hopefully I quickly checked with quicktime player before answering,
> and here my quicktime player display correctly title (using -title) and
> copyright (using -copyright) in my 3gp file.
> Do you still have a problem ? I added -copyright support just today did
> you try again ?

these are DoCoMo tags, they are not, AFAIK, in the standards, but are
the way the content providers write their content for iMode, IIRC...

>> On the other hand these tags are exactly the same tags used in
>> MODE_MOV, I simply add them to 3gp and 3g2 files. Maybe it would be
>> better to not differentiate between these three modes at all and add
>> all those tags to the files (3gp, 3p2, mov, mp4) so the tags can be
>> seen in as many devices/programs as possible.... just an idea.
> I'd prefer being standard here.

you'll find lots of file following the scheme presented in this
request... this is not standard, but widely used for iMode anyway...

Benoit Fouet
Purple Labs S.A.

More information about the ffmpeg-devel mailing list