[FFmpeg-devel] [RFC][PATCH] Rudimentary support for id3v2 APIC tags.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Dec 25 22:46:37 CET 2011


On Sat, Dec 24, 2011 at 09:00:42PM +0100, Nicolas George wrote:
> Le quartidi 4 nivôse, an CCXX, Adrian Drzewiecki a écrit :
> > When parsing id3 tags, if an APIC tag is encountered, add it
> > to the tag dictionary encoded as "<mime type>\0<4 byte data len>\0<data>".
> 
> I did not read the rest, but I think it would be better to have proper
> support for MIME type (or any kind of type description) and binary data
> directly in the data structures.

So far the idea was to store binary data base64-encoded.
This has the advantage of not needing special code to handle just printing it
on the command-line.
mime type is a slightly different question.
I guess you could always go for mime-type + space and the encoded data
since base64 does not contain space.


More information about the ffmpeg-devel mailing list