[FFmpeg-trac] #6021(avcodec:new): tx3g / mov_text subtitles are not encoded correctly in some specific cases

FFmpeg trac at avcodec.org
Fri Dec 16 03:01:32 EET 2016


#6021: tx3g / mov_text subtitles are not encoded correctly in some specific cases
---------------------------------------+-----------------------------------
             Reporter:  erikbs         |                    Owner:
                 Type:  defect         |                   Status:  new
             Priority:  normal         |                Component:  avcodec
              Version:  git-master     |               Resolution:
             Keywords:  utf8 mov_text  |               Blocked By:
             Blocking:                 |  Reproduced by developer:  0
Analyzed by developer:  0              |
---------------------------------------+-----------------------------------

Comment (by erikbs):

 Thanks, I think I managed to do it, at least I got an email telling me
 that the list admin had been notified.

 Two things remain:
 1. Fixing the decoder as well
 2. UTF-16, as is required by the format specification (only Big Endian
 UTF-16 is required, UTF-16 is optional)

 I will take a look at the first one, but probably not the second, at least
 not now. According to the specification, UTF-8 is to be assumed unless
 there is a UTF-16 BOM, and I am afraid I will break something if I even
 try to solve this. Besides, I have never encountered UTF-16 encoded
 subtitles and UTF-16 support is broken both with and without my patch (in
 different ways).

--
Ticket URL: <https://trac.ffmpeg.org/ticket/6021#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list