FFmpeg library render text/ass subtitles

Viewed 846

I'm trying to make FFmpeg render text/ASS subtitles into bitmap after it decodes the packets into AVSubtitle structure. In the AVSubtitle documentation there is this description:

uint8_t* AVSubtitleRect::data[4]

data+linesize for the bitmap of this subtitle. Can be set for text/ass as well once they are rendered.

However, I can't find any other information on how to enable this. Can anyone please provide a hint?

0 Answers
Related