Encode text. More...
Functions | |
| int | lqt_add_text_track (quicktime_t *file, int timescale) |
| Add a text track. | |
| void | lqt_set_text_language (quicktime_t *file, int track, const char *language) |
| Set the language for a text track. | |
| void | lqt_set_chapter_track (quicktime_t *file, int track) |
| Make a text track a chapter track. | |
| void | lqt_set_text_box (quicktime_t *file, int track, uint16_t top, uint16_t left, uint16_t bottom, uint16_t right) |
| Set the text box of a text track. | |
| void | lqt_set_text_fg_color (quicktime_t *file, int track, uint16_t r, uint16_t g, uint16_t b, uint16_t a) |
| Set the foreground color of a text track. | |
| void | lqt_set_text_bg_color (quicktime_t *file, int track, uint16_t r, uint16_t g, uint16_t b, uint16_t a) |
| Set the background color of a text track. | |
| int | lqt_write_text (quicktime_t *file, int track, const char *text, int64_t duration) |
| Write a text sample. | |
Encode text.
| int lqt_add_text_track | ( | quicktime_t * | file, | |
| int | timescale | |||
| ) |
Add a text track.
| file | A quicktime handle
|
| void lqt_set_text_language | ( | quicktime_t * | file, | |
| int | track, | |||
| const char * | language | |||
| ) |
Set the language for a text track.
| file | A quicktime handle
|
| void lqt_set_chapter_track | ( | quicktime_t * | file, | |
| int | track | |||
| ) |
Make a text track a chapter track.
| file | A quicktime handle
|
| void lqt_set_text_box | ( | quicktime_t * | file, | |
| int | track, | |||
| uint16_t | top, | |||
| uint16_t | left, | |||
| uint16_t | bottom, | |||
| uint16_t | right | |||
| ) |
Set the text box of a text track.
| file | A quicktime handle
|
| void lqt_set_text_fg_color | ( | quicktime_t * | file, | |
| int | track, | |||
| uint16_t | r, | |||
| uint16_t | g, | |||
| uint16_t | b, | |||
| uint16_t | a | |||
| ) |
Set the foreground color of a text track.
| file | A quicktime handle
|
| void lqt_set_text_bg_color | ( | quicktime_t * | file, | |
| int | track, | |||
| uint16_t | r, | |||
| uint16_t | g, | |||
| uint16_t | b, | |||
| uint16_t | a | |||
| ) |
Set the background color of a text track.
| file | A quicktime handle
|
| int lqt_write_text | ( | quicktime_t * | file, | |
| int | track, | |||
| const char * | text, | |||
| int64_t | duration | |||
| ) |
Write a text sample.
| file | A quicktime handle
|
1.6.3