[FFmpeg-devel] [PATCH] WIP: subtitles in AVFrame

Clément Bœsch u at pkh.me
Mon Nov 7 15:38:53 EET 2016

On Thu, Nov 03, 2016 at 01:05:01AM +0100, Marton Balint wrote:
> > So long story short: AVSubtitle → AVFrame, you have to use the new M:N
> > API, and it's integrated into lavfi.
> > 
> > Now a bit longer: the AVFrame->extended_data are
> > AVFrameSubtitleRectangle (declared in lavu/frame).
> Wouldn't it make sense to simply use video AVFrames here instead of a
> separate struct?

mmh. AVFrame for each rectangle? So we will have AVFrame in AVFrame, and
the need to add fields such as x and y in that AVFrame? I'm not too fond
of this but it could be considered yes

Clément B.

More information about the ffmpeg-devel mailing list