FFmpeg
Data Fields
ASSStyle Struct Reference

fields extracted from the [V4(+) Styles] section More...

#include <ass_split.h>

Data Fields

char * name
 name of the tyle (case sensitive) More...
 
char * font_name
 font face (case sensitive) More...
 
int font_size
 font height More...
 
int primary_color
 color that a subtitle will normally appear in More...
 
int secondary_color
 
int outline_color
 color for outline in ASS, called tertiary in SSA More...
 
int back_color
 color of the subtitle outline or shadow More...
 
int bold
 whether text is bold (1) or not (0) More...
 
int italic
 whether text is italic (1) or not (0) More...
 
int underline
 whether text is underlined (1) or not (0) More...
 
int strikeout
 
float scalex
 
float scaley
 
float spacing
 
float angle
 
int border_style
 
float outline
 
float shadow
 
int alignment
 position of the text (left, center, top...), defined after the layout of the numpad (1-3 sub, 4-6 mid, 7-9 top) More...
 
int margin_l
 
int margin_r
 
int margin_v
 
int alpha_level
 
int encoding
 

Detailed Description

fields extracted from the [V4(+) Styles] section

Definition at line 39 of file ass_split.h.

Field Documentation

◆ name

char* ASSStyle::name

name of the tyle (case sensitive)

Definition at line 40 of file ass_split.h.

Referenced by ff_ass_style_get().

◆ font_name

char* ASSStyle::font_name

font face (case sensitive)

Definition at line 41 of file ass_split.h.

Referenced by srt_style_apply().

◆ font_size

int ASSStyle::font_size

font height

Definition at line 42 of file ass_split.h.

Referenced by srt_style_apply().

◆ primary_color

int ASSStyle::primary_color

color that a subtitle will normally appear in

Definition at line 43 of file ass_split.h.

Referenced by srt_style_apply().

◆ secondary_color

int ASSStyle::secondary_color

Definition at line 44 of file ass_split.h.

◆ outline_color

int ASSStyle::outline_color

color for outline in ASS, called tertiary in SSA

Definition at line 45 of file ass_split.h.

◆ back_color

int ASSStyle::back_color

color of the subtitle outline or shadow

Definition at line 46 of file ass_split.h.

◆ bold

int ASSStyle::bold

whether text is bold (1) or not (0)

Definition at line 47 of file ass_split.h.

Referenced by srt_style_apply(), and webvtt_style_apply().

◆ italic

int ASSStyle::italic

whether text is italic (1) or not (0)

Definition at line 48 of file ass_split.h.

Referenced by srt_style_apply(), and webvtt_style_apply().

◆ underline

int ASSStyle::underline

whether text is underlined (1) or not (0)

Definition at line 49 of file ass_split.h.

Referenced by srt_style_apply(), and webvtt_style_apply().

◆ strikeout

int ASSStyle::strikeout

Definition at line 50 of file ass_split.h.

◆ scalex

float ASSStyle::scalex

Definition at line 51 of file ass_split.h.

◆ scaley

float ASSStyle::scaley

Definition at line 52 of file ass_split.h.

◆ spacing

float ASSStyle::spacing

Definition at line 53 of file ass_split.h.

◆ angle

float ASSStyle::angle

Definition at line 54 of file ass_split.h.

◆ border_style

int ASSStyle::border_style

Definition at line 55 of file ass_split.h.

◆ outline

float ASSStyle::outline

Definition at line 56 of file ass_split.h.

◆ shadow

float ASSStyle::shadow

Definition at line 57 of file ass_split.h.

◆ alignment

int ASSStyle::alignment

position of the text (left, center, top...), defined after the layout of the numpad (1-3 sub, 4-6 mid, 7-9 top)

Definition at line 58 of file ass_split.h.

Referenced by srt_style_apply().

◆ margin_l

int ASSStyle::margin_l

Definition at line 61 of file ass_split.h.

◆ margin_r

int ASSStyle::margin_r

Definition at line 62 of file ass_split.h.

◆ margin_v

int ASSStyle::margin_v

Definition at line 63 of file ass_split.h.

◆ alpha_level

int ASSStyle::alpha_level

Definition at line 64 of file ass_split.h.

◆ encoding

int ASSStyle::encoding

Definition at line 65 of file ass_split.h.


The documentation for this struct was generated from the following file: