[FFmpeg-devel] [PATCH] lavc: make invalid UTF-8 in subtitle output a non-fatal error

wm4 nfxjfg at googlemail.com
Fri Aug 9 12:14:38 CEST 2013

On Fri, 9 Aug 2013 12:00:45 +0200
Nicolas George <nicolas.george at normalesup.org> wrote:

> Le duodi 22 thermidor, an CCXXI, wm4 a écrit :
> > How does that work for things like movtext?
> # Text strings for display and font names are uniformly coded in UTF-8, or
> # start with a UTF-16 BYTE ORDER MARK (\uFEFF) and by that indicate that the
> # string which starts with the byte order mark is in UTF-16.

Fair enough, but note how the current API can't even handle UTF-16 in
this case.

(And this still assumes that all files actually follow the timed text
specification and don't use legacy charsets, as well as that movtext
will be the only binary text subtitle format - forever.)

You didn't answer the other (more important) questions.

More information about the ffmpeg-devel mailing list