[FFmpeg-devel] [PATCH] avfilter/vf_subtitles: allow using embedded fonts

Gyan Doshi ffmpeg at gyani.pro
Sat May 29 20:24:44 EEST 2021



On 2021-05-29 22:14, Oneric wrote:
> On Sat, May 29, 2021 at 11:53:24 +0530, Gyan Doshi wrote:
>> On 2021-05-29 11:51, Gyan Doshi wrote:
>>> On 2021-05-29 11:07, Gyan Doshi wrote:
>>>> I'll test this and apply.
>>> Pushed as 3300625c6f148455b08d641597d54b5be4c0f76a
>> Would it make sense to allow users to not load embedded fonts?
> Thanks!
> I can't think of a reason not to load embedded fonts in ffmpeg; they are
> required to render subs as intended by the sub author. Without them some
> fallback font from the system or mkv-attachments will be used instead
> (which if the requested font doesn't by chance happen to also be available
>   on the system or as a container-attachment, will be some, more or
>   less random font).
> VLC always enables this unconditionally, but mplayer and mpv have an option
> for this defaulting to embedded fonts enabled, but as before I don't know why
> anyone would want to disable this.

Security reasons?

Regards,
Gyan


More information about the ffmpeg-devel mailing list