File size: 1,849 Bytes
9cf661f e902a4a bd4ae0f 9cf661f bd4ae0f 9cf661f bd4ae0f 9cf661f e902a4a 9cf661f ae93c62 9cf661f e902a4a 9cf661f ae93c62 9cf661f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | # Style Definitions for ASS Subtitles
# Maps internal style names to ASS tag parameters
STYLES = {
"hormozi": {
"Fontname": "DejaVu Sans",
"Fontsize": 40,
"PrimaryColour": "&H00FFFF&",
"OutlineColour": "&H000000&",
"BackColour": "&H80000000&",
"Bold": -1,
"Italic": 0,
"BorderStyle": 1,
"Outline": 3.0,
"Shadow": 0,
"Alignment": 2,
"MarginL": 10,
"MarginR": 10,
"MarginV": 20,
# Word Level Animations
"active_anim": r"{\1c&H00FFFF&}{\fscx125\fscy125}", # Pop + Yellow
"inactive_anim": r"{\1c&HFFFFFF&}{\fscx100\fscy100}" # White + Normal
},
"netflix": {
"Fontname": "DejaVu Sans",
"Fontsize": 20,
"PrimaryColour": "&H1409E5&", # Red (BGR)
"OutlineColour": "&H000000&",
"BackColour": "&H80000000&",
"Bold": -1,
"Italic": 0,
"BorderStyle": 1,
"Outline": 0, # No border usually, maybe variable
"Shadow": 0,
"Alignment": 5,
"MarginL": 10,
"MarginR": 10,
"MarginV": 40,
"active_anim": r"{\1c&H1409E5&}",
"inactive_anim": r"{\1c&HFFFFFF&}"
},
"neon": {
"Fontname": "DejaVu Sans",
"Fontsize": 30,
"PrimaryColour": "&HFF00FF&", # Magenta
"OutlineColour": "&HFF00FF&", # Magenta Glow
"BackColour": "&H80000000&",
"Bold": -1,
"Italic": 0,
"BorderStyle": 1,
"Outline": 2.0,
"Shadow": 0,
"Alignment": 5,
"MarginL": 10,
"MarginR": 10,
"MarginV": 50,
# We simulate glow by using the blur tag in the Dialogue line
"active_anim": r"{\blur10\3c&HFF00FF&}",
"inactive_anim": r"{\blur0\3c&H000000&}"
}
}
|