User Tools

Site Tools


ffmpeg:subtitles:font_too_large

This is an old revision of the document!


ffmpeg - Subtitles - Font too large

Use text instead of srt, otherwise the output font sometimes becomes huge.

Need to change -c:s srt subtitle.srt to -c:s text subtitle.srt.


Map a Subtitle

To copy a Subtitle. To convert the Subtitle to srt. To convert the Subtitle to text.

ffmpeg -i -map 0:s? -c:s copy
ffmpeg -i -map 0:s? -c:s srt
ffmpeg -i -map 0:s? -c:s text

NOTE: The srt conversion, can result in huge text.

  • Therefore, it is recommended to use the text conversion

Use:

-c:s text

Instead of

-c:s srt

NOTE: SRT, as opposed to ASS, does not contain style information.

  • The subtitle font and font size will need to be configured in the playback software.
  • An example of srt line:
    00:05:55,160 --> 00:05:59,080
    <font size="55">subtitle text</font> 
ffmpeg/subtitles/font_too_large.1741509141.txt.gz · Last modified: 2025/03/09 08:32 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki