[FFmpeg-devel] [PATCH] lavc: make invalid UTF-8 in subtitle output a non-fatal error
nfxjfg at googlemail.com
Fri Aug 9 11:36:19 CEST 2013
On Fri, 9 Aug 2013 11:15:54 +0200
Nicolas George <nicolas.george at normalesup.org> wrote:
> Then I suspect the best course of action is to provide in lavu a simple API
> on top of either iconv/libiconv or a native recoding implementation
> supporting only the really easy and necessary encodings (UTF-8, ISO-8859-1
> and UTF-16). And possibly add later support for other libraries than iconv,
> if they exist.
And reject all other input? Without enabling the application to do
anything about it? The application might have its own iconv discovery
or even have access to different charset detection and conversion
frameworks (think all all these bulky GUI frameworks). What you suggest
does not work, can not work, and will never work.
More information about the ffmpeg-devel