Libass subtitles burning filter.
More...
#include <ass/ass.h>
#include "config.h"
#include "libavutil/avstring.h"
#include "libavutil/imgutils.h"
#include "libavutil/opt.h"
#include "libavutil/parseutils.h"
#include "drawutils.h"
#include "avfilter.h"
#include "internal.h"
#include "formats.h"
#include "video.h"
Go to the source code of this file.
◆ OFFSET
◆ FLAGS
◆ COMMON_OPTIONS
Value:
@ AV_OPT_TYPE_IMAGE_SIZE
offset must point to two consecutive integers
static const int16_t alpha[]
Definition at line 68 of file vf_subtitles.c.
◆ AR
#define AR |
( |
|
c | ) |
( (c)>>24) |
◆ AG
#define AG |
( |
|
c | ) |
(((c)>>16)&0xFF) |
◆ AB
#define AB |
( |
|
c | ) |
(((c)>>8) &0xFF) |
◆ AA
#define AA |
( |
|
c | ) |
((0xFF-(c)) &0xFF) |
◆ ass_log()
static void ass_log |
( |
int |
ass_level, |
|
|
const char * |
fmt, |
|
|
va_list |
args, |
|
|
void * |
ctx |
|
) |
| |
|
static |
◆ init()
◆ uninit()
◆ query_formats()
◆ config_input()
◆ overlay_ass_image()
◆ filter_frame()
◆ ass_libavfilter_log_level_map
const int ass_libavfilter_log_level_map[] |
|
static |
Initial value:= {
}
#define AV_LOG_DEBUG
Stuff which is only useful for libav* developers.
#define AV_LOG_WARNING
Something somehow does not look correct.
#define AV_LOG_FATAL
Something went wrong and recovery is not possible.
#define AV_LOG_VERBOSE
Detailed information.
#define AV_LOG_INFO
Standard information.
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
Definition at line 76 of file vf_subtitles.c.
Referenced by ass_log().
◆ ass_inputs
Initial value:= {
{
.name = "default",
.needs_writable = 1,
},
}
static int config_input(AVFilterLink *inlink)
static int filter_frame(AVFilterLink *inlink, AVFrame *picref)
Definition at line 203 of file vf_subtitles.c.
◆ ass_outputs
Initial value:= {
{
.name = "default",
},
}
Definition at line 214 of file vf_subtitles.c.