locobastos / ass2srt-python

Another ass2srt program written in python 3.8
MIT License
0 stars 0 forks source link

Keep certains ass tags #4

Open locobastos opened 4 years ago

locobastos commented 4 years ago

The SRT NoTAG will have only text and nothing else. The SRT TAG will inherits of certain ASS TAG (but translated). Here the list of all tags (but sometimes shortcutted for space reason)

Description ASS tag SRT TAG tag
Italic \i1 \i0 <i> </i>
Bold \b1 \b0 \b<...> <b> </b>
Underline \u1 \u0 <u> </u>
Strikeout \s1 \s0
Border size \bord
Shadow distance \shad
Blur edges \be \blur
Font name \fn
Font size \fs
Font scale \fsc
Letter spacing \fsp
Text rotation \fr
Text shearing \fa
Font encoding \fe
Set color \c&H
Set alpha \a
Line alignment \an
Karaoke effect \k
Wrap style \q
Reset style \r
Set position \pos
Movement \move
Rotation origin \org
Fade \fad
Animated transform \t
Clip \clip
Drawing tags \p \pbo

Source: http://docs.aegisub.org/3.2/ASS_Tags/

locobastos commented 4 years ago

Also, I need to test what happen when we have credits subtitles.