|
FFmpeg
|
WebVTT subtitle demuxer. More...
#include "avformat.h"#include "demux.h"#include "internal.h"#include "subtitles.h"#include "libavutil/avstring.h"#include "libavutil/bprint.h"#include "libavutil/intreadwrite.h"#include "libavutil/opt.h"Go to the source code of this file.
Data Structures | |
| struct | WebVTTContext |
Macros | |
| #define | SET_SIDE_DATA(name, type) |
| #define | OFFSET(x) |
| #define | KIND_FLAGS AV_OPT_FLAG_SUBTITLE_PARAM|AV_OPT_FLAG_DECODING_PARAM |
Functions | |
| static int | webvtt_probe (const AVProbeData *p) |
| static int64_t | read_ts (const char *s) |
| static void | parse_timestamp_map (AVFormatContext *s, const char *p, AVRational time_base, int64_t *offset) |
| static int | webvtt_read_header (AVFormatContext *s) |
| static int | webvtt_read_packet (AVFormatContext *s, AVPacket *pkt) |
| static int | webvtt_read_seek (AVFormatContext *s, int stream_index, int64_t min_ts, int64_t ts, int64_t max_ts, int flags) |
| static int | webvtt_read_close (AVFormatContext *s) |
Variables | |
| static const AVOption | options [] |
| static const AVClass | webvtt_demuxer_class |
| const FFInputFormat | ff_webvtt_demuxer |
Referenced by webvtt_read_header().
| #define OFFSET | ( | x | ) |
Definition at line 246 of file webvttdec.c.
| #define KIND_FLAGS AV_OPT_FLAG_SUBTITLE_PARAM|AV_OPT_FLAG_DECODING_PARAM |
Definition at line 247 of file webvttdec.c.
|
static |
Definition at line 43 of file webvttdec.c.
|
static |
Definition at line 55 of file webvttdec.c.
Referenced by parse_timestamp_map(), and webvtt_read_header().
|
static |
Definition at line 65 of file webvttdec.c.
Referenced by webvtt_read_header().
|
static |
Definition at line 101 of file webvttdec.c.
|
static |
Definition at line 225 of file webvttdec.c.
|
static |
Definition at line 231 of file webvttdec.c.
|
static |
Definition at line 239 of file webvttdec.c.
|
static |
Definition at line 249 of file webvttdec.c.
|
static |
Definition at line 259 of file webvttdec.c.
| const FFInputFormat ff_webvtt_demuxer |
Definition at line 266 of file webvttdec.c.