ffmpeg:subtitles:font_too_large
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ffmpeg:subtitles:font_too_large [2025/03/08 23:57] – peter | ffmpeg: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 | ||
</ | </ | ||
Line 38: | Line 35: | ||
</ | </ | ||
+ | ---- | ||
+ | |||
+ | <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:< | ||
+ | 00: | ||
+ | <font size=" | ||
+ | </ | ||
+ | |||
+ | </ | ||
ffmpeg/subtitles/font_too_large.1741478274.txt.gz · Last modified: 2025/03/08 23:57 by peter