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

Both sides previous revisionPrevious revision
Next revision
Previous revision
ffmpeg:subtitles:font_too_large [2025/03/08 23:57] peterffmpeg:subtitles:font_too_large [2025/03/09 08:35] (current) peter
Line 8: Line 8:
  
 ===== Map a Subtitle ===== ===== Map a Subtitle =====
- 
-To copy a Subtitle. 
-To convert the Subtitle to srt. 
-To convert the Subtitle to text. 
  
 <code bash> <code bash>
-ffmpeg -i -map 0:s? -c:s copy +ffmpeg -i -map 0:s? -c:s copy                                          # To copy a Subtitle. 
-ffmpeg -i -map 0:s? -c:s srt +ffmpeg -i -map 0:s? -c:s srt                                           # To convert the Subtitle to srt. 
-ffmpeg -i -map 0:s? -c:s text+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> </code>
  
Line 38: 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.1741478274.txt.gz · Last modified: 2025/03/08 23:57 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki