FFmpeg
|
tee.c File Reference
#include "libavutil/avutil.h"
#include "libavutil/avstring.h"
#include "libavutil/opt.h"
#include "avformat.h"
Include dependency graph for tee.c:
Go to the source code of this file.
Data Structures | |
struct | TeeContext |
Macros | |
#define | MAX_SLAVES 16 |
Typedefs | |
typedef struct TeeContext | TeeContext |
Functions | |
static int | parse_slave_options (void *log, char *slave, AVDictionary **options, char **filename) |
static int | open_slave (AVFormatContext *avf, char *slave, AVFormatContext **ravf) |
static void | close_slaves (AVFormatContext *avf) |
static int | tee_write_header (AVFormatContext *avf) |
static int | tee_write_trailer (AVFormatContext *avf) |
static int | tee_write_packet (AVFormatContext *avf, AVPacket *pkt) |
Variables | |
static const char *const | slave_delim = "|" |
static const char *const | slave_opt_open = "[" |
static const char *const | slave_opt_close = "]" |
static const char *const | slave_opt_delim = ":]" |
static const AVClass | tee_muxer_class |
AVOutputFormat | ff_tee_muxer |
Macro Definition Documentation
#define MAX_SLAVES 16 |
Definition at line 28 of file tee.c.
Referenced by tee_write_header().
Typedef Documentation
typedef struct TeeContext TeeContext |
Function Documentation
|
static |
Definition at line 157 of file tee.c.
Referenced by tee_write_header(), and tee_write_trailer().
|
static |
Definition at line 85 of file tee.c.
Referenced by tee_write_header().
|
static |
Definition at line 47 of file tee.c.
Referenced by open_slave().
|
static |
|
static |
|
static |
Variable Documentation
AVOutputFormat ff_tee_muxer |
Initial value:
= {
.name = "tee",
.long_name = NULL_IF_CONFIG_SMALL("Multiple muxer tee"),
.priv_data_size = sizeof(TeeContext),
.priv_class = &tee_muxer_class,
.flags = AVFMT_NOFILE,
}
static int tee_write_packet(AVFormatContext *avf, AVPacket *pkt)
Definition: tee.c:234
struct TeeContext TeeContext
static int write_packet(AVFormatContext *s, AVPacket *pkt)
Definition: libavformat/assenc.c:63
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: libavutil/internal.h:123
#define AVFMT_NOFILE
Demuxer will use avio_open, no opened file should be provided by the caller.
Definition: avformat.h:345
|
static |
Definition at line 36 of file tee.c.
Referenced by tee_write_header().
|
static |
Definition at line 38 of file tee.c.
Referenced by parse_slave_options().
|
static |
Definition at line 39 of file tee.c.
Referenced by parse_slave_options().
|
static |
Definition at line 37 of file tee.c.
Referenced by parse_slave_options().
|
static |
Initial value:
= {
.class_name = "Tee muxer",
.item_name = av_default_item_name,
.version = LIBAVUTIL_VERSION_INT,
}
Generated on Mon Nov 18 2024 06:52:09 for FFmpeg by 1.8.11