[FFmpeg-devel] [PATCH 2/2] lavc/pngdec: decode textual data (tEXt and zTXt).

Paul B Mahol onemda at gmail.com
Sun Oct 28 16:08:59 CET 2012

On 10/28/12, Nicolas George <nicolas.george at normalesup.org> wrote:
> Le septidi 7 brumaire, an CCXXI, Paul B Mahol a ecrit :
>> Why this conversion?
> http://www.libpng.org/pub/png/spec/1.2/PNG-Chunks.html#C.Anc-text
> "The text is interpreted according to the ISO/IEC 8859-1 (Latin-1)
> character
> set [ISO/IEC-8859-1]."
> Since there is no field to specify the encoding of an AVDictionary, only
> UTF-8 is reasonable. Thus the conversion.

And key in AVDictionaryEntry is UTF-8 and not ASCII?
>> APE tags do not have this.
> I do not know the APE format. If the encoding of the tags is not specified,
> then the format is brain-dead.

It is similar - keys are ASCII and values are UTF-8 or binary (denoted
with flags).

More information about the ffmpeg-devel mailing list