[FFmpeg-devel] [PATCH v5 00/12] Subtitle Filtering

Soft Works softworkz at hotmail.com
Sun Sep 12 07:21:24 EEST 2021



> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of
> Soft Works
> Sent: Sunday, 12 September 2021 05:21
> To: ffmpeg-devel at ffmpeg.org
> Subject: [FFmpeg-devel] [PATCH v5 00/12] Subtitle Filtering
> 
> v5 Update:
> 
> - Merge AVSubtitle into AVFrame
> - Move FATE test adjustments to corresponding commit
> - Move documentation updates to corresponding filter commits
> - Remove mediatype parameter from av_frame_get_buffer2

This patchset provides proof that merging AVSubtitle into AVFrame
is doable and not far away to achieve. It obsoletes the need for
a "subtitle api", as that purpose will be served by the AVFrame
API. It might still make sense to add a number of functions for 
dealing with AVSubtitleRect (e.g. av_subtitlerect_alloc, _free)
as these should probably be ref-counted to avoid copying.
I have added a minimal internal ref counting which serves the current 
use cases, but I'm open to suggestions..

Regards,
sw


More information about the ffmpeg-devel mailing list