User Tools

Site Tools


ffmpeg:subtitles:font_too_large

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ffmpeg:subtitles:font_too_large [2025/03/08 23:53] – created peterffmpeg:subtitles:font_too_large [2025/03/09 08:35] (current) peter
Line 6: Line 6:
  
 ---- ----
 +
 +===== Map a Subtitle =====
 +
 +<code bash>
 +ffmpeg -i -map 0:s? -c:s copy                                          # To copy a Subtitle.
 +ffmpeg -i -map 0:s? -c:s srt                                           # To convert the Subtitle to srt.
 +ffmpeg -i -map 0:s? -c:s text                                          # To convert the Subtitle to text.
 +ffmpeg -nostats -loglevel 0 -i subtile.ass -y -c:s srt subititle.srt   # To convert ass subtitles to srt.
 +</code>
 +
 +<WRAP info>
 +**NOTE:**  The **srt** conversion, can result in huge text.
 +
 +  * Therefore, it is recommended to use the **text** conversion
 +
 +</WRAP>
  
 Use: Use:
Line 19: Line 35:
 </code> </code>
  
 +----
 +
 +<WRAP info>
 +**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:<code bash>
 +00:05:55,160 --> 00:05:59,080
 +<font size="55">subtitle text</font> 
 +</code>
 +
 +</WRAP>
  
ffmpeg/subtitles/font_too_large.1741478021.txt.gz · Last modified: 2025/03/08 23:53 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki