FFmpeg
|
#include "config.h"
#include "libavutil/avstring.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/mathematics.h"
#include "libavutil/opt.h"
#include "libavutil/time_internal.h"
#include "avc.h"
#include "avformat.h"
#include "avio_internal.h"
#include "internal.h"
#include "isom.h"
#include "os_support.h"
#include "url.h"
Go to the source code of this file.
Data Structures | |
struct | Segment |
struct | OutputStream |
struct | DASHContext |
Macros | |
#define | OFFSET(x) offsetof(DASHContext, x) |
#define | E AV_OPT_FLAG_ENCODING_PARAM |
Enumerations | |
enum | DASHTmplId { DASH_TMPL_ID_UNDEFINED = -1, DASH_TMPL_ID_ESCAPE, DASH_TMPL_ID_REP_ID, DASH_TMPL_ID_NUMBER, DASH_TMPL_ID_BANDWIDTH, DASH_TMPL_ID_TIME } |
Functions | |
static int | dash_write (void *opaque, uint8_t *buf, int buf_size) |
static void | set_codec_str (AVFormatContext *s, AVCodecContext *codec, char *str, int size) |
static void | dash_free (AVFormatContext *s) |
static void | output_segment_list (OutputStream *os, AVIOContext *out, DASHContext *c) |
static DASHTmplId | dash_read_tmpl_id (const char *identifier, char *format_tag, size_t format_tag_size, const char **ptr) |
static void | dash_fill_tmpl_params (char *dst, size_t buffer_size, const char *template, int rep_id, int number, int bit_rate, int64_t time) |
static char * | xmlescape (const char *str) |
static void | write_time (AVIOContext *out, int64_t time) |
static void | format_date_now (char *buf, int size) |
static int | write_manifest (AVFormatContext *s, int final) |
static int | dash_write_header (AVFormatContext *s) |
static int | add_segment (OutputStream *os, const char *file, int64_t time, int duration, int64_t start_pos, int64_t range_length, int64_t index_length) |
static void | write_styp (AVIOContext *pb) |
static void | find_index_range (AVFormatContext *s, const char *full_path, int64_t pos, int *index_length) |
static int | update_stream_extradata (AVFormatContext *s, OutputStream *os, AVCodecContext *codec) |
static int | dash_flush (AVFormatContext *s, int final, int stream) |
static int | dash_write_packet (AVFormatContext *s, AVPacket *pkt) |
static int | dash_write_trailer (AVFormatContext *s) |
Variables | |
static const AVOption | options [] |
static const AVClass | dash_class |
AVOutputFormat | ff_dash_muxer |
#define OFFSET | ( | x | ) | offsetof(DASHContext, x) |
#define E AV_OPT_FLAG_ENCODING_PARAM |
enum DASHTmplId |
Definition at line 99 of file dashenc.c.
Referenced by dash_write_header().
|
static |
Definition at line 108 of file dashenc.c.
Referenced by dash_write_header(), and update_stream_extradata().
|
static |
Definition at line 173 of file dashenc.c.
Referenced by dash_write_header(), and dash_write_trailer().
|
static |
Definition at line 196 of file dashenc.c.
Referenced by write_manifest().
|
static |
Definition at line 258 of file dashenc.c.
Referenced by dash_fill_tmpl_params().
|
static |
Definition at line 310 of file dashenc.c.
Referenced by dash_flush(), and dash_write_header().
|
static |
Definition at line 371 of file dashenc.c.
Referenced by write_manifest().
|
static |
Definition at line 411 of file dashenc.c.
Referenced by write_manifest().
|
static |
Definition at line 427 of file dashenc.c.
Referenced by write_manifest().
|
static |
Definition at line 438 of file dashenc.c.
Referenced by dash_flush(), and dash_write_header().
|
static |
|
static |
Definition at line 684 of file dashenc.c.
Referenced by dash_flush().
|
static |
Definition at line 718 of file dashenc.c.
Referenced by dash_flush().
|
static |
Definition at line 728 of file dashenc.c.
Referenced by dash_flush().
|
static |
Definition at line 751 of file dashenc.c.
Referenced by dash_write_packet().
|
static |
Definition at line 774 of file dashenc.c.
Referenced by dash_write_packet(), and dash_write_trailer().
|
static |
|
static |
|
static |
|
static |
AVOutputFormat ff_dash_muxer |