FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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)
 
char * font_name
 font face (case sensitive)
 
int font_size
 font height
 
int primary_color
 color that a subtitle will normally appear in
 
int secondary_color
 
int outline_color
 color for outline in ASS, called tertiary in SSA
 
int back_color
 color of the subtitle outline or shadow
 
int bold
 whether text is bold (1) or not (0)
 
int italic
 whether text is italic (1) or not (0)
 
int underline
 whether text is underlined (1) or not (0)
 
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)
 
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

char* ASSStyle::name

name of the tyle (case sensitive)

Definition at line 40 of file ass_split.h.

Referenced by ff_ass_style_get().

char* ASSStyle::font_name

font face (case sensitive)

Definition at line 41 of file ass_split.h.

Referenced by srt_style_apply().

int ASSStyle::font_size

font height

Definition at line 42 of file ass_split.h.

Referenced by srt_style_apply().

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().

int ASSStyle::secondary_color

Definition at line 44 of file ass_split.h.

int ASSStyle::outline_color

color for outline in ASS, called tertiary in SSA

Definition at line 45 of file ass_split.h.

int ASSStyle::back_color

color of the subtitle outline or shadow

Definition at line 46 of file ass_split.h.

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().

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().

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().

int ASSStyle::strikeout

Definition at line 50 of file ass_split.h.

float ASSStyle::scalex

Definition at line 51 of file ass_split.h.

float ASSStyle::scaley

Definition at line 52 of file ass_split.h.

float ASSStyle::spacing

Definition at line 53 of file ass_split.h.

float ASSStyle::angle

Definition at line 54 of file ass_split.h.

int ASSStyle::border_style

Definition at line 55 of file ass_split.h.

float ASSStyle::outline

Definition at line 56 of file ass_split.h.

float ASSStyle::shadow

Definition at line 57 of file ass_split.h.

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().

int ASSStyle::margin_l

Definition at line 61 of file ass_split.h.

int ASSStyle::margin_r

Definition at line 62 of file ass_split.h.

int ASSStyle::margin_v

Definition at line 63 of file ass_split.h.

int ASSStyle::alpha_level

Definition at line 64 of file ass_split.h.

int ASSStyle::encoding

Definition at line 65 of file ass_split.h.


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