[FFmpeg-devel] suggested patch: avfilter/vf_subtitles: add support for subtitles font scaling

Sergey sergemp at mail.ru
Thu Sep 11 01:58:07 CEST 2014


Hello.

Recently I used ffmpeg to embed subtitles, and I needed to scale them.

I thought "original_size" option scales subtitles, but it does not.
So I wrote a short patch for it to do that (attached)

If that is considered too complex/bad idea I've also attached another patch
that adds a "font_scale" option instead.

I hope you like one of these.
-- 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/x-patch
Size: 804 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140911/b6e6194f/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/x-patch
Size: 1636 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140911/b6e6194f/attachment-0001.bin>


More information about the ffmpeg-devel mailing list