[FFmpeg-devel] [PATCH] encode mov metadata to UTF-8

Michael Niedermayer michaelni
Tue Feb 2 20:24:39 CET 2010

On Tue, Feb 02, 2010 at 07:45:45PM +0100, Reimar D?ffinger wrote:
> Hello,
> not sure if it is correct, since it assumes metadata is store in latin-1 for
> all the cases that code handles, however it fixes the output for
> http://samples.mplayerhq.hu/V-codecs/SVQ3/Vertical400kbit.sorenson3.mov
> correctly displaying the (c) sign (on and UTF-8 console at least).

what about some function that takes a string and returns a guess if its
more likely latin1 or utf8 ?
I think the probability of random latin1 to parse as valid utf8 is low

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Concerning the gods, I have no means of knowing whether they exist or not
or of what sort they may be, because of the obscurity of the subject, and
the brevity of human life -- Protagoras
-------------- 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/20100202/65ef08a3/attachment.pgp>

More information about the ffmpeg-devel mailing list