[FFmpeg-trac] #5429(undetermined:closed): mov_text subtitles crash "QuickTime Player" and iOS devices

FFmpeg trac at avcodec.org
Thu Dec 15 06:02:30 EET 2016

#5429: mov_text subtitles crash "QuickTime Player" and iOS devices
             Reporter:  julian       |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:  mov_text     |               Resolution:  invalid
  sub                                |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |

Comment (by erikbs):

 I have experienced this problem too, but I think I have a solution. Only
 recently did ffmpeg add support for italic/bold text etc. when encoding
 mov_text subtitles. In 2.7.2 this feature was not added yet, so ffmpeg
 just stripped away the text styles and thus your file would play fine in
 QuickTime. It looks like the styles are encoded incorrectly, and coupled
 with bad error handling in QuickTime, that causes the crash. Your sample
 file has been deleted, but I guess that the subtitles contain italic or
 bold text (or other styling).

 I have created [https://trac.ffmpeg.org/ticket/6021 a more detailed post]
 on this issue, my possible fix is included as a comment to the original
 post. Please try applying my patch, then recompile and run ffmpeg and
 check if the movie still crashes QuickTime.

Ticket URL: <https://trac.ffmpeg.org/ticket/5429#comment:9>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list