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()
◆ webvtt_read_close()
◆ options
◆ webvtt_demuxer_class
Initial value:= {
.class_name = "WebVTT demuxer",
}
Definition at line 209 of file webvttdec.c.
◆ ff_webvtt_demuxer
Initial value:= {
.p.name = "webvtt",
.p.extensions = "vtt",
}
Definition at line 216 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 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 FF_INFMT_FLAG_INIT_CLEANUP
For an FFInputFormat with this flag set read_close() needs to be called by the caller upon read_heade...
#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.
@ AV_OPT_TYPE_INT
Underlying C type is int.
static int read_probe(const AVProbeData *p)
@ AV_OPT_TYPE_CONST
Special option type for declaring named constants.