#include <stdio.h>
#include <string.h>
#include <sys/stat.h>
#include "libavformat/avformat.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/mathematics.h"
Go to the source code of this file.
|
static int | usage (const char *argv0, int ret) |
|
static int | copy_tag (AVIOContext *in, AVIOContext *out, int32_t tag_name) |
|
static int | write_fragment (const char *filename, AVIOContext *in) |
|
static int | write_fragments (struct VideoFiles *files, int start_index, AVIOContext *in) |
|
static int | read_tfra (struct VideoFiles *files, int start_index, AVIOContext *f) |
|
static int | read_mfra (struct VideoFiles *files, int start_index, const char *file, int split) |
|
static int | get_private_data (struct VideoFile *vf, AVCodecContext *codec) |
|
static int | get_video_private_data (struct VideoFile *vf, AVCodecContext *codec) |
|
static int | handle_file (struct VideoFiles *files, const char *file, int split) |
|
static void | output_server_manifest (struct VideoFiles *files, const char *basename) |
|
static void | output_client_manifest (struct VideoFiles *files, const char *basename, int split) |
|
static void | clean_files (struct VideoFiles *files) |
|
int | main (int argc, char **argv) |
|
static int usage |
( |
const char * |
argv0, |
|
|
int |
ret |
|
) |
| |
|
static |
static int write_fragment |
( |
const char * |
filename, |
|
|
AVIOContext * |
in |
|
) |
| |
|
static |
static int read_mfra |
( |
struct VideoFiles * |
files, |
|
|
int |
start_index, |
|
|
const char * |
file, |
|
|
int |
split |
|
) |
| |
|
static |
static int handle_file |
( |
struct VideoFiles * |
files, |
|
|
const char * |
file, |
|
|
int |
split |
|
) |
| |
|
static |
static void output_server_manifest |
( |
struct VideoFiles * |
files, |
|
|
const char * |
basename |
|
) |
| |
|
static |
static void output_client_manifest |
( |
struct VideoFiles * |
files, |
|
|
const char * |
basename, |
|
|
int |
split |
|
) |
| |
|
static |
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |