[FFmpeg-devel] AVDictionary for binary tags

Dmitry Kostjuchenko dmitrykos at iauxsoft.com
Fri Jan 20 20:52:27 CET 2012


Hi Reimar!

I was thinking about base64 encoding but favored direct approach (in my 
case) as it does not require client side to have base64 implementation and 
is much faster. Speed especially important when processing many audio files, 
like hundreds up to thousands. Then with such amount of files 
encoding/decoding to base64 just to pass binary data would bring unnecessary 
overhead. Base64 and similar encoding method is good but for few files.

Best regards,
Dmitry.

----- Original Message ----- 
From: "Reimar Döffinger" <Reimar.Doeffinger at gmx.de>
To: "FFmpeg development discussions and patches" <ffmpeg-devel at ffmpeg.org>
Sent: Friday, January 20, 2012 9:14 PM
Subject: Re: [FFmpeg-devel] AVDictionary for binary tags


> On Fri, Jan 20, 2012 at 05:40:18PM +0200, Dmitry Kostjuchenko wrote:
>> I would like to propose an advancement for AVDictionary which allows 
>> working with binary tags. Binary data can be cover art image built into 
>> tags of audio files, as one of possible examples.
>>
>> The ABI shall be compatible with older versions.
>>
>> The idea is to add additional function which sets binary data:
>> int av_dict_set_binary(AVDictionary **pm, const char *key, const void 
>> *value, int64_t bsize, int flags);
>
> While such a function might be useful, I don't see why it should do
> anything more complex than base64-encoding the data.
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 



More information about the ffmpeg-devel mailing list