Go to the source code of this file.
WebVTT subtitle demuxer
- See also
- http://dev.w3.org/html5/webvtt/
Definition in file webvttdec.c.
◆ SET_SIDE_DATA
Value: do { \
if (!buf) { \
goto end; \
} \
} \
} while (0)
◆ OFFSET
◆ KIND_FLAGS
◆ webvtt_probe()
◆ read_ts()
static int64_t read_ts |
( |
const char * |
s | ) |
|
|
static |
◆ webvtt_read_header()
◆ webvtt_read_packet()
◆ webvtt_read_seek()
static int webvtt_read_seek |
( |
AVFormatContext * |
s, |
|
|
int |
stream_index, |
|
|
int64_t |
min_ts, |
|
|
int64_t |
ts, |
|
|
int64_t |
max_ts, |
|
|
int |
flags |
|
) |
| |
|
static |
◆ webvtt_read_close()
◆ options
◆ webvtt_demuxer_class
Initial value:= {
.class_name = "WebVTT demuxer",
}
Definition at line 204 of file webvttdec.c.
◆ ff_webvtt_demuxer
Initial value:= {
.name = "webvtt",
.extensions = "vtt",
}
Definition at line 211 of file webvttdec.c.
it s the only field you need to keep assuming you have a context There is some magic you don t need to care about around this just let it vf default minimum maximum flags name is the option name
Filter the word “frame” indicates either a video frame or a group of audio as stored in an AVFrame structure Format for each input and each output the list of supported formats For video that means pixel format For audio that means channel sample they are references to shared objects When the negotiation mechanism computes the intersection of the formats supported at each end of a all references to both lists are replaced with a reference to the intersection And when a single format is eventually chosen for a link amongst the remaining all references to the list are updated That means that if a filter requires that its input and output have the same format amongst a supported all it has to do is use a reference to the same list of formats query_formats can leave some formats unset and return AVERROR(EAGAIN) to cause the negotiation mechanism toagain later. That can be used by filters with complex requirements to use the format negotiated on one link to set the formats supported on another. Frame references ownership and permissions
static float sub(float src0, float src1)
static av_cold int read_close(AVFormatContext *ctx)
it s the only field you need to keep assuming you have a context There is some magic you don t need to care about around this just let it vf type
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
#define LIBAVUTIL_VERSION_INT
static int read_header(FFV1Context *f)
const char * av_default_item_name(void *ptr)
Return the context name.
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
uint8_t * av_packet_new_side_data(AVPacket *pkt, enum AVPacketSideDataType type, size_t size)
Allocate new information of a packet.
static int read_probe(const AVProbeData *p)