[FFmpeg-devel] [PATCH] lavc: make invalid UTF-8 in subtitle output a non-fatal error
nicolas.george at normalesup.org
Fri Jun 28 10:42:34 CEST 2013
Le decadi 10 messidor, an CCXXI, wm4 a écrit :
> So here's a patch that allows the application to handle this on its
> own. This should neatly fit with the no-policy idea, and it doesn't
> change the default behavior either.
Not changing the default behaviour is better, but it is still a step in the
> If you don't accept his patch, please tell me how to disable the UTF-8
> check otherwise.
Set the sub_charenc options to a reasonable value. I can not help you more
unless you explain exactly how you get the subtitles and what you intend to
do with them after decoding, but I am pretty sure that the current API is
useable (while incomplete, missing auto-detection) and you are misusing it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel