ffmpeg:subtitles:convert_a_srt_subtitle_file_to_ass_format
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ffmpeg:subtitles:convert_a_srt_subtitle_file_to_ass_format [2024/12/30 19:58] – created peter | ffmpeg:subtitles:convert_a_srt_subtitle_file_to_ass_format [2024/12/30 22:50] (current) – peter | ||
---|---|---|---|
Line 4: | Line 4: | ||
ffmpeg -i subtitle.srt subtitle.ass | ffmpeg -i subtitle.srt subtitle.ass | ||
</ | </ | ||
+ | |||
+ | returns | ||
+ | |||
+ | <file bash subtitle.ass> | ||
+ | [Script Info] | ||
+ | ; Script generated by FFmpeg/ | ||
+ | ScriptType: v4.00+ | ||
+ | PlayResX: 384 | ||
+ | PlayResY: 288 | ||
+ | ScaledBorderAndShadow: | ||
+ | YCbCr Matrix: None | ||
+ | |||
+ | [V4+ Styles] | ||
+ | Format: Name, Fontname, Fontsize, PrimaryColour, | ||
+ | Style: Default, | ||
+ | |||
+ | [Events] | ||
+ | Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text | ||
+ | Dialogue: 0, | ||
+ | Dialogue: 0, | ||
+ | Dialogue: 0, | ||
+ | Dialogue: 0, | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Create a glow effect in ASS subs ===== | ||
+ | |||
+ | Add this line to prefix of every subtitles{\fade(200, | ||
+ | |||
+ | < | ||
+ | {\fade(200, | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | < | ||
+ | {\blur5\3c& | ||
+ | </ | ||
+ | |||
+ | This way you do not have to change the Style. | ||
+ | |||
+ | ---- | ||
+ | |||
+ | And via this way you can also let the Outline color transform from one to another: | ||
+ | |||
+ | < | ||
+ | {\blur5\3c& | ||
+ | </ | ||
+ | |||
ffmpeg/subtitles/convert_a_srt_subtitle_file_to_ass_format.1735588733.txt.gz · Last modified: 2024/12/30 19:58 by peter